[SCM] CTDB repository - branch master updated - ctdb-1.10-224-gc6bfba2
Michael Adam
obnox at samba.org
Fri Jul 22 07:50:42 MDT 2011
The branch, master has been updated
via c6bfba2bb66962b7b05d708f0747002700991472 (commit)
from a1b3661973489f0111e7975fec422fb99a25f0c8 (commit)
http://gitweb.samba.org/?p=ctdb.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit c6bfba2bb66962b7b05d708f0747002700991472
Author: Michael Adam <obnox at samba.org>
Date: Fri Jul 22 10:27:40 2011 +0200
packaging: honour rpm build target options handed in to makerpms.sh
This allows to call e.g. "makerpms.sh -bs" to build only the source RPM.
-----------------------------------------------------------------------
Summary of changes:
packaging/RPM/makerpms.sh | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/packaging/RPM/makerpms.sh b/packaging/RPM/makerpms.sh
index 266fcfb..370e7c8 100755
--- a/packaging/RPM/makerpms.sh
+++ b/packaging/RPM/makerpms.sh
@@ -105,7 +105,18 @@ cp -p ${DIRNAME}/${SPECFILE} ${SPECDIR}
## Build
##
echo "$(basename $0): Getting Ready to build release package"
-${RPMBUILD} -ba --clean --rmsource ${EXTRA_OPTIONS} ${SPECDIR}/${SPECFILE} || exit 1
+
+case ${EXTRA_OPTIONS} in
+ *-b*)
+ BUILD_TARGET=""
+ ;;
+ *)
+ BUILD_TARGET="-ba"
+ ;;
+esac
+
+
+${RPMBUILD} ${BUILD_TARGET} --clean --rmsource ${EXTRA_OPTIONS} ${SPECDIR}/${SPECFILE} || exit 1
echo "$(basename $0): Done."
--
CTDB repository
More information about the samba-cvs
mailing list