From ec1eb273accae4f7d35d3ef840505fa400fbe82d Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 9 Apr 2017 15:44:41 +0200 Subject: 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 --- scripts/t/Dpkg_Control_Fields.t | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'scripts/t') 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 -- cgit v1.2.3