summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control/FieldsCore.pm
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-04-03 06:08:45 +0200
committerGuillem Jover <guillem@debian.org>2014-04-21 16:29:58 +0200
commit03dc67940a1bcdfba6732e257fe1f35f59aea8f6 (patch)
treed5d3cab0d49898557907d36b96d6bc31fd98c205 /scripts/Dpkg/Control/FieldsCore.pm
parentb916e61f0feb8eb37d9f00bbd4066c4f1b53babe (diff)
downloaddpkg-03dc67940a1bcdfba6732e257fe1f35f59aea8f6.tar.gz
dpkg-source: Add arch and profile information to Package-List field
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 <j.schauer@email.de> Suggested-by: Raphaël Hertzog <hertzog@debian.org>
Diffstat (limited to 'scripts/Dpkg/Control/FieldsCore.pm')
-rw-r--r--scripts/Dpkg/Control/FieldsCore.pm4
1 files changed, 4 insertions, 0 deletions
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,