[maven-dependency-analyzer] 02/05: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jun 24 12:36:12 UTC 2015


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

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

commit 1e808b7b1639743a0a6fd1f57003fcc4bdc25609
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Wed Jun 24 10:25:45 2015 +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 c3b7c30..d3f4303 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ maven-dependency-analyzer (1.2-3) UNRELEASED; urgency=medium
   * Team upload.
   * Moved the package to Git
   * Standards-Version updated to 3.9.6 (no changes)
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Wed, 24 Jun 2015 10:08:02 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index bd969a4..f64a27e 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,11 +1,11 @@
 #!/bin/sh -e
 
-TAR=../maven-dependency-analyzer_$2.orig.tar.gz
+TAR=../maven-dependency-analyzer_$2.orig.tar.xz
 DIR=maven-dependency-analyzer-$2
 TAG=maven-dependency-analyzer-$2
 
 svn export http://svn.apache.org/repos/asf/maven/shared/tags/$TAG $DIR
-tar -c -z -f $TAR $DIR
+XZ_OPT=--best tar -c -J -f $TAR $DIR
 rm -rf $DIR ../$TAG
 
 # move to directory 'tarballs'

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



More information about the pkg-java-commits mailing list