diff options
author | christophe.ravel.bugs%sun.com <devnull@localhost> | 2005-11-18 22:07:55 +0000 |
---|---|---|
committer | christophe.ravel.bugs%sun.com <devnull@localhost> | 2005-11-18 22:07:55 +0000 |
commit | 989d944dfc3b856020e215c026823fe1d6d66391 (patch) | |
tree | f73aff6961da50ebc076f77296ea5cc6ebbf9e30 | |
parent | a767a909301f7db72c2736dd0778a0336100f9aa (diff) | |
download | nspr-hg-989d944dfc3b856020e215c026823fe1d6d66391.tar.gz |
238319: Sun packages changes.NSPR_4_5_BRANCH
RPM_RELEASE can be set from the command line.
-rw-r--r-- | pkg/linux/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/linux/Makefile.in b/pkg/linux/Makefile.in index 12f97ee9..940ecac8 100644 --- a/pkg/linux/Makefile.in +++ b/pkg/linux/Makefile.in @@ -11,7 +11,9 @@ srcdir = @srcdir@ VPATH = @srcdir@ NAME = sun-nspr -RELEASE = 5 +ifndef RPM_RELEASE +RPM_RELEASE = 1 +endif TOPDIR = /usr/src/redhat VERSION = `grep PR_VERSION $(dist_includedir)/prinit.h \ | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//'` @@ -30,7 +32,7 @@ publish: tar czvf SOURCES/$(NAME)-$(VERSION).tar.gz opt echo "%define name $(NAME)" >$(SPECFILE) echo "%define version $(VERSION)" >>$(SPECFILE) - echo "%define release $(RELEASE)" >>$(SPECFILE) + echo "%define release $(RPM_RELEASE)" >>$(SPECFILE) echo "%define buildroot `pwd`/$(NAME)-root" >>$(SPECFILE) echo "%define _topdir `pwd`" >>$(SPECFILE) cat $(srcdir)/$(NAME).spec >>$(SPECFILE) |