Commit b703d8fd authored by Mattia Rizzolo's avatar Mattia Rizzolo

debchange: fix the autodetection of NMU in case the person running dch is...

debchange: fix the autodetection of NMU in case the person running dch is listed in the first line under a wrapped Uploaders field

Closes: #915393
Thanks: Stuart Prescott for the patch
Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 0e328360
......@@ -4,6 +4,10 @@ devscripts (2.18.12) UNRELEASED; urgency=medium
* Upload to unstable.
* d/control:
+ Add debhelper to Suggests. Thanks Simon Quigley for the suggestion.
* debchange:
+ Add patch from Stuart Prescott to fix the autodetection of NMU in case
the person running dch is listed in the first line under a wrapped
Uploaders field. Closes: #915393
[ Xavier Guimard ]
* salsa:
......
......@@ -914,8 +914,9 @@ if (
my $parser = Dpkg::Control->new(type => CTRL_INFO_SRC);
$parser->load('debian/control');
my $uploader = decode_utf8($parser->{Uploaders}) || '';
$uploader =~ s/^\s+//;
my $maintainer = decode_utf8($parser->{Maintainer});
my @uploaders = split(/,\s*/, $uploader);
my @uploaders = split(/\s*,\s*/, $uploader);
my $packager = "$MAINTAINER <$EMAIL>";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment