[pkg-java] r4492 - trunk/glassfish/debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Mon Oct 29 18:03:19 UTC 2007


Author: varun-guest
Date: 2007-10-29 18:03:19 +0000 (Mon, 29 Oct 2007)
New Revision: 4492

Added:
   trunk/glassfish/debian/orig-tar.exclude
Modified:
   trunk/glassfish/debian/orig-tar.sh
   trunk/glassfish/debian/watch
Log:
* Fix watch file and orig-tar.sh


Added: trunk/glassfish/debian/orig-tar.exclude
===================================================================
--- trunk/glassfish/debian/orig-tar.exclude	                        (rev 0)
+++ trunk/glassfish/debian/orig-tar.exclude	2007-10-29 18:03:19 UTC (rev 4492)
@@ -0,0 +1,4 @@
+*.jar
+*.war
+*.ear
+*.class

Modified: trunk/glassfish/debian/orig-tar.sh
===================================================================
--- trunk/glassfish/debian/orig-tar.sh	2007-10-29 16:35:45 UTC (rev 4491)
+++ trunk/glassfish/debian/orig-tar.sh	2007-10-29 18:03:19 UTC (rev 4492)
@@ -1,13 +1,13 @@
 #!/bin/sh -e
 
 # called by uscan with '--upstream-version' <version> <file>
-TAR=glassfish_$2.orig.tar.gz
+TAR=../glassfish_$2.orig.tar.gz
 DIR=glassfish-$2.orig
 
 # clean up the upstream tarball
 unzip $3
-mv glasfish $DIR
-tar -c -z -f $TAR --exclude '*.jar' $DIR
+mv glassfish $DIR
+GZIP=--best tar -c -z -f $TAR -X debian/orig-tar.exclude $DIR
 rm -rf $3 $DIR
 
 # move to directory 'tarballs'

Modified: trunk/glassfish/debian/watch
===================================================================
--- trunk/glassfish/debian/watch	2007-10-29 16:35:45 UTC (rev 4491)
+++ trunk/glassfish/debian/watch	2007-10-29 18:03:19 UTC (rev 4492)
@@ -1,3 +1,3 @@
 version=3
-opts="uversionmangle=s/-/+/,uversionmangle=s/^v//,dversionmangle=s/-/+/,dversionmangle=s/^v//" \
-http://download.java.net/javaee5/v2_branch/promoted/source/ glassfish-(.*)-src.zip debian debian/orig-tar.sh
+opts="uversionmangle=s/-/+/,dversionmangle=s/-/+/" \
+http://download.java.net/javaee5/v2_branch/promoted/source/ glassfish-v(.*)-src.zip debian debian/orig-tar.sh




More information about the pkg-java-commits mailing list