]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
use gzip --rsyncable for ctdb packages
authorAndrew Tridgell <tridge@samba.org>
Mon, 11 Jun 2007 02:30:32 +0000 (12:30 +1000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 11 Jun 2007 02:30:32 +0000 (12:30 +1000)
(This used to be ctdb commit 3102d4b8b9e47e9bffab1b6847b5f57a0aa71064)

ctdb/packaging/RPM/ctdb.spec
ctdb/packaging/RPM/makerpms.sh

index 6a443748ed6c6b8df96d132ae6da9a8120ad2480..4ec8b6df1339ada7a5b4e821468a2cf60008c53d 100644 (file)
@@ -5,13 +5,13 @@ Vendor: Samba Team
 Packager: Samba Team <samba@samba.org>
 Name: ctdb
 Version: 1.0
-Release: 4
+Release: 5
 Epoch: 0
 License: GNU GPL version 2
 Group: System Environment/Daemons
 URL: http://ctdb.samba.org/
 
-Source: ctdb-%{version}.tar.bz2
+Source: ctdb-%{version}.tar.gz
 
 Prereq: /sbin/chkconfig /bin/mktemp /usr/bin/killall
 Prereq: fileutils sed /etc/init.d
index a78e22d5a66047ee15412c4f0ecfacf307fbb88f..c267ed17e6b333a224f6bee5c7d0abd33358e8d0 100755 (executable)
@@ -59,8 +59,8 @@ if [ ! -d ctdb-${VERSION} ]; then
        ln -s $BASEDIR ctdb-${VERSION} || exit 1
        REMOVE_LN=$PWD/ctdb-$VERSION
 fi
-echo -n "Creating ctdb-${VERSION}.tar.bz2 ... "
-tar --exclude=.bzr --exclude .bzrignore --exclude="*~" -cf - ctdb-${VERSION}/. | bzip2 > ${SRCDIR}/ctdb-${VERSION}.tar.bz2
+echo -n "Creating ctdb-${VERSION}.tar.gz ... "
+tar --exclude=.bzr --exclude .bzrignore --exclude="*~" -cf - ctdb-${VERSION}/. | gzip -9 --rsyncable > ${SRCDIR}/ctdb-${VERSION}.tar.gz
 echo "Done."
 if [ $? -ne 0 ]; then
         echo "Build failed!"