summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristophe.ravel.bugs%sun.com <devnull@localhost>2005-11-18 21:51:42 +0000
committerchristophe.ravel.bugs%sun.com <devnull@localhost>2005-11-18 21:51:42 +0000
commitaa687874784b801d3152ded827732f4b44b06285 (patch)
tree8c6178ee81932b641b7e5761d657e679c5ca678e
parent3e0192dbb1e65c290c355357f3326f7e7bb4297a (diff)
downloadnss-hg-aa687874784b801d3152ded827732f4b44b06285.tar.gz
238319: Sun packages changes.
RPM_RELEASE can be set from the command line.
-rw-r--r--security/nss/pkg/linux/Makefile6
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