[med-svn] r19987 - trunk/packages/libsis-jhdf5-java/trunk/debian

Timothy Booth tbooth-guest at moszumanska.debian.org
Fri Aug 21 12:36:48 UTC 2015


Author: tbooth-guest
Date: 2015-08-21 12:36:47 +0000 (Fri, 21 Aug 2015)
New Revision: 19987

Added:
   trunk/packages/libsis-jhdf5-java/trunk/debian/get-orig-source
Modified:
   trunk/packages/libsis-jhdf5-java/trunk/debian/rules
Log:
Add get-orig-source based on the one Olivier put into sis-base


Added: trunk/packages/libsis-jhdf5-java/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/libsis-jhdf5-java/trunk/debian/get-orig-source	                        (rev 0)
+++ trunk/packages/libsis-jhdf5-java/trunk/debian/get-orig-source	2015-08-21 12:36:47 UTC (rev 19987)
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+set -e
+
+PKG=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
+
+VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
+
+cd ..
+mkdir -p tarballs
+cd tarballs
+
+rm -rf ${PKG}-${VERSION} ; mkdir ${PKG}-${VERSION} ; cd ${PKG}-${VERSION}
+svn export http://svncisd.ethz.ch/repos/cisd/jhdf5/tags/release/14.12.x/14.12.1/jhdf5/source
+svn export http://svncisd.ethz.ch/repos/cisd/jhdf5/tags/release/14.12.x/14.12.1/jhdf5/sourceTest
+cd ..
+
+tar --owner=root --group=root --mode=a+rX --exclude-vcs -caf "$PKG"_"$VERSION".orig.tar.xz "$PKG"-"$VERSION"
+rm -rf "$PKG"-"$VERSION"
+


Property changes on: trunk/packages/libsis-jhdf5-java/trunk/debian/get-orig-source
___________________________________________________________________
Added: svn:executable
   + *

Modified: trunk/packages/libsis-jhdf5-java/trunk/debian/rules
===================================================================
--- trunk/packages/libsis-jhdf5-java/trunk/debian/rules	2015-08-21 11:28:38 UTC (rev 19986)
+++ trunk/packages/libsis-jhdf5-java/trunk/debian/rules	2015-08-21 12:36:47 UTC (rev 19987)
@@ -20,9 +20,8 @@
 	# Stuff generated during testing
 	find sourceTest/java -name '*.class' -delete
 	cd sourceTest/java && rm -f *.hdf *.h5
-	rm -rf test-output
 	rm -f sourceTest/java/sourceTest/java/test/hdf5lib/h5ex_g_iterate.hdf
-	rm -rf targets/*
+	rm -rf test-output targets
 	#Things that we'd probably exclude from the orig.tar.gz anyway
 	rm -rf jsrc lib ./sourceTest/java/jni
 




More information about the debian-med-commit mailing list