Control: tags patch
I investigated this issue and the failures appear to be the result of
a change in dpkg-parsechangelog. The difference in the produced output
is this library had a trailing space after "Changes: ", but
dpkg-parsechangelog no longer had that. I believe the
dpkg-parsechangelog behavior is correct.
Attached is a patch that resolves the bug and fixes the FTBFS.
Regards,
Jordan Metzmeier
--- a/lib/Parse/DebianChangelog/Util.pm
+++ b/lib/Parse/DebianChangelog/Util.pm
@@ -104,7 +104,11 @@
$v =~ m/\n$/o && warn(__g("field %s has trailing newline >%s<",
$f, $v ));
$v =~ s/\$\{\}/\$/go;
- $rfc822_str .= "$f: $v\n";
+ # the changes have a space followed by a newline which was resulting
+ # in a trailing space on "Changes: ". This caused the library to not
+ # match the output of dpkg-parsechangelog
+ $v = ' ' . $v if $v !~ m/^\s+/;
+ $rfc822_str .= "$f:$v\n";
}
return $rfc822_str;