summaryrefslogtreecommitdiff
path: root/scripts/t
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2017-04-09 15:44:41 +0200
committerGuillem Jover <guillem@debian.org>2017-10-12 00:55:17 +0200
commitec1eb273accae4f7d35d3ef840505fa400fbe82d (patch)
tree719a9ecc9e10c600a4ddfc4de5e00b6aa90f634c /scripts/t
parentfc57bf83dcb089b1cca96f6c08b2b375cc693995 (diff)
downloaddpkg-ec1eb273accae4f7d35d3ef840505fa400fbe82d.tar.gz
scripts: Add support for source package Description and substvars
We support a new source package Description field in debian/control that will be copied into the .dsc file. The field will also be used to initialize the new source:Synopsis and source:Extended-Description substvars that will be available when generating the DEBIAN/control and .changes files. Closes: #555743
Diffstat (limited to 'scripts/t')
-rw-r--r--scripts/t/Dpkg_Control_Fields.t13
1 files changed, 7 insertions, 6 deletions
diff --git a/scripts/t/Dpkg_Control_Fields.t b/scripts/t/Dpkg_Control_Fields.t
index e096c5494..7a6582287 100644
--- a/scripts/t/Dpkg_Control_Fields.t
+++ b/scripts/t/Dpkg_Control_Fields.t
@@ -57,9 +57,9 @@ my %fields = (
name => 'debian/control source stanza',
unordered => 1,
fields => [
- qw(Bugs Homepage Origin Maintainer Priority Section Source
- Standards-Version), @test_fields, qw(Uploaders),
- @vcs_fields, @src_dep_fields
+ qw(Bugs Homepage Description Origin Maintainer Uploaders
+ Priority Section Source Standards-Version),
+ @test_fields, @vcs_fields, @src_dep_fields
],
},
CTRL_INFO_PKG() => {
@@ -76,8 +76,8 @@ my %fields = (
CTRL_PKG_SRC() => {
name => '.dsc',
fields => [
- qw(Format Source Binary Architecture Version
- Origin Maintainer Uploaders Homepage Standards-Version),
+ qw(Format Source Binary Architecture Version Origin Maintainer
+ Uploaders Homepage Description Standards-Version),
@vcs_fields, @test_fields, @src_dep_fields,
qw(Package-List),
@src_files
@@ -98,7 +98,8 @@ my %fields = (
name => 'Sources',
fields => [
qw(Format Package Binary Architecture Version Priority Section
- Origin Maintainer Uploaders Homepage Standards-Version),
+ Origin Maintainer Uploaders Homepage Description
+ Standards-Version),
@vcs_fields, @test_fields, @src_dep_fields,
qw(Package-List Directory),
@src_files