mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r14475: patch from Oliver Schulze L. <oliver@samera.com.py> for BUG 3580. Make RHEL makerpms.sh script more verbose and add some additional options to the rpmbuild process
(This used to be commit 7d73973db1
)
This commit is contained in:
parent
962e42caa5
commit
a6da854a08
@ -11,6 +11,8 @@
|
||||
# /usr/src/redhat directory
|
||||
#
|
||||
|
||||
EXTRA_OPTIONS="$1"
|
||||
|
||||
SPECDIR=`rpm --eval %_specdir`
|
||||
SRCDIR=`rpm --eval %_sourcedir`
|
||||
|
||||
@ -39,7 +41,9 @@ esac
|
||||
( 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 @@ cp -p ${SPECFILE} ${SPECDIR}
|
||||
##
|
||||
## 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."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user