diff --git a/mozilla/nsprpub/pkg/linux/Makefile.in b/mozilla/nsprpub/pkg/linux/Makefile.in index ed1e67824f7..a2e187e2471 100644 --- a/mozilla/nsprpub/pkg/linux/Makefile.in +++ b/mozilla/nsprpub/pkg/linux/Makefile.in @@ -2,7 +2,7 @@ # Copyright 2002 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -#ident "$Id: Makefile.in,v 1.2.6.13 2005-04-27 20:28:25 christophe.ravel.bugs%sun.com Exp $" +#ident "$Id: Makefile.in,v 1.2.6.14 2005-11-18 22:07:55 christophe.ravel.bugs%sun.com Exp $" # MOD_DEPTH = ../.. @@ -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)