git.samba.org
/
metze
/
ctdb
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
145b85c
)
makerpms: fix detection of support for --rsyncable flag in gzip.
author
Michael Adam
<obnox@samba.org>
Sat, 17 Jan 2009 15:18:02 +0000
(16:18 +0100)
committer
Michael Adam
<obnox@samba.org>
Sat, 17 Jan 2009 15:33:11 +0000
(16:33 +0100)
Michael
packaging/RPM/makerpms.sh
patch
|
blob
|
history
diff --git
a/packaging/RPM/makerpms.sh
b/packaging/RPM/makerpms.sh
index 3735b394d80ff944d2b149dce281a8b15db81993..37eca7de4618c29ee9fd2ccf209b31bf15f9083f 100755
(executable)
--- a/
packaging/RPM/makerpms.sh
+++ b/
packaging/RPM/makerpms.sh
@@
-28,7
+28,7
@@
RPMBUILD="rpmbuild"
VERSION=$(grep ^Version ${DIRNAME}/${SPECFILE} | sed -e 's/^Version:\ \+//')
RELEASE=$(grep ^Release ${DIRNAME}/${SPECFILE} | sed -e 's/^Release:\ \+//')
-if
gzip --rsyncable
2>&1 ; then
+if
echo | gzip -c --rsyncable - > /dev/null
2>&1 ; then
GZIP="gzip -9 --rsyncable"
else
GZIP="gzip -9"