From f05ca0adb6aea775c5d548da4bb46c814df094d1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 24 Feb 2025 05:52:05 +0100 Subject: [PATCH] Updating glibc depends check to work with some porter architectures as well (Closes: #784134). Signed-off-by: Daniel Baumann --- debian/rules | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/debian/rules b/debian/rules index 2ec5912..7c00542 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,5 @@ #!/usr/bin/make -f -DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) - %: dh ${@} --parallel @@ -18,11 +16,7 @@ override_dh_builddeb: dh_builddeb -- -Zxz override_dh_gencontrol: -ifeq (kfreebsd,$(DEB_HOST_ARCH_OS)) - dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc0.1-dev))" -else - dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc6-dev))" -endif + dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc-dev-bin))" override_dh_strip: dh_strip --dbg-package=zutils-dbg