mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
use gzip --rsyncable for ctdb packages
(This used to be ctdb commit 3102d4b8b9e47e9bffab1b6847b5f57a0aa71064)
This commit is contained in:
parent
2703ba210d
commit
a45666039c
@ -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
|
||||
|
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user