diff options
-rw-r--r-- | security/nss/pkg/linux/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/nss/pkg/linux/Makefile b/security/nss/pkg/linux/Makefile index a8c447c93..a4ecce510 100644 --- a/security/nss/pkg/linux/Makefile +++ b/security/nss/pkg/linux/Makefile @@ -44,7 +44,9 @@ CORE_DEPTH = ../../.. NAME = sun-nss -RELEASE = 2 +ifndef RPM_RELEASE +RPM_RELEASE = 1 +endif VERSION = `grep NSS_VERSION $(CORE_DEPTH)/../dist/public/nss/nss.h \ | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//'` PWD = `pwd` @@ -85,7 +87,7 @@ publish: echo "%define _topdir `pwd`" >temp.spec sed -e "s/NAME_REPLACE/$(NAME)/" \ -e "s/VERSION_REPLACE/$(VERSION)/" \ - -e "s/RELEASE_REPLACE/$(RELEASE)/" \ + -e "s/RELEASE_REPLACE/$(RPM_RELEASE)/" \ <$(NAME).spec >>temp.spec echo "" >>temp.spec echo "%files" >>temp.spec |