[pkg-java] r10052 - trunk/maven-install-plugin/debian

Ludovic Claude ludovicc-guest at alioth.debian.org
Fri Aug 14 21:48:47 UTC 2009


Author: ludovicc-guest
Date: 2009-08-14 21:48:47 +0000 (Fri, 14 Aug 2009)
New Revision: 10052

Modified:
   trunk/maven-install-plugin/debian/orig-tar.sh
   trunk/maven-install-plugin/debian/rules
Log:
* Remove all jars from source tarball to comply with DFSG

Modified: trunk/maven-install-plugin/debian/orig-tar.sh
===================================================================
--- trunk/maven-install-plugin/debian/orig-tar.sh	2009-08-14 21:35:53 UTC (rev 10051)
+++ trunk/maven-install-plugin/debian/orig-tar.sh	2009-08-14 21:48:47 UTC (rev 10052)
@@ -5,7 +5,7 @@
 TAG=maven-install-plugin-$2
 
 svn export http://svn.apache.org/repos/asf/maven/plugins/tags/$TAG $DIR
-tar -c -z -f $TAR $DIR
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR
 rm -rf $DIR ../$TAG
 
 # move to directory 'tarballs'

Modified: trunk/maven-install-plugin/debian/rules
===================================================================
--- trunk/maven-install-plugin/debian/rules	2009-08-14 21:35:53 UTC (rev 10051)
+++ trunk/maven-install-plugin/debian/rules	2009-08-14 21:48:47 UTC (rev 10052)
@@ -15,7 +15,7 @@
 API_DOCS             := target/api
 
 get-orig-source:
-	-uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+	-uscan --download-version $(VERSION) --force-download --rename
 
 binary-post-install/lib$(PACKAGE)-java::
 	mh_installpoms -plib$(PACKAGE)-java




More information about the pkg-java-commits mailing list