[Python-modules-commits] [pyscard] 02/04: Use hardening=+all

Ludovic Rousseau rousseau at moszumanska.debian.org
Fri Jan 5 13:50:35 UTC 2018


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository pyscard.

commit 55b12c0cae0f8cf06df455ecdd77162d926b452c
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Thu Jan 4 10:18:27 2018 +0100

    Use hardening=+all
    
    Fix lintian warning:
    I: python-pyscard: hardening-no-bindnow usr/lib/python2.7/dist-packages/smartcard/scard/_scard.x86_64-linux-gnu.so
    I: python3-pyscard: hardening-no-bindnow usr/lib/python3/dist-packages/smartcard/scard/_scard.cpython-36m-x86_64-linux-gnu.so
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 99cf750..3bce560 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,10 @@
 build3vers := $(shell py3versions -sv)
 build2vers := $(shell pyversions -sv)
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
 	dh $@ --with python3 --with python2
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pyscard.git



More information about the Python-modules-commits mailing list