From bab77a655f9de00d59535d6d87d5c1f8c0be086e Mon Sep 17 00:00:00 2001 From: Andreas Tille Date: Wed, 25 Jan 2017 14:41:18 +0100 Subject: [PATCH] Fix lintian overrides --- debian/changelog | 1 + debian/python-pysam-tests.lintian-overrides | 5 ++--- debian/python-pysam.lintian-overrides | 6 ++---- debian/python3-pysam.lintian-overrides | 6 +----- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/debian/changelog b/debian/changelog index a69df43..4a6951f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ python-pysam (0.10.0+ds-1) UNRELEASED; urgency=medium [ Andreas Tille ] * d/rules: Remove redundant get-orig-source target * hardening=+all + * Fix lintian overrides -- Afif Elghraoui Mon, 23 Jan 2017 19:13:47 -0800 diff --git a/debian/python-pysam-tests.lintian-overrides b/debian/python-pysam-tests.lintian-overrides index 112ff5b..9df6f84 100644 --- a/debian/python-pysam-tests.lintian-overrides +++ b/debian/python-pysam-tests.lintian-overrides @@ -1,6 +1,5 @@ -# This is an upstream-provided file. It's not created by the build process, -# so the timestamp will not change. -package-contains-timestamped-gzip usr/share/doc/python-pysam/tests/pysam_data/ex1.sam.gz # These files are intentionally empty to be used for testing zero-byte-file-in-doc-directory usr/share/doc/python-pysam/tests/cbcf_data/example_empty.vcf zero-byte-file-in-doc-directory usr/share/doc/python-pysam/tests/tabix_data/empty.bed.gz +# The duplicate is used for testing and needs to be there +duplicated-compressed-file usr/share/doc/python-pysam/tests/pysam_data/ex1.fa.gz diff --git a/debian/python-pysam.lintian-overrides b/debian/python-pysam.lintian-overrides index 76af28f..785680d 100644 --- a/debian/python-pysam.lintian-overrides +++ b/debian/python-pysam.lintian-overrides @@ -1,6 +1,4 @@ -# These are apparently false-positives. +# These are apparently false-positives # Inspection of the build logs shows that these are indeed compiled with # -D_FORTIFY_SOURCE=2 -hardening-no-fortify-functions usr/lib/python2.7/dist-packages/pysam/calignmentfile.x86_64-linux-gnu.so -hardening-no-fortify-functions usr/lib/python2.7/dist-packages/pysam/ctabix.x86_64-linux-gnu.so -hardening-no-fortify-functions usr/lib/python2.7/dist-packages/pysam/ctabixproxies.x86_64-linux-gnu.so +hardening-no-fortify-functions usr/lib/python2.7/dist-packages/pysam/lib*.so diff --git a/debian/python3-pysam.lintian-overrides b/debian/python3-pysam.lintian-overrides index d2a1cdd..288316d 100644 --- a/debian/python3-pysam.lintian-overrides +++ b/debian/python3-pysam.lintian-overrides @@ -1,8 +1,4 @@ # These are apparently false-positives # Inspection of the build logs shows that these are indeed compiled with # -D_FORTIFY_SOURCE=2 -hardening-no-fortify-functions usr/lib/python3/dist-packages/pysam/TabProxies.cpython-3* -hardening-no-fortify-functions usr/lib/python3/dist-packages/pysam/calignmentfile.cpython-3* -hardening-no-fortify-functions usr/lib/python3/dist-packages/pysam/calignedsegment.cpython-3* -hardening-no-fortify-functions usr/lib/python3/dist-packages/pysam/ctabix.cpython-3* -hardening-no-fortify-functions usr/lib/python3/dist-packages/pysam/ctabixproxies.cpython-3* +hardening-no-fortify-functions usr/lib/python3/dist-packages/pysam/lib*.so -- 2.30.2