[args4j] 02/05: Removed the unused jar files and the Eclipse project files from the upstream tarball Use XZ compression for the upstream tarball

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Mar 3 13:10:42 UTC 2014


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

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

commit 6667347927b1136a799f6cf9bc0e27f27b0b3237
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Mar 3 13:18:44 2014 +0100

    Removed the unused jar files and the Eclipse project files from the upstream tarball
    Use XZ compression for the upstream tarball
---
 debian/changelog   |  3 +++
 debian/orig-tar.sh | 17 +++++++++++++++++
 debian/watch       |  2 +-
 3 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 112dd5e..6fe413c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,9 @@ args4j (2.0.25-2) UNRELEASED; urgency=medium
 
   * Team upload.
   * Standards-Version upated to 3.9.5 (no changes)
+  * Removed the unused jar files and the Eclipse project files
+    from the upstream tarball
+  * Use XZ compression for the upstream tarball
 
  -- Emmanuel Bourg <ebourg at apache.org>  Mon, 03 Mar 2014 08:53:20 +0100
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..350a9d2
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+
+VERSION=$2
+DIR=args4j-args4j-site-${VERSION}
+TAR=../args4j_${VERSION}.orig.tar.xz
+
+tar -xf $3
+rm $3
+XZ_OPT=--best tar -c -v -J -f $TAR \
+    --exclude '*.jar' \
+    --exclude '*.zip' \
+    --exclude '*.settings' \
+    --exclude '*.classpath' \
+    --exclude '*.project' \
+    $DIR
+rm -Rf $DIR
diff --git a/debian/watch b/debian/watch
index 0a2b830..455f2ee 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \
-https://github.com/kohsuke/args4j/releases .*/args4j(?:-site)?-(.*).tar.gz
+https://github.com/kohsuke/args4j/releases .*/args4j(?:-site)?-(.*).tar.gz debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list