[libconfig-model-dpkg-perl] 01/01: add support for Built-Using parameter

dod at debian.org dod at debian.org
Sun Feb 26 19:13:25 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 cb02cb1d929aa354900e873d1ab7791d33fe310e
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Feb 26 20:13:00 2017 +0100

    add support for Built-Using parameter
---
 lib/Config/Model/models/Dpkg/Control/Source.pl | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/lib/Config/Model/models/Dpkg/Control/Source.pl b/lib/Config/Model/models/Dpkg/Control/Source.pl
index 2536564..630a683 100644
--- a/lib/Config/Model/models/Dpkg/Control/Source.pl
+++ b/lib/Config/Model/models/Dpkg/Control/Source.pl
@@ -292,6 +292,29 @@ Note that packages not wanted during "clean" phase must be declared in "Build-Co
         'summary' => 'List of package not wanted during build of architecture-independent packages',
         'type' => 'list'
       },
+      'Built-Using',
+      {
+        'cargo' => {
+          'class' => 'Config::Model::Dpkg::Dependency',
+          'type' => 'leaf',
+          'value_type' => 'uniline'
+        },
+        'description' => ' Some binary packages incorporate parts of other packages when built but do not have to depend on those packages. Examples include linking with static libraries or incorporating source code from another package during the build. In this case, the source packages of those other packages are a required part of the complete source (the binary package is not reproducible without them).
+
+A Built-Using field must list the corresponding source package for any such binary package incorporated during the build, including an B<exactly equal> ("=") version relation on the version that was used to build that binary package[57].
+
+A package using the source code from the gcc-4.6-source binary package built from the gcc-4.6 source package would have this field in its control file:
+
+     Built-Using: gcc-4.6 (= 4.6.0-11)
+
+A package including binaries from grub2 and loadlin would have this field in its control file:
+
+     Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
+',
+        'duplicates' => 'warn',
+        'summary' => 'Additional source packages used to build the binary',
+        'type' => 'list'
+      },
       'Standards-Version',
       {
         'default' => '3.9.8',

-- 
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