diff options
author | Guillem Jover <guillem@debian.org> | 2017-04-09 15:44:41 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2017-10-12 00:55:17 +0200 |
commit | ec1eb273accae4f7d35d3ef840505fa400fbe82d (patch) | |
tree | 719a9ecc9e10c600a4ddfc4de5e00b6aa90f634c /scripts/Dpkg/Control/FieldsCore.pm | |
parent | fc57bf83dcb089b1cca96f6c08b2b375cc693995 (diff) | |
download | dpkg-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/Dpkg/Control/FieldsCore.pm')
-rw-r--r-- | scripts/Dpkg/Control/FieldsCore.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm index 74c54e686..b100366e1 100644 --- a/scripts/Dpkg/Control/FieldsCore.pm +++ b/scripts/Dpkg/Control/FieldsCore.pm @@ -268,7 +268,7 @@ our %FIELDS = ( }, 'description' => { name => 'Description', - allowed => ALL_PKG | CTRL_FILE_CHANGES | CTRL_REPO_RELEASE, + allowed => ALL_SRC | ALL_PKG | CTRL_FILE_CHANGES | CTRL_REPO_RELEASE, }, 'disclaimer' => { name => 'Disclaimer', @@ -618,14 +618,14 @@ our %FIELD_ORDER = ( ], CTRL_PKG_SRC() => [ qw(format source binary architecture version origin maintainer - uploaders homepage standards-version vcs-browser + uploaders homepage description standards-version vcs-browser vcs-arch vcs-bzr vcs-cvs vcs-darcs vcs-git vcs-hg vcs-mtn vcs-svn testsuite testsuite-triggers), @src_dep_fields, qw(package-list), @src_checksums_fields, qw(files) ], CTRL_INDEX_SRC() => [ - qw(format package binary architecture version priority section - origin maintainer uploaders homepage standards-version vcs-browser + qw(format package binary architecture version priority section origin + maintainer uploaders homepage description standards-version vcs-browser vcs-arch vcs-bzr vcs-cvs vcs-darcs vcs-git vcs-hg vcs-mtn vcs-svn testsuite testsuite-triggers), @src_dep_fields, qw(package-list directory), @src_checksums_fields, qw(files) |