Commit 95dfcedb authored by Felix Lechner's avatar Felix Lechner Committed by Chris Lamb

In checks/, use new changelog parser.

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

Gbp-Dch: ignore
parent d6785c26
......@@ -213,12 +213,11 @@ sub run {
tag 'debian-watch-could-verify-download', $key_found if $key_found;
my $changes = $info->changelog;
if (defined $changes and %dversions) {
my $data = $changes->data;
if (defined $info->changelog
&& %dversions) {
my %changelog_versions;
my $count = 1;
for my $entry (@{$data}) {
for my $entry (@{$info->changelog->entries}) {
my $uversion = $entry->Version;
$uversion =~ s/-[^-]+$//; # revision
$uversion =~ s/^\d+://; # epoch
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