diff options
author | wtchang%redhat.com <devnull@localhost> | 2005-11-21 22:29:04 +0000 |
---|---|---|
committer | wtchang%redhat.com <devnull@localhost> | 2005-11-21 22:29:04 +0000 |
commit | c950d5b34200151b83a29469a6c646d063bc0e8c (patch) | |
tree | 6e63f4ea475ad3fe0fcab256ccb8f6c11e50a547 | |
parent | bf27923bb9e0a7e1eabc01085428f28fca00ea51 (diff) | |
download | nspr-hg-c950d5b34200151b83a29469a6c646d063bc0e8c.tar.gz |
238319: Sun packages changes.
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 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) |