[pkg-java] r17638 - trunk/ant/debian

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jan 6 13:15:53 UTC 2014


Author: ebourg-guest
Date: 2014-01-06 13:15:53 +0000 (Mon, 06 Jan 2014)
New Revision: 17638

Modified:
   trunk/ant/debian/changelog
   trunk/ant/debian/orig-tar.sh
Log:
Use XZ compression for the upstream tarball



Modified: trunk/ant/debian/changelog
===================================================================
--- trunk/ant/debian/changelog	2014-01-06 13:11:54 UTC (rev 17637)
+++ trunk/ant/debian/changelog	2014-01-06 13:15:53 UTC (rev 17638)
@@ -4,6 +4,7 @@
   * Switch to debhelper level 9
   * Updated the description of 0008-junit4-replace-assumeFalse.patch
   * debian/rules: Improved the clean target to allow rebuilds
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 06 Jan 2014 09:47:00 +0100
 

Modified: trunk/ant/debian/orig-tar.sh
===================================================================
--- trunk/ant/debian/orig-tar.sh	2014-01-06 13:11:54 UTC (rev 17637)
+++ trunk/ant/debian/orig-tar.sh	2014-01-06 13:15:53 UTC (rev 17638)
@@ -2,11 +2,12 @@
 
 VERSION=$2
 ORIG_TAR=$3
-TAR=../ant_$VERSION.orig.tar.gz
+TAR=../ant_$VERSION.orig.tar.xz
 DIR=apache-ant-$VERSION
 
 tar xvzf $ORIG_TAR
-tar -c -z -f $TAR --exclude '*.jar' --exclude '*.pdf' $DIR
+rm $ORIG_TAR
+XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.pdf' $DIR
 rm -rf $DIR
 
 # move to directory 'tarballs'




More information about the pkg-java-commits mailing list