[Reproducible-commits] [dpkg] 26/37: dpkg-genbuildinfo: Use vendor hook instead of hardcoding build-essential
Jérémy Bobbio
lunar at moszumanska.debian.org
Sun Jan 31 16:28:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/buildinfo
in repository dpkg.
commit c9d96ef20c72cf14998390e6945f0608f86b77df
Author: Jérémy Bobbio <lunar at debian.org>
Date: Fri Jan 29 16:10:28 2016 +0000
dpkg-genbuildinfo: Use vendor hook instead of hardcoding build-essential
The 'builtin-build-depends' hook is there exactly for that purpose.
---
scripts/dpkg-genbuildinfo.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/dpkg-genbuildinfo.pl b/scripts/dpkg-genbuildinfo.pl
index 573b647..8eb5ced 100755
--- a/scripts/dpkg-genbuildinfo.pl
+++ b/scripts/dpkg-genbuildinfo.pl
@@ -40,6 +40,7 @@ use Dpkg::Changelog::Parse;
use Dpkg::Deps;
use Dpkg::Dist::Files;
use Dpkg::Version;
+use Dpkg::Vendor qw(run_vendor_hook);
textdomain('dpkg-dev');
@@ -282,7 +283,7 @@ my %env_pkgs;
# parse essential list
-append_deps(\%env_pkgs, @essential_pkgs, 'build-essential',
+append_deps(\%env_pkgs, @essential_pkgs, run_vendor_hook('builtin-build-depends'),
$control->get_source->{'Build-Depends'});
if ($include & BUILD_ARCH_DEP) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list