[SCM] Debian package checker branch, master, updated. 2.2.18-33-g3cfd89c
The following commit has been merged in the master branch:
commit 996f46d972fd6875828aa7721887cc16bd46685a
Author: Russ Allbery <rra@debian.org>
Date: Wed Dec 23 20:40:52 2009 -0800
Don't call print_end_pkg for *.changes files
* lib/Lintian/Tags.pm:
+ [RA] Suppress calling Lintian::Output::print_end_pkg for changes
files, where we don't call print_start_pkg. This fixes an unmatched
closing tag in the experimental XML output.
diff --git a/debian/changelog b/debian/changelog
index 3f197ec..770e010 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,9 @@ lintian (2.3.0) UNRELEASED; urgency=low
functions (which have moved to Lintian::Tag::Info). All handling of
display levels is now here instead of in frontend/lintian.
+ [RA] Support suppressing a list of tags.
+ + [RA] Suppress calling Lintian::Output::print_end_pkg for changes
+ files, where we don't call print_start_pkg. This fixes an unmatched
+ closing tag in the experimental XML output.
* lib/Spelling.pm:
+ [RA] Use Lintian::Tags instead of Tags.
* lib/Tags.pm:
diff --git a/lib/Lintian/Tags.pm b/lib/Lintian/Tags.pm
index 63d250b..d519b11 100644
--- a/lib/Lintian/Tags.pm
+++ b/lib/Lintian/Tags.pm
@@ -500,7 +500,7 @@ sub file_start {
tags => {},
overrides => {},
};
- if ($self->{current}) {
+ if ($self->{current} && $self->{current} !~ /\.changes$/) {
my $info = $self->{info}{$self->{current}};
$Lintian::Output::GLOBAL->print_end_pkg($info);
}
--
Debian package checker
Reply to: