[doxia] 05/35: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Jul 28 11:19:13 UTC 2017


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

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

commit 85479c84e04769b6f5102e88ccd952a11cab2f37
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jul 27 19:47:04 2017 +0200

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

diff --git a/debian/changelog b/debian/changelog
index 55378e2..2f72e0d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ doxia (1.1.4-8) UNRELEASED; urgency=medium
     instead of libplexus-containers-java
   * 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>  Thu, 27 Jul 2017 13:59:31 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 750eccb..4d77c54 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -1,16 +1,10 @@
 #!/bin/sh -e
 
 VERSION=$2
-TAR=../doxia_$VERSION.orig.tar.gz
+TAR=../doxia_$VERSION.orig.tar.xz
 DIR=doxia-$VERSION
 TAG=$(echo "doxia-$VERSION" | sed -re's/~(alpha|beta)/-\1-/')
 
 svn export http://svn.apache.org/repos/asf/maven/doxia/doxia/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'
-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/doxia.git



More information about the pkg-java-commits mailing list