From a80bbc568413466f9f24f28e85825e1ddc27751d Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 23 Oct 2013 20:19:14 +0200 Subject: debian: Upgrade to debhelper 9 (and dpkg-buildflags) This gives us some more hardening, amongst other things. --- debian/compat | 2 +- debian/control | 2 +- debian/rules | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/compat b/debian/compat index 7f8f011e..ec635144 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/debian/control b/debian/control index 55837ac5..e79b58ce 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ XS-Python-Version: >= 2.6 X-Python3-Version: >= 3.1 Build-Depends: apt (>= 0.9.6), apt-utils, - debhelper (>= 7.3.5), + debhelper (>= 9), fakeroot, libapt-pkg-dev (>= 0.8.11), python-all-dev (>= 2.6.6-3~), diff --git a/debian/rules b/debian/rules index b2da3003..4a33c533 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,12 @@ #!/usr/bin/make -f # Should be include-links, but that somehow fails. export DEBVER=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') -export CFLAGS=-Wno-write-strings +export DEB_CFLAGS_MAINT_APPEND=-Wno-write-strings export PATH := $(CURDIR)/utils:$(PATH) export pyversions := $(CURDIR)/utils/pyversions %: - dh --with python2,python3 $@ + dh $@ --with python2,python3 override_dh_auto_build: dh_auto_build -- cgit v1.2.3