From 8cb159314407752314e026c10d40e1b763754eaf Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Fri, 12 Jan 2018 12:46:30 +0100 Subject: [PATCH] add needed deep --- debian/control | 2 +- debian/rules | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/debian/control b/debian/control index a06fe97..2773d30 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: arcconf Section: admin Priority: optional Maintainer: Adam Cécile (Le_Vert) -Build-Depends: debhelper (>= 5) +Build-Depends: debhelper (>= 5), ${dist:Depends} Standards-Version: 3.9.3 Package: arcconf diff --git a/debian/rules b/debian/rules index 32a04f2..b04ed07 100755 --- a/debian/rules +++ b/debian/rules @@ -4,11 +4,14 @@ #export DH_VERBOSE=1 ifeq ($(DEB_BUILD_ARCH),amd64) - SUBSTVARS = -Vdist:Build-Depends="debhelper (>= 5), libc6-i386" + SUBSTVARS = -Vdist:Depends="libc6-i386" else - SUBSTVARS = -Vdist:Build-Depends="debhelper (>= 5)" + SUBSTVARS = -Vdist:Depends="libc6" endif +override_dh_gencontrol: + dh_gencontrol -- $(SUBSTVARS) + clean: dh_testdir dh_testroot @@ -124,7 +127,7 @@ binary-arch: build install dh_strip dh_installdeb LD_LIBRARY_PATH=$$(pwd)/debian/arcconf/usr/lib/arcconf:$${LD_LIBRARY_PATH} dh_shlibdeps - dh_gencontrol -- $(SUBSTVARS) + dh_gencontrol dh_md5sums dh_builddeb