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

apo pushed a commit to branch master
in repository libjcommon-java.

commit 301e049e4a086346fe143a293002f68d38621b6b
Author: Torsten Werner <twer...@debian.org>
Date:   Mon Mar 22 20:54:17 2010 +0000

    * Now upstream release (Closes: #575016)
    * Add d/orig-tar.sh to clean up orig tarball after download.
---
 debian/changelog   |  9 +++++++--
 debian/orig-tar.sh | 15 +++++++++++++++
 debian/rules       |  8 +++-----
 debian/watch       |  3 ++-
 4 files changed, 27 insertions(+), 8 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 8182e8b..9826327 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,13 @@
-libjcommon-java (1.0.10.dfsg-2) UNRELEASED; urgency=low
+libjcommon-java (1.0.16-1) unstable; urgency=low
 
+  [ Matthias Klose ]
   * (Build-)depend on default-jre/-jdk.
 
- -- Matthias Klose <d...@debian.org>  Wed, 30 Jul 2008 17:50:49 +0000
+  [ Torsten Werner ]
+  * Now upstream release (Closes: #575016)
+  * Add d/orig-tar.sh to clean up orig tarball after download.
+
+ -- Torsten Werner <twer...@debian.org>  Mon, 22 Mar 2010 21:45:58 +0100
 
 libjcommon-java (1.0.10.dfsg-1) unstable; urgency=low
 
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..c0bf323
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+
+VERSION=$2
+TAR=../libjcommon-java_$VERSION.orig.tar.gz
+DIR=jcommon-$VERSION
+
+tar -x -z -f $TAR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir && echo "moved $TAR to $origDir"
+fi
diff --git a/debian/rules b/debian/rules
index de9031d..5111068 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,13 @@
 #!/usr/bin/make -f
-# debian/rules file for libjcommon-java (uses cdbs)
-LIBRARY_PACKAGE := jcommon
-API_VERSION     := 1.0.10
 
 # Add here any variable or target overrides you need
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-JAVA_HOME := /usr/lib/jvm/default-java
-ANT_HOME := /usr/share/ant
+JAVA_HOME       := /usr/lib/jvm/default-java
+LIBRARY_PACKAGE := jcommon
+API_VERSION     := $(DEB_UPSTREAM_VERSION)
 
 DEB_JARS := \
        junit \
diff --git a/debian/watch b/debian/watch
index 09d8f96..75b7832 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
 version=3
 opts=dversionmangle=s/[.+]dfsg// \
- http://sf.net/jfreechart/jcommon-([\d.]+)\.tar\.gz
+ http://sf.net/jfreechart/jcommon-([\d.]+)\.tar\.gz \
+ debian debian/orig-tar.sh

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

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

Reply via email to