[commons-io] 39/47: Use XZ compression for the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Apr 26 10:54:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository commons-io.
commit 82d5587e023e60c100b670ea097e10abd8452adc
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Apr 26 10:28:07 2016 +0200
Use XZ compression for the upstream tarball
---
debian/changelog | 1 +
debian/orig-tar.sh | 12 ------------
debian/rules | 2 +-
debian/watch | 2 +-
4 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index effeb80..e1ce973 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ commons-io (2.4-2.1) UNRELEASED; urgency=low
[ Emmanuel Bourg ]
* Moved the package to Git
* Standards-Version updated to 3.9.8 (no changes)
+ * Use XZ compression for the upstream tarball
-- Kumar Appaiah <akumar at debian.org> Sat, 29 Mar 2014 15:41:28 -0400
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
deleted file mode 100755
index 5e89a71..0000000
--- a/debian/orig-tar.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh -e
-
-# called by uscan with '--upstream-version' <version> <file>
-UDIR=commons-io-$2-src
-DDIR=libcommons-io-java-$2.orig
-
-# Remove ^M CRLF line terminators
-tar -z -x -f $3
-mv $UDIR $DDIR
-(cd $DDIR; find -type f|xargs perl -pi -e 's/\r$//g')
-GZIP=--best tar -c -z -f $3 $DDIR
-rm -rf $DDIR $UDIR
diff --git a/debian/rules b/debian/rules
index e066330..f90ee5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,4 +18,4 @@ clean::
-rm -rf debian/tmp
get-orig-source:
- -uscan --upstream-version 0 --rename
+ uscan --download-current-version --rename --repack --compression xz
diff --git a/debian/watch b/debian/watch
index 2d76fdb..ca6915d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-http://www.apache.org/dist/commons/io/source/commons-io-(.*)-src\.tar\.gz debian debian/orig-tar.sh
+http://www.apache.org/dist/commons/io/source/commons-io-(.*)-src\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/commons-io.git
More information about the pkg-java-commits
mailing list