[libconfig-model-dpkg-perl] 04/04: add support for Build-Conflicts-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 e26ed15bb38c9d496cd5ba3550aa7e78f9feecfe
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Mar 3 13:21:23 2017 +0100

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

diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index a4157d3..4c347b6 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -290,11 +290,28 @@ to build architecture-dependent binaries ("Architecture: any" or specific archit
 
 Technically, these packages must B<not> be installed for the following build targets: clean, build-arch, and binary-arch. See L<build target|https://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules> doc and L<details on this field|https://www.debian.org/doc/debian-policy/ch-relationships.html#s-sourcebinarydeps>.
 
-On the other hand, the list of packages that must B<not> be installed to build architecture-independent binaries ("Architecture: all") should be listed in "Build-Conflicts-Indep" field.',
+On the other hand, the list of packages that must B<not> be installed to build architecture-independent binaries ("Architecture: all") should be listed in "Build-Conflicts-Indep" field.
+
+Including a dependency in this list has the same effect as including it in both Build-Conflicts-Arch and Build-Conflicts-Indep, with the additional effect of being used for source-only builds. 
+
+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 not wanted during clean or build of architecture-dependent packages',
         'type' => 'list'
       },
+      'Build-Conflicts-Arch',
+      {
+        'cargo' => {
+          'type' => 'leaf',
+          'value_type' => 'uniline'
+        },
+        'description' => 'List of packages that must be missing (i.e. B<not> installed) to build archictecture dependant binaries 
+
+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 not wanted during build of architecture dependent packages',
+        'type' => 'list'
+      },
       'Build-Conflicts-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