[med-svn] [SCM] bamtools branch, debian, updated. 3b2abe29f38aea02d07679540ccdc24596de66a3
Andreas Tille
tille at debian.org
Thu Nov 8 12:29:17 UTC 2012
The following commit has been merged in the debian branch:
commit 3b2abe29f38aea02d07679540ccdc24596de66a3
Author: Andreas Tille <tille at debian.org>
Date: Thu Nov 8 13:29:03 2012 +0100
Avoid specifying version number explicitely and rather fetch it from changelog
diff --git a/debian/rules b/debian/rules
index 447d951..41b39f8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,11 +20,11 @@ describe-current-version:
git describe --tags upstream | sed 's,^release-,,;s,-,+,;s,-,~,;'
TOPDIR=get-orig-source
-DIR=${TOPDIR}/bamtools-2.2
+DIR=${TOPDIR}/bamtools-${UPSTREAM}
get-orig-source:
mkdir -p ${DIR}
git clone git://github.com/pezmaster31/bamtools.git ${DIR}
- ( cd ${DIR}; git checkout bafc03f4ed7ed9ff1b3fb24874dc8a4a6d58e605; rm -R src/third_party; cd ..; tar --owner=root --group=root --mode=a+rX --exclude-vcs -caf ../bamtools_2.2.orig.tar.gz bamtools-2.2 )
+ ( cd ${DIR}; git checkout bafc03f4ed7ed9ff1b3fb24874dc8a4a6d58e605; rm -R src/third_party; cd ..; tar --owner=root --group=root --mode=a+rX --exclude-vcs -caf ../bamtools_${UPSTREAM}.orig.tar.gz bamtools-${UPSTREAM} )
rm -Rf ${TOPDIR}
--
debian packaging for bamtools
More information about the debian-med-commit
mailing list