From 1ff6e08f78d5121b975f2f0bcf11726ad7ea5b98 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 8 Feb 2008 13:22:47 +1100 Subject: [PATCH] don't ship the .git directory in the srpm (This used to be ctdb commit 0e88962c3f37eb38c4c6bfec918ce833b4481170) --- ctdb/packaging/RPM/makerpms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/packaging/RPM/makerpms.sh b/ctdb/packaging/RPM/makerpms.sh index 97c2301a0ad..71c8db50e67 100755 --- a/ctdb/packaging/RPM/makerpms.sh +++ b/ctdb/packaging/RPM/makerpms.sh @@ -60,7 +60,7 @@ ln -s $BASEDIR ctdb-${VERSION} || exit 1 REMOVE_LN=$PWD/ctdb-$VERSION echo -n "Creating ctdb-${VERSION}.tar.gz ... " -tar --exclude=.bzr --exclude .bzrignore --exclude="*~" --exclude=configure --exclude="test.db*" --exclude="#*" --exclude="push*.sh" --exclude="publish*.sh" -cf - ctdb-${VERSION}/. | gzip -9 --rsyncable > ${SRCDIR}/ctdb-${VERSION}.tar.gz +tar --exclude=.bzr --exclude=.git --exclude .bzrignore --exclude="*~" --exclude=configure --exclude="test.db*" --exclude="#*" --exclude="push*.sh" --exclude="publish*.sh" -cf - ctdb-${VERSION}/. | gzip -9 --rsyncable > ${SRCDIR}/ctdb-${VERSION}.tar.gz echo "Done." if [ $? -ne 0 ]; then echo "Build failed!"