[Reproducible-commits] [dpkg] 29/37: dpkg-genbuildinfo: Rename Changes in Binary-Only-Changes
Jérémy Bobbio
lunar at moszumanska.debian.org
Sun Jan 31 16:28:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/buildinfo
in repository dpkg.
commit 73cf8503f5ca01285b3d19941a959d0827fb7a0b
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sat Jan 30 13:31:31 2016 +0000
dpkg-genbuildinfo: Rename Changes in Binary-Only-Changes
---
scripts/Dpkg/Control/FieldsCore.pm | 5 ++++-
scripts/dpkg-genbuildinfo.pl | 7 ++++---
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm
index c154c6e..13cb109 100644
--- a/scripts/Dpkg/Control/FieldsCore.pm
+++ b/scripts/Dpkg/Control/FieldsCore.pm
@@ -82,6 +82,9 @@ our %FIELDS = (
'Binary-Only' => {
allowed => ALL_CHANGES,
},
+ 'Binary-Only-Changes' => {
+ allowed => CTRL_FILE_BUILDINFO,
+ },
'Breaks' => {
allowed => ALL_PKG,
separator => FIELD_SEP_COMMA,
@@ -431,7 +434,7 @@ our %FIELD_ORDER = (
],
CTRL_FILE_BUILDINFO() => [
qw(Format Build-Architecture Source Binary Architecture Version
- Changes),
+ Binary-Only-Changes),
@checksum_fields,
qw(Build-Path Build-Environment),
],
diff --git a/scripts/dpkg-genbuildinfo.pl b/scripts/dpkg-genbuildinfo.pl
index a689a99..901b579 100755
--- a/scripts/dpkg-genbuildinfo.pl
+++ b/scripts/dpkg-genbuildinfo.pl
@@ -252,9 +252,10 @@ $fields->{'Build-Architecture'} = $build_arch;
$fields->{'Source'} = $spackage;
if ($changelog->{'Binary-Only'}) {
$fields->{'Source'} .= ' (' . $sourceversion . ')';
- $fields->{'Changes'} = $changelog->{'Changes'} . "\n\n"
- . ' -- ' . $changelog->{'Maintainer'}
- . ' ' . $changelog->{'Date'};
+ $fields->{'Binary-Only-Changes'} =
+ $changelog->{'Changes'} . "\n\n"
+ . ' -- ' . $changelog->{'Maintainer'}
+ . ' ' . $changelog->{'Date'};
}
$fields->{'Binary'} = join(' ', map { $_->{'Package'} } $control->get_packages());
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list