From 1fa034b2b2459cdafc8bf6ad84f0a6bc3424a0ac Mon Sep 17 00:00:00 2001 From: "christophe.ravel.bugs%sun.com" Date: Fri, 18 Nov 2005 21:54:17 +0000 Subject: [PATCH] 238319: Sun packages changes. RPM_RELEASE can be set from the command line. git-svn-id: svn://10.0.0.236/branches/NSPR_4_6_BRANCH@184938 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/pkg/linux/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mozilla/nsprpub/pkg/linux/Makefile.in b/mozilla/nsprpub/pkg/linux/Makefile.in index 6a0cd03ed5e..09fc3662664 100644 --- a/mozilla/nsprpub/pkg/linux/Makefile.in +++ b/mozilla/nsprpub/pkg/linux/Makefile.in @@ -38,7 +38,7 @@ # # ***** END LICENSE BLOCK ***** # -#ident "$Id: Makefile.in,v 1.8 2005-09-09 17:16:35 christophe.ravel.bugs%sun.com Exp $" +#ident "$Id: Makefile.in,v 1.8.2.1 2005-11-18 21:54:17 christophe.ravel.bugs%sun.com Exp $" # MOD_DEPTH = ../.. @@ -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)