[jtharness] 07/24: Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jun 18 15:54:45 UTC 2015


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

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

commit 6cbfbdc125d6f1aed591d57620cf1886fda1d55f
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Sep 29 20:31:43 2014 +0000

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

diff --git a/debian/changelog b/debian/changelog
index cd8259e..664789f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ jtharness (4.4.0-MR1-Rel-b19-2) UNRELEASED; urgency=medium
     - Fixed the Vcs-Svn URL
     - Standards-Version updated to 3.9.6 (no changes)
   * Switch to debhelper level 9
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 29 Sep 2014 21:50:56 +0200
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index 5580e79..a65e81b 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -4,11 +4,11 @@ VERSION=$(dpkg-parsechangelog | sed -ne 's,^Version: \(.*\)-.*,\1,p')
 echo $VERSION
 UNDERSCOREVERSION=$( echo $VERSION | sed 's/\./_/g')
 FILE=$3
-TAR=../${SOURCE}_${VERSION}.orig.tar.bz2
+TAR=../${SOURCE}_${VERSION}.orig.tar.xz
 DIR=$SOURCE-$VERSION
 
 svn co https://svn.java.net/svn/jtharness~svn/tags/$SOURCE-$UNDERSCOREVERSION/code/ $DIR
-tar -jcf  $TAR  --exclude '*.svn*' $DIR
+tar -Jcf  $TAR  --exclude '*.svn*' $DIR
 rm -rf $DIR $FILE
 
 # move to directory 'tarballs'
@@ -18,4 +18,4 @@ if [ -r .svn/deb-layout ]; then
   echo "moved $TAR to $origDir"
 fi
 
-exit 0
\ No newline at end of file
+exit 0
diff --git a/debian/watch b/debian/watch
index 25bac10..20caf9f 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,3 @@
 version=3
 opts=uversionmangle=s/_([^-]+)/.$1.0/;s/bin/Rel/ \
-http://download.java.net/jtharness/download.html .*/jtharness-(.*)-.*\.zip \
-debian debian/orig-tar.sh
+http://download.java.net/jtharness/download.html .*/jtharness/([\d\.]+)/Rel/.*\.zip debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list