[libxalan2-java] 58/71: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Oct 13 15:38:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libxalan2-java.

commit 94065e0ba749a33653d270e643cd50747baad2e1
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Sep 28 09:03:29 2015 +0200

    Use XZ compression for the upstream tarball
---
 debian/changelog   |  1 +
 debian/orig-tar.sh | 15 ++++-----------
 2 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ebd7e01..4447c43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ libxalan2-java (2.7.1-10) UNRELEASED; urgency=medium
   * debian/control:
     - Standards-Version updated to 3.9.6 (no changes)
   * Moved the package to Git
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 28 Sep 2015 08:53:38 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 2561cda..8122e5b 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,19 +1,12 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../libxalan2-java_$VERSION.orig.tar.gz
+TAR=../libxalan2-java_$VERSION.orig.tar.xz
 DIR=libxalan2-java-$VERSION
 
 mkdir $DIR
-tar -x -v -z -f $TAR $DIR
+tar -xf $3 --strip-components=1 -C $DIR
+rm $3
 dos2unix $DIR/build.xml
-rm $TAR
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
+XZ_OPT=--best tar -c -v -J -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
 rm -r $DIR
-
-# move to directory 'tarballs'
-if [ -r .svn/deb-layout ]; then
-  . .svn/deb-layout
-  mv $TAR $origDir
-  echo "moved $TAR to $origDir"
-fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libxalan2-java.git



More information about the pkg-java-commits mailing list