[med-svn] r11890 - in trunk/packages/spread-phy/trunk/debian: . scripts
Andreas Tille
tille at alioth.debian.org
Wed Jul 25 12:30:01 UTC 2012
Author: tille
Date: 2012-07-25 12:30:00 +0000 (Wed, 25 Jul 2012)
New Revision: 11890
Added:
trunk/packages/spread-phy/trunk/debian/scripts/spread-phy
Removed:
trunk/packages/spread-phy/trunk/debian/scripts/phy-spread
Modified:
trunk/packages/spread-phy/trunk/debian/changelog
trunk/packages/spread-phy/trunk/debian/copyright
trunk/packages/spread-phy/trunk/debian/get-orig-source
trunk/packages/spread-phy/trunk/debian/rules
Log:
Complete name change, fix get-orig-source target
Modified: trunk/packages/spread-phy/trunk/debian/changelog
===================================================================
--- trunk/packages/spread-phy/trunk/debian/changelog 2012-07-25 11:46:39 UTC (rev 11889)
+++ trunk/packages/spread-phy/trunk/debian/changelog 2012-07-25 12:30:00 UTC (rev 11890)
@@ -21,6 +21,8 @@
- Package is actually in science not non-free/science
* debian/manifest: reflect name change of *.jar file
* debhelper 9 (control+compat)
+ * debian/scripts: Follow name change of upstream
+ * debian/rules: Add get-orig-source target
-- Andreas Tille <tille at debian.org> Tue, 24 Jul 2012 16:13:49 +0200
Modified: trunk/packages/spread-phy/trunk/debian/copyright
===================================================================
--- trunk/packages/spread-phy/trunk/debian/copyright 2012-07-25 11:46:39 UTC (rev 11889)
+++ trunk/packages/spread-phy/trunk/debian/copyright 2012-07-25 12:30:00 UTC (rev 11890)
@@ -4,7 +4,7 @@
Source: https://github.com/phylogeography/SPREAD/downloads
Files: *
-Copyright: © 2004-2011 Filip Bielejec <filip.bielejec at rega.kuleuven.be>,
+Copyright: © 2004-2012 Filip Bielejec <filip.bielejec at rega.kuleuven.be>,
Andrew Rambaut <a.rambaut at ed.ac.uk>,
Marc A. Suchard <msuchard at gmail.com>,
Philippe Lemey
Modified: trunk/packages/spread-phy/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/spread-phy/trunk/debian/get-orig-source 2012-07-25 11:46:39 UTC (rev 11889)
+++ trunk/packages/spread-phy/trunk/debian/get-orig-source 2012-07-25 12:30:00 UTC (rev 11890)
@@ -1,6 +1,5 @@
#!/bin/sh
# unpack spread tarball to get rid of several binaries
-
set -e
NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'`
UPSTREAMNAME='Spread-phy'
@@ -9,7 +8,7 @@
VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'`
uscan --force-download
else
- VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${UPSTREAMNAME}.*?\1?"`
+ VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"`
if echo "$VERSION" | grep -q "upstream-version" ; then
echo "Unable to parse version number"
exit
Modified: trunk/packages/spread-phy/trunk/debian/rules
===================================================================
--- trunk/packages/spread-phy/trunk/debian/rules 2012-07-25 11:46:39 UTC (rev 11889)
+++ trunk/packages/spread-phy/trunk/debian/rules 2012-07-25 12:30:00 UTC (rev 11890)
@@ -16,3 +16,6 @@
# no idea why setting CLASSPATH explicitely this way, however patching
# build.xml and .classpath seems not to be sufficient
CLASSPATH=$(CLASSPATH) ant jar
+
+get-orig-source:
+ . debian/get-orig-source
Deleted: trunk/packages/spread-phy/trunk/debian/scripts/phy-spread
===================================================================
--- trunk/packages/spread-phy/trunk/debian/scripts/phy-spread 2012-07-25 11:46:39 UTC (rev 11889)
+++ trunk/packages/spread-phy/trunk/debian/scripts/phy-spread 2012-07-25 12:30:00 UTC (rev 11890)
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-DEBJAR="/usr/share/java"
-java -Xms64m -Xmx512m -jar /usr/share/java/spread.jar $*
Copied: trunk/packages/spread-phy/trunk/debian/scripts/spread-phy (from rev 11888, trunk/packages/spread-phy/trunk/debian/scripts/phy-spread)
===================================================================
--- trunk/packages/spread-phy/trunk/debian/scripts/spread-phy (rev 0)
+++ trunk/packages/spread-phy/trunk/debian/scripts/spread-phy 2012-07-25 12:30:00 UTC (rev 11890)
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+DEBJAR="/usr/share/java"
+NAME=`basename $0`
+java -Xms64m -Xmx512m -jar /usr/share/java/${NAME}.jar $*
More information about the debian-med-commit
mailing list