[lucene4.10] 16/24: Updated debian/watch, integrated debian/orig-tar.sh for removing non-free bits
Hilko Bengen
bengen at moszumanska.debian.org
Thu Feb 5 22:59:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to branch master
in repository lucene4.10.
commit 09463533d55863aa7519dafbace391fc9c975fc1
Author: Hilko Bengen <bengen at debian.org>
Date: Sat Nov 8 15:33:12 2014 +0100
Updated debian/watch, integrated debian/orig-tar.sh for removing non-free bits
---
debian/orig-tar.sh | 12 ++++++++++++
debian/watch | 5 +++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..3ba7e45
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+# VERSION=$2
+FILE=$3
+
+zcat $FILE \
+ | tar --wildcards --delete -f - '*/tools/prettify*' \
+ | gzip -c > $FILE.t
+
+mv $FILE.t $FILE
diff --git a/debian/watch b/debian/watch
index 4571d4a..0b1a33f 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
version=3
-opts=dversionmangle=s/\+dfsg// \
-http://archive.apache.org/dist/lucene/java/(4\..*)/ lucene-(4\..*)-src.tgz
+opts=dversionmangle=s/\+dfsg//,uversionmangle=s/$/+dfsg/ \
+ http://archive.apache.org/dist/lucene/java/(4\..*)/ lucene-(4\..*)-src.tgz \
+ debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/lucene4.10.git
More information about the pkg-java-commits
mailing list