[maven-dependency-tree] 02/07: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Jun 24 06:55:36 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-tree.

commit 1a4fe6da8120e449291a8eebf782f9857143f39d
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Tue Jun 23 18:05:44 2015 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 27e344b..c62e228 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ maven-dependency-tree (1.2-5) UNRELEASED; urgency=low
   * Switch to debhelper level 9
   * debian/copyright: Updated the Format URI
   * Moved the package to Git
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Fri, 06 Dec 2013 00:54:45 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index b8d289a..6388453 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,12 +1,12 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../maven-dependency-tree_$VERSION.orig.tar.gz
+TAR=../maven-dependency-tree_$VERSION.orig.tar.xz
 DIR=maven-dependency-tree-$VERSION
 TAG=$(echo "maven-dependency-tree-$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
 
 # move to directory 'tarballs'
diff --git a/debian/rules b/debian/rules
index b76c54a..4a061cf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,4 +6,4 @@ include /usr/share/cdbs/1/class/maven.mk
 JAVA_HOME := /usr/lib/jvm/default-java
 
 get-orig-source:
-	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+	uscan --download-current-version --force-download --no-symlink

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



More information about the pkg-java-commits mailing list