From: Theodore Ts'o Date: Tue, 3 Jun 2025 23:06:37 +0000 (+0000) Subject: debian: add a Built-Using field to the e2fsck-static package X-Git-Tag: archive/debian/1.47.2-2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=759f458785828d366edad90a26d1431f420692dc;p=thirdparty%2Fe2fsprogs.git debian: add a Built-Using field to the e2fsck-static package We will probably want to eventually revert this commit and replace it with a change using dh-builtusing, such as can be found in [1], but dh-builtusing is only available in Debian 13 (trixie) and we don't want to make life difficult for people who need to backport to Debian Stable or Ubuntu LTS. [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106799#32 Addresses-Debian-Bug: #1106799 Signed-off-by: Theodore Ts'o (cherry picked from commit 41b400841b85dd7fb72fb0e605e33d7d7b146f71) --- diff --git a/debian/control b/debian/control index 1eb917f9..729726c6 100644 --- a/debian/control +++ b/debian/control @@ -46,6 +46,7 @@ Description: save the output of a command in a log file Package: e2fsck-static Build-Profiles: +Built-Using: ${misc:Built-Using} Priority: optional Depends: ${misc:Depends} Recommends: sash | bash-static | zsh-static | busybox-static diff --git a/debian/rules b/debian/rules index d449eca0..21328b2e 100755 --- a/debian/rules +++ b/debian/rules @@ -195,7 +195,7 @@ endif override_dh_gencontrol: dh_gencontrol -pcomerr-dev -- -v${COMERR_VERSION}-${DEB_VERSION} -VmainBinary=${DEB_VERSION} dh_gencontrol -pss-dev -- -v${SS_VERSION}-${DEB_VERSION} -VmainBinary=${DEB_VERSION} - dh_gencontrol --remaining-packages + dh_gencontrol --remaining-packages -- -Vmisc:Built-Using="$(shell dpkg-query -f '$${source:Package} (= $${source:Version})' -W libc-dev-bin)" override_dh_auto_test: ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))