lintian: r102 - in trunk: checks debian
Author: djpig
Date: 2004-03-08 17:39:39 +0100 (Mon, 08 Mar 2004)
New Revision: 102
Modified:
trunk/checks/menu-format
trunk/debian/changelog
Log:
only issue one warning about needs=dwww, not two
(begin 1.23.0 changelog entry)
Modified: trunk/checks/menu-format
===================================================================
--- trunk/checks/menu-format 2004-03-08 15:21:50 UTC (rev 101)
+++ trunk/checks/menu-format 2004-03-08 16:39:39 UTC (rev 102)
@@ -346,9 +346,6 @@
# Check the needs tag.
my $needs = lc($vals{'needs'}); # needs is case insensitive.
- if ($needs eq "dwww") {
- print "W: $pkg $type: menu-item-needs-dwww /usr/lib/menu/$menufile:$linecount\n";
- }
if ($section =~ m:^WindowManagers/Modules:) {
# WM/Modules: needs must not be the regular ones nor wm
if ($needs_tag_vals_hash{$needs} or $needs eq "wm") {
@@ -361,7 +358,9 @@
}
} else {
# Any other section: just only the general ones
- if (not $needs_tag_vals_hash{$needs}) {
+ if ($needs eq "dwww") {
+ print "W: $pkg $type: menu-item-needs-dwww /usr/lib/menu/$menufile:$linecount\n";
+ } elsif (not $needs_tag_vals_hash{$needs}) {
print "W: $pkg $type: menu-item-needs-tag-has-unknown-value $needs /usr/lib/menu/$menufile:$linecount\n";
}
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2004-03-08 15:21:50 UTC (rev 101)
+++ trunk/debian/changelog 2004-03-08 16:39:39 UTC (rev 102)
@@ -1,3 +1,12 @@
+lintian (1.23.0) UNRELEASED; urgency=low
+
+ The ``moving forward'' release
+
+ * checks/menu-format:
+ + [FL] only issue one warning about needs=dwww, not two
+
+ -- Frank Lichtenheld <djpig@debian.org> Mon, 8 Mar 2004 17:35:03 +0100
+
lintian (1.22.12) unstable; urgency=low
The ``Fix those false positives, mkay'' release, prepared for all Debian
Reply to: