summaryrefslogtreecommitdiffstats
path: root/dh_gencontrol
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 10:17:26 +0000
commit36b03e2bee4497aef85033f4f900f5d89d5dc55e (patch)
treeec9a0e0972bd08cc628efaa53161b44f9361dd37 /dh_gencontrol
parentAdding debian version 13.16. (diff)
downloaddebhelper-36b03e2bee4497aef85033f4f900f5d89d5dc55e.tar.xz
debhelper-36b03e2bee4497aef85033f4f900f5d89d5dc55e.zip
Merging upstream version 13.17.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-xdh_gencontrol13
1 files changed, 12 insertions, 1 deletions
diff --git a/dh_gencontrol b/dh_gencontrol
index e06763c..09b769f 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -62,6 +62,9 @@ if (not compat(13)) {
require Dpkg::Control::Fields;
}
+# The `substvars` file ius not quite a pkgfile, but it works similar enough that people might
+# be surprised if it was not detected.
+# INTROSPECTABLE: CONFIG-FILES pkgfile(substvars)
on_pkgs_in_parallel {
foreach my $package (@_) {
@@ -72,7 +75,15 @@ on_pkgs_in_parallel {
my $substvars="debian/${ext}substvars";
- my $changelog=pkgfile($package, 'changelog', 1);
+ my $changelog = pkgfile(
+ {
+ 'internal-nameless-variant-handling' => 1,
+ 'named' => 0,
+ 'support-architecture-restriction' => 0,
+ },
+ $package,
+ 'changelog',
+ );
install_dir("$tmp/DEBIAN");