Rev 529: use gzip --rsyncable for ctdb packages in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Mon Jun 11 02:30:33 GMT 2007


------------------------------------------------------------
revno: 529
revision-id: tridge at samba.org-20070611023032-f67pjxzk1vf28thp
parent: tridge at samba.org-20070610234323-6s6a8kxjx9ki9nwk
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Mon 2007-06-11 12:30:32 +1000
message:
  use gzip --rsyncable for ctdb packages
modified:
  packaging/RPM/ctdb.spec        ctdb.spec-20070527204758-biuh7znabuwan3zn-3
  packaging/RPM/makerpms.sh      makerpms.sh-20070527204758-biuh7znabuwan3zn-4
=== modified file 'packaging/RPM/ctdb.spec'
--- a/packaging/RPM/ctdb.spec	2007-06-10 00:45:52 +0000
+++ b/packaging/RPM/ctdb.spec	2007-06-11 02:30:32 +0000
@@ -5,13 +5,13 @@
 Packager: Samba Team <samba at 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

=== modified file 'packaging/RPM/makerpms.sh'
--- a/packaging/RPM/makerpms.sh	2007-06-06 01:12:14 +0000
+++ b/packaging/RPM/makerpms.sh	2007-06-11 02:30:32 +0000
@@ -59,8 +59,8 @@
 	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!"



More information about the samba-cvs mailing list