[libjna-java] 01/01: Added a repack script to clean the upstream tarball
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Oct 14 21:42:02 BST 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libjna-java.
commit b1f0050f84a3745db38e70800f3ec8e352fe8588
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Oct 14 22:41:47 2014 +0200
Added a repack script to clean the upstream tarball
---
debian/changelog | 1 +
debian/orig-tar.sh | 21 +++++++++++++++++++++
debian/watch | 2 +-
3 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 95c1d63..b20d23f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ libjna-java (3.4.1-1) UNRELEASED; urgency=low
[ Emmanuel Bourg ]
* Moved libjnidispatch.so into its own new arch any libjna-jni package
* Install libjnidispatch.so in a multiarch path
+ * Added a repack script to clean the upstream tarball
* debian/control:
- Use canonical URLs for the Vcs-* fields
- Standards-Version updated to 3.9.6 (no changes)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..c064520
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+VERSION=$2
+TAR=../libjna-java_$VERSION.orig.tar.xz
+DIR=jna-$VERSION
+
+tar -xf $3
+rm $3
+
+XZ_OPT=--best tar -c -J -v -f $TAR \
+ --exclude '*.jar' \
+ --exclude 'native/libffi' \
+ --exclude '.classpath' \
+ --exclude '.project' \
+ --exclude '.travis.yml' \
+ --exclude 'www/*' \
+ --exclude 'dist/*' \
+ --exclude 'w32ce-test.lnk' \
+ $DIR
+
+rm -Rf $DIR
diff --git a/debian/watch b/debian/watch
index e517880..0fa6a71 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-https://github.com/twall/jna/tags .*/(\d[\d\.]+).tar.gz debian jh_repack
+https://github.com/twall/jna/tags .*/(\d[\d\.]+).tar.gz debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjna-java.git
More information about the pkg-java-commits
mailing list