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 <d...@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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to