[med-svn] r10121 - trunk/packages/libsbml/trunk/debian

Andreas Tille tille at alioth.debian.org
Wed Mar 28 12:47:53 UTC 2012


Author: tille
Date: 2012-03-28 12:47:53 +0000 (Wed, 28 Mar 2012)
New Revision: 10121

Modified:
   trunk/packages/libsbml/trunk/debian/README.source
   trunk/packages/libsbml/trunk/debian/changelog
   trunk/packages/libsbml/trunk/debian/rules
Log:
Fix get-orig-source target and remove hints from README.source how to do this manually


Modified: trunk/packages/libsbml/trunk/debian/README.source
===================================================================
--- trunk/packages/libsbml/trunk/debian/README.source	2012-03-28 12:43:56 UTC (rev 10120)
+++ trunk/packages/libsbml/trunk/debian/README.source	2012-03-28 12:47:53 UTC (rev 10121)
@@ -1,9 +1,3 @@
-Having downloaded the .zip file, one needs to repack it as .bzip2
-
-	unzip libsbml-5.1.0-b0-src.zip
-	cd libsbml-5.1.0-b0
-	tar cvzf ../libsbml5_5.0.99.tar.gz .
-
 The build process is overly sensitive to the version of doxygen used
 	docTree.patch  - do not depend on doxygen's tree.html file
 and the Java documentation is basically not buildable, which is why

Modified: trunk/packages/libsbml/trunk/debian/changelog
===================================================================
--- trunk/packages/libsbml/trunk/debian/changelog	2012-03-28 12:43:56 UTC (rev 10120)
+++ trunk/packages/libsbml/trunk/debian/changelog	2012-03-28 12:47:53 UTC (rev 10121)
@@ -9,8 +9,14 @@
     - Added Homepage field
     - Versioned debhelper dependency
   * debian/compat: 8
-  * debian/rules: remove useless dh_make boilerplate
+  * debian/rules:
+     - remove useless dh_make boilerplate
+     - adapt get-orig-source target to what is written
+       in README.source and removed older repackaging
+       code
   * mv debian/README.Debian-source debian/README.source
+  * delete advise about how to get the source traball in favour
+    of the code written in debian/rules:get-orig-source target
 
  -- Andreas Tille <tille at debian.org>  Wed, 28 Mar 2012 14:38:12 +0200
 

Modified: trunk/packages/libsbml/trunk/debian/rules
===================================================================
--- trunk/packages/libsbml/trunk/debian/rules	2012-03-28 12:43:56 UTC (rev 10120)
+++ trunk/packages/libsbml/trunk/debian/rules	2012-03-28 12:47:53 UTC (rev 10121)
@@ -38,11 +38,7 @@
 BIND_MATLAB := $(shell which matlab | grep -q matlab && echo '--with-matlab')
 
 get-orig-source:
-	rm -rf $(SRC_TMP) && mkdir $(SRC_TMP)
-	[ -f ../libsbml-$(version)-src.tar.gz ] ||  wget -O ../libsbml-$(version)-src.tar.gz http://qa.debian.org/watch/sf.php/sbml/libsbml-$(version)-src.tar.gz
-	cd $(SRC_TMP) && tar -xzf ../../libsbml-$(version)-src.tar.gz
-	cd $(SRC_TMP)/ && tar --owner=root --group=root -czf ../../libsbml_$(version).orig.tar.gz libsbml-$(version)
-	rm -rf $(SRC_TMP)
+	uscan --verbose --force-download --repack
 
 config.status: configure
 	dh_testdir




More information about the debian-med-commit mailing list