Bug#981014: libdebian-source-perl: fails to parse binary package stanza Build-Profiles
Helmut Grohne
helmut at subdivi.de
Mon Jan 25 16:02:33 GMT 2021
Package: libdebian-source-perl
Version: 0.114
Severity: important
Tags: patch
Control: affects -1 + dh-elpa
When attempting to add build profiles to a package that uses dh-elpa
(and thus libdebian-source-perl), the build fails, because the
Build-Profiles field is rejected. Once one teaches libdebian-source-perl
about the field name, it resumes operation. This presently makes dh-elpa
and build profiles incompatible. I think it would be good to fix this
before bullseye. Is that possible? Attaching a patch for your
convenience.
Helmut
-------------- next part --------------
diff --minimal -Nru dh-make-perl-0.114/debian/changelog dh-make-perl-0.114+nmu1/debian/changelog
--- dh-make-perl-0.114/debian/changelog 2021-01-06 01:41:27.000000000 +0100
+++ dh-make-perl-0.114+nmu1/debian/changelog 2021-01-25 14:41:28.000000000 +0100
@@ -1,3 +1,10 @@
+dh-make-perl (0.114+nmu1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Support binary control field Build-Profiles. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Mon, 25 Jan 2021 14:41:28 +0100
+
dh-make-perl (0.114) unstable; urgency=medium
* Update Standards-Version to 4.5.1 for dh-make-perl itself, for created
diff --minimal -Nru dh-make-perl-0.114/lib/Debian/Control/Stanza/Binary.pm dh-make-perl-0.114+nmu1/lib/Debian/Control/Stanza/Binary.pm
--- dh-make-perl-0.114/lib/Debian/Control/Stanza/Binary.pm 2021-01-06 01:41:27.000000000 +0100
+++ dh-make-perl-0.114+nmu1/lib/Debian/Control/Stanza/Binary.pm 2021-01-25 14:41:25.000000000 +0100
@@ -63,6 +63,8 @@
=item Package_Type
+=item Build-Profiles
+
=back
C<Depends>, C<Conflicts> C<Breaks>, C<Recommends>, C<Suggests>, C<Enhances>,
@@ -101,6 +103,7 @@
Package Architecture Section Priority Essential Depends Recommends Suggests
Enhances Replaces Pre_Depends Conflicts Breaks Provides Built_Using
Multi_Arch Package_Type Description _short_description _long_description
+ Build_Profiles
);
=head1 CONSTRUCTOR
More information about the pkg-perl-maintainers
mailing list