[linux] 09/18: debian/control: Move many build dependencies to Build-Depends-Arch field

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Sun Oct 1 15:18:05 UTC 2017


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

benh pushed a commit to branch master
in repository linux.

commit 06c36b366270066e4dee7df8ad1643d08a93ce22
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Sat Sep 30 14:07:22 2017 +0100

    debian/control: Move many build dependencies to Build-Depends-Arch field
---
 debian/bin/gencontrol.py                 | 2 +-
 debian/changelog                         | 1 +
 debian/lib/python/debian_linux/debian.py | 1 +
 debian/templates/control.source.in       | 5 +++--
 4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/bin/gencontrol.py b/debian/bin/gencontrol.py
index 29ea618..eae272d 100755
--- a/debian/bin/gencontrol.py
+++ b/debian/bin/gencontrol.py
@@ -338,7 +338,7 @@ class Gencontrol(Base):
         for group in relations_compiler_build_dep:
             for item in group:
                 item.arches = [arch]
-        packages['source']['Build-Depends'].extend(relations_compiler_build_dep)
+        packages['source']['Build-Depends-Arch'].extend(relations_compiler_build_dep)
 
         image_fields = {'Description': PackageDescription()}
         for field in 'Depends', 'Provides', 'Suggests', 'Recommends', 'Conflicts', 'Breaks':
diff --git a/debian/changelog b/debian/changelog
index 2801396..2fd7f04 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium
     - Change all binary packages with priority: extra to priority: optional
     - Install copyright file (and some other documentation) when the nodoc
       profile is used
+  * debian/control: Move many build dependencies to Build-Depends-Arch field
 
   [ Uwe Kleine-König ]
   * [arm64] really enable NET_DSA_MV88E6XXX for Espressobin
diff --git a/debian/lib/python/debian_linux/debian.py b/debian/lib/python/debian_linux/debian.py
index 92576d1..7ad5f93 100644
--- a/debian/lib/python/debian_linux/debian.py
+++ b/debian/lib/python/debian_linux/debian.py
@@ -442,6 +442,7 @@ class Package(_ControlFileDict):
         ('Uploaders', str),
         ('Standards-Version', str),
         ('Build-Depends', PackageRelation),
+        ('Build-Depends-Arch', PackageRelation),
         ('Build-Depends-Indep', PackageRelation),
         ('Provides', PackageRelation),
         ('Pre-Depends', PackageRelation),
diff --git a/debian/templates/control.source.in b/debian/templates/control.source.in
index e7d7d04..27d5284 100644
--- a/debian/templates/control.source.in
+++ b/debian/templates/control.source.in
@@ -13,6 +13,9 @@ Build-Depends:
  cpio <!stage1>,
 # used by upstream to compress kernel and by debian/rules.real to build linux-source
  xz-utils <!stage1>,
+# used by debian/rules.real to build linux-perf and linux-support
+ dh-python <!stage1>,
+Build-Depends-Arch:
 # used by debian/rules.real to build udebs
  kernel-wedge (>= 2.93~) <!stage1>,
 # used by kernel-wedge (only on Linux, thus not declared as a dependency)
@@ -55,8 +58,6 @@ Build-Depends:
  rsync <!stage1 !pkg.linux.notools>,
 # used by upstream to build cpupower
  libpci-dev <!stage1 !pkg.linux.notools>,
-# used by debian/rules.real to build linux-perf and linux-support
- dh-python <!stage1>,
 Build-Depends-Indep:
 # used by debian/rules.real to build linux-source
  patchutils <!stage1>,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list