238319: Sun packages changes.
RPM_RELEASE can be set from the command line. git-svn-id: svn://10.0.0.236/branches/NSPR_4_5_BRANCH@184941 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained 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)
|
||||
|
||||
Reference in New Issue
Block a user