[med-svn] r3258 - trunk/packages/plink/trunk/debian

tille at alioth.debian.org tille at alioth.debian.org
Tue Mar 31 20:38:49 UTC 2009


Author: tille
Date: 2009-03-31 20:38:49 +0000 (Tue, 31 Mar 2009)
New Revision: 3258

Modified:
   trunk/packages/plink/trunk/debian/README.source
   trunk/packages/plink/trunk/debian/get-orig-source
Log:
Remove gPLINK.jar from upstream source archive


Modified: trunk/packages/plink/trunk/debian/README.source
===================================================================
--- trunk/packages/plink/trunk/debian/README.source	2009-03-31 20:30:56 UTC (rev 3257)
+++ trunk/packages/plink/trunk/debian/README.source	2009-03-31 20:38:49 UTC (rev 3258)
@@ -1,3 +1,7 @@
 Mark of the ftpmasters has requested the gPLINK.jar to disappear. This
 seems like a rightous request of his since that file is produced by an
 independent package that still waits to be packaged.
+
+This removal will be automatically done if you are using the
+    debian/get-orig-source
+script to obtain the upstream tarball.

Modified: trunk/packages/plink/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/plink/trunk/debian/get-orig-source	2009-03-31 20:30:56 UTC (rev 3257)
+++ trunk/packages/plink/trunk/debian/get-orig-source	2009-03-31 20:38:49 UTC (rev 3258)
@@ -1,6 +1,8 @@
 #!/bin/sh
 # script to download and repack source package
 # Repackaging is needed because original archive is in zip format
+# and moreover gPLINK.jar has to be stripped from the tarball because
+# it is a binary without source
 
 BUILDTARBALLDEPENDS="unzip"
 missingdepends=`dpkg -l ${BUILDTARBALLDEPENDS} ${BUILDDEPS} | \
@@ -13,7 +15,6 @@
     exit -1
 fi
 
-set -x
 PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
 VERSION=`uscan --verbose --force-download | \
     grep "Newest version on remote site is .* local version is .*" | \
@@ -25,5 +26,7 @@
 
 UPSTREAMDIR="${PKG}-${VERSION}-src"
 unzip ../"$UPSTREAMDIR".zip
+rm -f "$UPSTREAMDIR"/gPLINK.jar
+
 GZIP=-9 tar -czf "$PKG"_"$VERSION".orig.tar.gz "$UPSTREAMDIR"
 rm -rf "$UPSTREAMDIR"




More information about the debian-med-commit mailing list