From 03dc67940a1bcdfba6732e257fe1f35f59aea8f6 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 3 Apr 2014 06:08:45 +0200 Subject: dpkg-source: Add arch and profile information to Package-List field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add two new optional values to the Packages-List field, with architecture and build-profiles information. These values have the form «name=value1,value2», and might appear in any order after the mandatory values. This allows to run bootstrapping analysis over the Sources package indices. Requested-by: Johannes Schauer Suggested-by: Raphaël Hertzog --- scripts/Dpkg/Control/FieldsCore.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/Dpkg/Control') diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm index 568716518..3f62b797e 100644 --- a/scripts/Dpkg/Control/FieldsCore.pm +++ b/scripts/Dpkg/Control/FieldsCore.pm @@ -111,6 +111,10 @@ our %FIELDS = ( dependency => 'normal', dep_order => 3, }, + 'Build-Profiles' => { + allowed => CTRL_INFO_PKG, + separator => FIELD_SEP_SPACE, + }, 'Built-For-Profiles' => { allowed => ALL_PKG | CTRL_FILE_CHANGES, separator => FIELD_SEP_SPACE, -- cgit v1.2.3