Author: tille
Date: 2012-12-14 18:15:11 +0000 (Fri, 14 Dec 2012)
New Revision: 12622
Modified:
trunk/packages/libhmsbeagle/trunk/debian/get-orig-source
Log:
Use xz compression when repackaging
Modified: trunk/packages/libhmsbeagle/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/libhmsbeagle/trunk/debian/get-orig-source 2012-12-14
15:07:55 UTC (rev 12621)
+++ trunk/packages/libhmsbeagle/trunk/debian/get-orig-source 2012-12-14
18:15:11 UTC (rev 12622)
@@ -5,6 +5,7 @@
NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
UPSTREAMNAME=beagle
UPSTREAMLOC=${UPSTREAMNAME}-lib
+COMPRESSION=xz
if ! echo $@ | grep -q upstream-version ; then
VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed
's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
@@ -32,5 +33,5 @@
# Once we are about to remove something just kick the whole dir ...
rm -rf "${TARDIR}"/project
-GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -czf
"$NAME"_"$VERSION".orig.tar.gz "${TARDIR}"
+GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX
--exclude-vcs -caf "$NAME"_"$VERSION".orig.tar.${COMPRESSION} "${TARDIR}"
rm -rf "${TARDIR}"
_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit