[liboro-java] 11/37: * New version
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Jul 27 13:12:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository liboro-java.
commit baa7ae02aba7532ee0a525c605e9ae207fdffd7e
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date: Thu Jul 2 14:17:43 2009 +0000
* New version
---
debian/orig-tar.sh | 15 +++++++++++++++
debian/watch | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..db5fd8c
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=liboro-java-$2.orig
+TAR=../liboro-java_$2.orig.tar.gz
+VERSION=$(echo $2 | sed 's/a$//')
+
+# clean up the upstream tarball
+tar xvfz $3
+rm -f $3
+mv jakarta-oro-$VERSION $DIR
+GZIP=--best tar czf $TAR --exclude docs/api --exclude *.jar --exclude *.class $DIR
+rm -rf $DIR
+
+exit 0
diff --git a/debian/watch b/debian/watch
index 3a5c086..e6918e4 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
version=3
opts=dversionmangle=s/a$// \
- http://www.apache.org/dist/jakarta/oro/source/jakarta-oro-(.*).tar.gz debian uupdate
+ http://www.apache.org/dist/jakarta/oro/source/jakarta-oro-(.*).tar.gz debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/liboro-java.git
More information about the pkg-java-commits
mailing list