From bed55df612863d6051bfa26fd34f5ed38c8db166 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 29 Apr 2003 15:54:26 +0000 Subject: remove 'devel' option to makerpms.sh.tmpl since we don't use it n the RH packaging anymore and make sure to run autogen.sh if configure doesn't exist (make building from CVS easier) (This used to be commit bfcdd769f5fd008bf8113c4fe82c3791bd354398) --- packaging/RedHat/makerpms.sh.tmpl | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'packaging/RedHat/makerpms.sh.tmpl') diff --git a/packaging/RedHat/makerpms.sh.tmpl b/packaging/RedHat/makerpms.sh.tmpl index 3c4ff40ddc..ee5ebd5040 100644 --- a/packaging/RedHat/makerpms.sh.tmpl +++ b/packaging/RedHat/makerpms.sh.tmpl @@ -60,27 +60,13 @@ esac ( cd ../../source; if [ -f Makefile ]; then make distclean; fi ) ( cd ../../.. ; chown -R ${USERID}.${GRPID} samba-${VERSION} ) -# We do this to make sure that the package always has the current version in it''s name -if [ z$1 = z"devel" ]; then - (cd ../../.. ; mv samba samba-${VERSION} ) -fi - ( cd ../../.. ; tar --exclude=CVS -cf - samba-${VERSION}/. | bzip2 > ${SRCDIR}/samba-${VERSION}.tar.bz2 ) cp -av samba.spec ${SPECDIR} -cp -av samba-devel.spec ${SPECDIR} -if [ z$1 = "zdevel" ]; then - echo Restoring source samba directory name - ( cd ../../.. ; mv samba-${VERSION} samba ) - echo Getting Ready to build Developmental Build - cd ${SPECDIR} - ${RPM} -ba -v samba-devel.spec -else - echo Getting Ready to build release package - cd ${SPECDIR} - ${RPM} -ba -v --clean --rmsource samba.spec -fi +echo Getting Ready to build release package +cd ${SPECDIR} +${RPM} -ba -v --clean --rmsource samba.spec echo Done. -- cgit