diff options
author | Andrew Tridgell <tridge@samba.org> | 2007-06-11 12:30:32 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2007-06-11 12:30:32 +1000 |
commit | a45666039c049eb64754c2b1ed2fe27ae78e9f78 (patch) | |
tree | 75df2ec46c47db9f5d718c953e210c3fc0981686 /ctdb | |
parent | 2703ba210d236b3377743a2bc771b8128825acfe (diff) | |
download | samba-a45666039c049eb64754c2b1ed2fe27ae78e9f78.tar.gz samba-a45666039c049eb64754c2b1ed2fe27ae78e9f78.tar.xz samba-a45666039c049eb64754c2b1ed2fe27ae78e9f78.zip |
use gzip --rsyncable for ctdb packages
(This used to be ctdb commit 3102d4b8b9e47e9bffab1b6847b5f57a0aa71064)
Diffstat (limited to 'ctdb')
-rw-r--r-- | ctdb/packaging/RPM/ctdb.spec | 4 | ||||
-rwxr-xr-x | ctdb/packaging/RPM/makerpms.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/packaging/RPM/ctdb.spec b/ctdb/packaging/RPM/ctdb.spec index 6a443748ed..4ec8b6df13 100644 --- a/ctdb/packaging/RPM/ctdb.spec +++ b/ctdb/packaging/RPM/ctdb.spec @@ -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 diff --git a/ctdb/packaging/RPM/makerpms.sh b/ctdb/packaging/RPM/makerpms.sh index a78e22d5a6..c267ed17e6 100755 --- a/ctdb/packaging/RPM/makerpms.sh +++ b/ctdb/packaging/RPM/makerpms.sh @@ -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!" |