[libquartz2-java] 41/63: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Apr 14 10:32:50 UTC 2016


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

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

commit 775c8ec5ab651b592daafffb68131cc4e266160a
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Oct 21 12:18:49 2015 +0200

    Use XZ compression for the upstream tarball
---
 debian/changelog        |  1 +
 debian/orig-tar.exclude |  1 +
 debian/orig-tar.sh      | 16 +++++-----------
 3 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2bb8a19..ffd3613 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ libquartz-java (1:1.7.3-6) UNRELEASED; urgency=medium
 
   * Team upload.
   * Standards-Version updated to 3.9.6 (no changes)
+  * Use XZ compression for the upstream tarball
   * Moved the package to Git
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 06 May 2015 14:28:36 +0200
diff --git a/debian/orig-tar.exclude b/debian/orig-tar.exclude
index ec34ae5..4a7ac23 100644
--- a/debian/orig-tar.exclude
+++ b/debian/orig-tar.exclude
@@ -1,3 +1,4 @@
 *.jar
 */docs/*
 */lib/*
+.settings
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 8e4501b..1cefa62 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -2,17 +2,11 @@
 
 # called by uscan with '--upstream-version' <version> <file>
 SVN=http://svn.terracotta.org/svn/quartz/tags
-TAR=../libquartz-java_$2.orig.tar.gz
-DIR=libquartz-java-$2.orig
+VERSION=$2
+TAR=../libquartz-java_$VERSION.orig.tar.xz
+DIR=libquartz-java-$VERSION.orig
 
 # clean up the upstream tarball
-svn export $SVN/quartz-$2 $DIR
-GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
+svn export $SVN/quartz-$VERSION $DIR
+XZ_OPT=--best tar -c -J -v -f $TAR -X debian/orig-tar.exclude $DIR
 rm -rf $3 $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/libquartz2-java.git



More information about the pkg-java-commits mailing list