The following commit has been merged in the master branch:
commit 8ad034ce4112504d5a400177d1cf2b23f264a844
Author: James Page <james.p...@canonical.com>
Date:   Fri Oct 21 22:46:53 2011 +0100

    Updates for new tag name and deterministic orig-source behaviour

diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
index fa63bdd..39f1ce5 100755
--- a/debian/orig-tar.sh
+++ b/debian/orig-tar.sh
@@ -7,6 +7,9 @@ mkdir -p $DIR
 # Expand the upstream tarball
 tar -xzf $TAR -C $DIR --strip-components=1
 # Repack excluding stuff we don't need
-GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' \
-    --exclude 'CVS' --exclude '.svn' $DIR
+DATE="Fri Oct 21 12:29:52 BST 2011"
+tar -c --exclude '*.jar' --exclude '*.class' \
+  --exclude 'CVS' --exclude '.svn' --mtime="$DATE" $DIR | \
+  gzip -9fn -c - > $TAR
+
 rm -rf $DIR
diff --git a/debian/watch b/debian/watch
index c2fb01f..bfb49fb 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
 opts=dversionmangle=s/\.dfsg// \
-http://githubredir.debian.net/github/jenkinsci/json-lib/ (.+).tar.gz debian 
debian/orig-tar.sh
+http://githubredir.debian.net/github/jenkinsci/json-lib/ json-lib-(.+).tar.gz 
debian debian/orig-tar.sh

-- 
jenkins-json packaging

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to