[libconfig-model-dpkg-perl] 03/04: add support for Build-Depends-Arch parameter

dod at debian.org dod at debian.org
Fri Mar 3 12:22:30 UTC 2017


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

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit e618beab50eb95af40eff508b39b478a738372c8
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Mar 3 13:20:40 2017 +0100

    add support for Build-Depends-Arch parameter
---
 lib/Config/Model/models/Dpkg/Control/Source.pl | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index dcdb14a..a4157d3 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -231,11 +231,27 @@ Technically, these packages must be installed for the following build targets: c
 
 On the other hand, the list of packages that must be installed to build architecture-independent binaries ("Architecture: all") should be listed in "Build-Depends-Indep" field.
 
+Including a dependency in this field does not have the exact same effect as including it in both Build-Depends-Arch and Build-Depends-Indep, because the dependency also needs to be satisfied when building the source package.
+
 See also L<deb-src-control|https://manpages.debian.org/unstable/dpkg-dev/deb-src-control.5.en.html> man page',
         'duplicates' => 'warn',
         'summary' => 'List of package required during clean or build of architecture-dependent packages',
         'type' => 'list'
       },
+      'Build-Depends-Arch',
+      {
+        'cargo' => {
+          'class' => 'Config::Model::Dpkg::Dependency',
+          'type' => 'leaf',
+          'value_type' => 'uniline'
+        },
+        'description' => 'Same as Build-Depends, but these pakcages are only needed when building the architecture dependent packages. The Build-Depends are also installed in this case. 
+
+See L<deb-src-control man page|https://manpages.debian.org/unstable/dpkg-dev/deb-src-control.5.en.html> for details',
+        'duplicates' => 'warn',
+        'summary' => 'List of package required to build architecture-dependent packages',
+        'type' => 'list'
+      },
       'Build-Depends-Indep',
       {
         'cargo' => {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



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