Resolve lintian "duplicated-compressed-file"
authorAfif Elghraoui <afif@ghraoui.name>
Tue, 9 Jun 2015 06:58:02 +0000 (23:58 -0700)
committerAfif Elghraoui <afif@ghraoui.name>
Tue, 9 Jun 2015 06:58:02 +0000 (23:58 -0700)
tests/pysam_data/test.gtf and tests/pysam_data/test.gtf.gz in
the source distribution are two copies of the same thing. I
verified this by decompressing the latter and taking the diff of
the two. This patch prevents installing the provided compressed
version.

debian/rules

index 9f1f0530a215fe797e8293697671b6da37dcaa65..13004359412b57162b3f4975a50befcf07c1b897 100755 (executable)
@@ -13,6 +13,9 @@ export HTSLIB_INCLUDE_DIR=/usr/include
 %:
        LC_ALL=C.UTF-8 dh $@ --with python2,python3 --buildsystem=pybuild
 
+override_dh_install:
+       dh_install -Xtest.gtf.gz
+
 override_dh_auto_test:
 #nothing to test until pysam is installed.
 #test package is provided for both Python versions