diff options
author | wtchang%redhat.com <devnull@localhost> | 2006-02-07 19:33:12 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2006-02-07 19:33:12 +0000 |
commit | 7a266337b9f9c780ce141e4c6dbb01960d565510 (patch) | |
tree | 3444167bb074a02725ffc521a94ac9e6a11412b2 | |
parent | a28b8db6574718e3ad005d4ea75e989323d03fbf (diff) | |
download | nspr-hg-7a266337b9f9c780ce141e4c6dbb01960d565510.tar.gz |
238319: Sun packages changes.
RPM_RELEASE can be set from the command line.
(To sync up with NSPR_4_6_BRANCH. This file is not used by Mozilla.)
Tag: MOZILLA_1_8_BRANCH
-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 c2ef7e89..ebf62ea6 100644 --- a/pkg/linux/Makefile.in +++ b/pkg/linux/Makefile.in @@ -47,7 +47,9 @@ srcdir = @srcdir@ VPATH = @srcdir@ NAME = sun-nspr -RELEASE = 1 +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/ .*//'` @@ -76,7 +78,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) echo "%define _unpackaged_files_terminate_build 0" >>$(SPECFILE) |