From: Ondřej Surý Date: Thu, 6 Aug 2020 07:16:40 +0000 (+0200) Subject: Convert the package to dh compat level 10 X-Git-Tag: base_7.6~503 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=47ebc8336839ef098b7b93a40056b775a101bd6a;p=matthieu%2Ffrr.git Convert the package to dh compat level 10 There are couple of related changes: * Bump the debhelper dependency to the version at least in Debian Jessie * Drop the dh-autoreconf, autotools-dev dependency, this is automatically included. * Drop the --parallel, --with=systemd and --with=autoreconf, this is automatically enabled in dh compat level 10, add a --without=systemd when requested via build profile. --- diff --git a/debian/compat b/debian/compat index ec635144f6..f599e28b8a 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/debian/control b/debian/control index cd6a13812f..2e2825cfa9 100644 --- a/debian/control +++ b/debian/control @@ -5,12 +5,9 @@ Maintainer: David Lamparter Uploaders: FRRouting-dev , Ondřej Surý Build-Depends: - autotools-dev, bison, chrpath, - debhelper (>= 9), - debhelper (>= 9.20160709) | dh-systemd , - dh-autoreconf, + debhelper (>= 9.20150101), flex, gawk, install-info, diff --git a/debian/rules b/debian/rules index c8550ecb52..6cc03c378a 100755 --- a/debian/rules +++ b/debian/rules @@ -22,17 +22,17 @@ else endif ifeq ($(filter pkg.frr.nosystemd,$(DEB_BUILD_PROFILES)),) - DH_WITH_SYSTEMD=systemd, + DH_WITHOUT_SYSTEMD= CONF_SYSTEMD=--enable-systemd=yes else - DH_WITH_SYSTEMD= + DH_WITHOUT_SYSTEMD=--without=systemd CONF_SYSTEMD=--enable-systemd=no endif export PYTHON=python3 %: - dh $@ --with=$(DH_WITH_SYSTEMD)autoreconf --parallel + dh $@ $(DH_WITHOUT_SYSTEMD) override_dh_auto_configure: $(shell dpkg-buildflags --export=sh); \