[med-svn] [SCM] bamtools branch, debian, updated. 3b2abe29f38aea02d07679540ccdc24596de66a3

Andreas Tille tille at debian.org
Thu Nov 8 12:29:16 UTC 2012


The following commit has been merged in the debian branch:
commit 74bc7c086d7058dcbf862250f046cf7532446a5b
Author: Andreas Tille <tille at debian.org>
Date:   Thu Nov 8 13:22:34 2012 +0100

    Try to get some better reproducible orig.tar.gz.
    Remark: I really like the '-a' option of tar that enables you to specify compression simply by the extension of file name.  For example you get xz compression by simply specifying *.orig.tar.xz (well, the gain is 50kB = 25% - not much so leaving gz, but using '-a' makes sense regarding flexibility)

diff --git a/debian/rules b/debian/rules
index 65cf67a..447d951 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,6 @@ DIR=${TOPDIR}/bamtools-2.2
 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 czf ../bamtools_2.2.orig.tar.gz --exclude \.git 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_2.2.orig.tar.gz bamtools-2.2 )
 	rm -Rf ${TOPDIR}
 

-- 
debian packaging for bamtools



More information about the debian-med-commit mailing list