[testng] 01/01: switched to orig-tar.sh in d/watch

Eugene Zhukov eugene-guest at moszumanska.debian.org
Fri Apr 25 10:11:37 UTC 2014


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

eugene-guest pushed a commit to branch master
in repository testng.

commit a9bbfd0e3f8e852bf026899504be6ad5bba8e0f2
Author: Eugene Zhukov <jevgeni.zh at gmail.com>
Date:   Fri Apr 25 10:11:10 2014 +0000

    switched to orig-tar.sh in d/watch
---
 debian/changelog   |  2 +-
 debian/copyright   |  1 -
 debian/orig-tar.sh | 14 ++++++++++++++
 debian/watch       |  2 +-
 4 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 265fedb..a838471 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,7 @@ testng (6.8.8-2) unstable; urgency=low
   * Description updated.
   * Switched from bsh (pulls in Java runtime) to libbsh-java dependency
     (Closes: #684427)
-  * Added Files-Excluded to d/copyright to exclude jquery-1.7.1.min.js
+  * Switched to orig-tar.sh in d/watch to exclude jquery-1.7.1.min.js
 
  -- Eugene Zhukov <jevgeni.zh at gmail.com>  Thu, 24 Apr 2014 08:53:40 +0000
 
diff --git a/debian/copyright b/debian/copyright
index 6b82a2f..741e4d0 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,7 +1,6 @@
 Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: TestNG
 Source: http://testng.org
-Files-Excluded: jquery-1.7.1.min.js
 
 Files: *
 Copyright: 2013, Cedric Beust
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..080970c
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../testng_$VERSION.orig.tar.xz
+DIR=testng-testng-$VERSION
+
+tar zxf $3
+rm -f $3
+XZ_OPT=--best tar cJf $TAR \
+	--exclude '*.jar' \
+	--exclude '*.class' \
+	--exclude 'src/main/resources/jquery-1.7.1.min.js' \
+	$DIR
+rm -rf $DIR
diff --git a/debian/watch b/debian/watch
index 2526667..bc0ea25 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 version=3
 opts=dversionmangle=s/(\d)[\+\.](?:dfsg|debian|ds)\.?\d*$/$1/ \
 https://github.com/cbeust/testng/tags \
-.*/archive/testng-(\d\S*)\.tar\.gz debian jh_repack
+.*/archive/testng-(\d\S*)\.tar\.gz debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list