[dh-make-perl] 01/02: Debian::Control::Stanza::Binary: add 'Multi-Arch' to list of known fields.

gregor herrmann gregoa at debian.org
Sat Jan 13 00:59:37 UTC 2018


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository dh-make-perl.

commit c9f24992e0f4010502525e1cfd6549c9b128f468
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Jan 13 01:54:12 2018 +0100

    Debian::Control::Stanza::Binary: add 'Multi-Arch' to list of known fields.
---
 lib/Debian/Control/Stanza/Binary.pm | 8 ++++++--
 t/Control.t                         | 1 +
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/lib/Debian/Control/Stanza/Binary.pm b/lib/Debian/Control/Stanza/Binary.pm
index b6e45d1..33cb304 100644
--- a/lib/Debian/Control/Stanza/Binary.pm
+++ b/lib/Debian/Control/Stanza/Binary.pm
@@ -55,6 +55,10 @@ replaced with underscores.
 
 =item Provides
 
+=item Built_Using
+
+=item Multi_Arch
+
 =item Description
 
 =back
@@ -93,8 +97,8 @@ use base 'Debian::Control::Stanza';
 
 use constant fields => qw(
     Package Architecture Section Priority Essential Depends Recommends Suggests
-    Enhances Replaces Pre_Depends Conflicts Breaks Provides Built_Using Description
-    _short_description _long_description
+    Enhances Replaces Pre_Depends Conflicts Breaks Provides Built_Using Multi_Arch
+    Description _short_description _long_description
 );
 
 =head1 CONSTRUCTOR
diff --git a/t/Control.t b/t/Control.t
index 8dbff54..18e9a6c 100644
--- a/t/Control.t
+++ b/t/Control.t
@@ -51,6 +51,7 @@ Package: libtest-compile-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends},
  libuniversal-require-perl
+Multi-Arch: foreign
 Description: check whether Perl module files compile correctly
  Test::Compile can be used in module test suites to verify that everything
  compiles correctly. This description is artifitially prolonged, in order to be

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git



More information about the Pkg-perl-cvs-commits mailing list