[maven-repository-builder] 16/20: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jul 19 12:10:05 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository maven-repository-builder.

commit 5529c6415eed74be4acca3af648287db094eea55
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jul 19 13:50:26 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 04887b7..e25ca57 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ maven-repository-builder (1.0~alpha2-4) UNRELEASED; urgency=medium
   * Moved the package to Git
   * Standards-Version updated to 4.0.0
   * Switch to debhelper level 10
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 19 Jul 2017 13:43:00 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 297112c..cab6bb8 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,10 +1,10 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../maven-repository-builder_$VERSION.orig.tar.gz
+TAR=../maven-repository-builder_$VERSION.orig.tar.xz
 DIR=maven-repository-builder-$VERSION
 TAG=$(echo "maven-repository-builder-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
 
 svn export http://svn.apache.org/repos/asf/maven/shared/tags/${TAG} $DIR
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
+XZ_OPT=--best tar -c -J -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
 rm -rf $DIR ../$TAG

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



More information about the pkg-java-commits mailing list