don't ship the .git directory in the srpm
authorAndrew Tridgell <tridge@samba.org>
Fri, 8 Feb 2008 02:22:47 +0000 (13:22 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 8 Feb 2008 02:22:47 +0000 (13:22 +1100)
packaging/RPM/makerpms.sh

index 97c2301a0ad4aa6b62cbc9bc054b74d20534947c..71c8db50e6732347ff4ecc1ed813cd70782c1dbd 100755 (executable)
@@ -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!"