svn commit: samba r14475 - in branches/SAMBA_3_0/packaging/RHEL: .

jerry at samba.org jerry at samba.org
Thu Mar 16 13:48:01 GMT 2006


Author: jerry
Date: 2006-03-16 13:48:01 +0000 (Thu, 16 Mar 2006)
New Revision: 14475

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14475

Log:
patch from Oliver Schulze L. <oliver at samera.com.py> for BUG 3580.  Make RHEL makerpms.sh script more verbose and add some additional options to the rpmbuild process
Modified:
   branches/SAMBA_3_0/packaging/RHEL/makerpms.sh.tmpl


Changeset:
Modified: branches/SAMBA_3_0/packaging/RHEL/makerpms.sh.tmpl
===================================================================
--- branches/SAMBA_3_0/packaging/RHEL/makerpms.sh.tmpl	2006-03-16 13:37:23 UTC (rev 14474)
+++ branches/SAMBA_3_0/packaging/RHEL/makerpms.sh.tmpl	2006-03-16 13:48:01 UTC (rev 14475)
@@ -11,6 +11,8 @@
 #   /usr/src/redhat directory
 #
 
+EXTRA_OPTIONS="$1"
+
 SPECDIR=`rpm --eval %_specdir`
 SRCDIR=`rpm --eval %_sourcedir`
 
@@ -39,7 +41,9 @@
 ( cd ../../source; if [ -f Makefile ]; then make distclean; fi )
 ( cd ../../.. ; chown -R ${USERID}.${GRPID} samba-${VERSION} )
 
+echo -n "Creating samba-${VERSION}.tar.bz2 ... "
 ( cd ../../.. ; tar --exclude=.svn -cf - samba-${VERSION}/. | bzip2 > ${SRCDIR}/samba-${VERSION}.tar.bz2 )
+echo "Done."
 
 ##
 ## copy additional source files
@@ -51,9 +55,9 @@
 ##
 ## Build
 ##
-echo Getting Ready to build release package
+echo "$(basename $0): Getting Ready to build release package"
 cd ${SPECDIR}
-${RPM} -ba --clean --rmsource $SPECFILE
+${RPM} -ba --clean --rmsource $EXTRA_OPTIONS $SPECFILE
 
-echo Done.
+echo "$(basename $0): Done."
 



More information about the samba-cvs mailing list