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
This commit is contained 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)
|
||||
|
||||
Reference in New Issue
Block a user