[pkg-java] r11928 - trunk/geronimo-activation-1.1-spec/debian

Torsten Werner twerner at alioth.debian.org
Thu Mar 25 22:29:07 UTC 2010


Author: twerner
Date: 2010-03-25 22:29:06 +0000 (Thu, 25 Mar 2010)
New Revision: 11928

Added:
   trunk/geronimo-activation-1.1-spec/debian/orig-tar.sh
   trunk/geronimo-activation-1.1-spec/debian/watch
Modified:
   trunk/geronimo-activation-1.1-spec/debian/changelog
   trunk/geronimo-activation-1.1-spec/debian/rules
Log:
* New upstream release.
* Add d/watch.

Modified: trunk/geronimo-activation-1.1-spec/debian/changelog
===================================================================
--- trunk/geronimo-activation-1.1-spec/debian/changelog	2010-03-25 22:19:07 UTC (rev 11927)
+++ trunk/geronimo-activation-1.1-spec/debian/changelog	2010-03-25 22:29:06 UTC (rev 11928)
@@ -1,11 +1,13 @@
-geronimo-activation-1.1-spec (1.0.1-1) unstable; urgency=low
+geronimo-activation-1.1-spec (1.0.2-1) unstable; urgency=low
 
+  * New upstream release.
   * Change Maintainer: Debian Java Maintainers.
   * Change Section: java.
   * Add myself to Uploaders.
   * Update Standards-Version: 3.8.4 (no changes).
+  * Add d/watch.
 
- -- Torsten Werner <twerner at debian.org>  Thu, 25 Mar 2010 23:17:25 +0100
+ -- Torsten Werner <twerner at debian.org>  Thu, 25 Mar 2010 23:28:55 +0100
 
 geronimo-activation-1.1-spec (1.0.1-0ubuntu1) jaunty; urgency=low
 

Added: trunk/geronimo-activation-1.1-spec/debian/orig-tar.sh
===================================================================
--- trunk/geronimo-activation-1.1-spec/debian/orig-tar.sh	                        (rev 0)
+++ trunk/geronimo-activation-1.1-spec/debian/orig-tar.sh	2010-03-25 22:29:06 UTC (rev 11928)
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+SVN=https://svn.apache.org/repos/asf/geronimo/specs/tags
+TAR=../geronimo-activation-1.1-spec_$2.orig.tar.gz
+DIR=geronimo-activation-1.1-spec
+
+# clean up the upstream tarball
+svn export $SVN/geronimo-activation_1.1_spec-$2 $DIR
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $3 $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi


Property changes on: trunk/geronimo-activation-1.1-spec/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/geronimo-activation-1.1-spec/debian/rules
===================================================================
--- trunk/geronimo-activation-1.1-spec/debian/rules	2010-03-25 22:19:07 UTC (rev 11927)
+++ trunk/geronimo-activation-1.1-spec/debian/rules	2010-03-25 22:29:06 UTC (rev 11928)
@@ -20,12 +20,7 @@
                         -DtargetVersion=$(REQUIRED_JVM_VERSION)
 
 get-orig-source:
-	echo "Getting version $(VERSION) from $(SVN)"
-	mkdir orig_tmp
-	cd orig_tmp && \
-		svn export -q $(ASFREPO) $(PACKAGE)-$(VERSION) && \
-		tar czf ../../$(PACKAGE)_$(VERSION).orig.tar.gz $(PACKAGE)-$(VERSION)
-	rm -rf orig_tmp
+	uscan --force-download
 
 binary-post-install/lib$(PACKAGE)-java::
 	dh_install -plib$(PACKAGE)-java build/$(PACKAGE)-$(VERSION).jar usr/share/java

Added: trunk/geronimo-activation-1.1-spec/debian/watch
===================================================================
--- trunk/geronimo-activation-1.1-spec/debian/watch	                        (rev 0)
+++ trunk/geronimo-activation-1.1-spec/debian/watch	2010-03-25 22:29:06 UTC (rev 11928)
@@ -0,0 +1,3 @@
+version=3
+https://svn.apache.org/repos/asf/geronimo/specs/tags \
+  geronimo-activation_1.1_spec-([\d.]+)/ debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list