From 10defec3cb97d533eb5225b882800b25ccf03824 Mon Sep 17 00:00:00 2001 From: Tollef Fog Heen Date: Sun, 20 Apr 2014 08:35:33 +0200 Subject: [PATCH] Use grep-status to pull out package name of what provides libc-dev and use that when filling out built-using. Closes: #733570 --- debian/changelog | 2 ++ debian/control | 3 ++- debian/rules | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index d87d9e9..4850280 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ sash (3.8-1) unstable; urgency=medium * New upstream version. + * Use grep-status to pull out package name of what provides libc-dev and + use that when filling out built-using. Closes: #733570 -- Tollef Fog Heen Sun, 20 Apr 2014 08:23:04 +0200 diff --git a/debian/control b/debian/control index 4992332..302b6a3 100644 --- a/debian/control +++ b/debian/control @@ -5,7 +5,8 @@ Maintainer: Tollef Fog Heen Standards-Version: 3.9.4 Build-Depends: zlib1g-dev (>= 1:1.2.2-7), debhelper (>= 9), e2fslibs-dev [!kfreebsd-amd64 !kfreebsd-i386], - kfreebsd-kernel-headers [kfreebsd-amd64 kfreebsd-i386] + kfreebsd-kernel-headers [kfreebsd-amd64 kfreebsd-i386], + dctrl-tools Package: sash Architecture: any diff --git a/debian/rules b/debian/rules index 0903e46..7ff39ca 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,8 @@ pkgdir := `pwd`/debian/sash -BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W zlib1g-dev libc6-dev) +LIBC_DEV := $(shell grep-status -F Provides libc-dev -n -sPackage) +BUILT_USING := $(shell dpkg-query -f '$${source:Package} (= $${source:Version}), ' -W zlib1g-dev $(LIBC_DEV)) %: dh $@ -- 2.39.5