Commit af1bfdc7 authored by Felix Lechner's avatar Felix Lechner Committed by Chris Lamb

In checks/nmu.pm, use new changelog parser.

In response to Bug#933134, the changelog parser became part of
Lintian. This commit uses it in checks/nmu.pm.

Gbp-Dch: ignore
parent 326c568d
......@@ -45,10 +45,10 @@ sub run {
if ($chf and $chf->is_symlink) {
tag 'changelog-is-symlink';
}
return if not $info->changelog;
return unless $info->changelog;
# Get some data from the changelog file.
my ($entry) = $info->changelog->data;
my ($entry) = @{$info->changelog->entries};
my $uploader = canonicalize($entry->Maintainer // '');
my $changes = $entry->Changes;
$changes =~ s/^(\s*\n)+//;
......
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