Commit 2f9e7b9c authored by Felix Lechner's avatar Felix Lechner Committed by Chris Lamb

In checks/source-changelog.pm, use new changelog parser.

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

Gbp-Dch: ignore
parent 144e9881
......@@ -22,7 +22,7 @@ package Lintian::source_changelog;
use strict;
use warnings;
use autodie;
use Parse::DebianChangelog;
use Lintian::Tags qw(tag);
sub parse_version {
......@@ -86,7 +86,7 @@ sub parse_version {
sub run {
my ($pkg, undef, $info, undef, undef) = @_;
my @entries = $info->changelog->data;
my @entries = @{$info->changelog->entries};
if (@entries > 0) {
my ($latest_version, $reconstructed)
......
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