[med-svn] r18405 - trunk/packages/mrbayes/trunk/debian
Andreas Tille
tille at moszumanska.debian.org
Sat Oct 25 08:06:24 UTC 2014
Author: tille
Date: 2014-10-25 08:06:24 +0000 (Sat, 25 Oct 2014)
New Revision: 18405
Modified:
trunk/packages/mrbayes/trunk/debian/get-orig-source
trunk/packages/mrbayes/trunk/debian/rules
Log:
Fix get-orig-source target
Modified: trunk/packages/mrbayes/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/mrbayes/trunk/debian/get-orig-source 2014-10-25 07:40:07 UTC (rev 18404)
+++ trunk/packages/mrbayes/trunk/debian/get-orig-source 2014-10-25 08:06:24 UTC (rev 18405)
@@ -22,11 +22,17 @@
cd ../tarballs
TARDIR=${NAME}_${VERSION}
mv ../${NAME}-${VERSION}.tar.gz .
-tar -xzf ${NAME}-${VERSION}.tar.gz
+# tarball is lacking root dir in (since?) version 3.2.3
+mkdir -p ${TARDIR}
+cd ${TARDIR}
+tar -xzf ../${NAME}-${VERSION}.tar.gz
+cd ..
# remove PDF without source
rm -f ${TARDIR}/documentation/commref*.pdf
+find . -name "._*" -delete
+
# fetch sources for remaining doc from SVN into temporary dir
svn export https://svn.code.sf.net/p/mrbayes/code/documentation tmp
# remove unneeded stuff from documentation SVN
Modified: trunk/packages/mrbayes/trunk/debian/rules
===================================================================
--- trunk/packages/mrbayes/trunk/debian/rules 2014-10-25 07:40:07 UTC (rev 18404)
+++ trunk/packages/mrbayes/trunk/debian/rules 2014-10-25 08:06:24 UTC (rev 18405)
@@ -39,5 +39,6 @@
dh_compress --exclude=.pdf
get-orig-source:
- uscan --verbose --force-download --repack --compress xz
+ # uscan is really calling get-orig-source script since it fetchs additional files from svn
+ uscan --verbose --force-download
More information about the debian-med-commit
mailing list