[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#994711: lintian: empty-binary-package ignores "empty package" in package description



Package: lintian
Version: 2.106.1
Severity: minor
Tags: patch

Hello.

A package with 'empty package' in its long description is nevertheless
reported by lintian as an empty-binary-package.
This is inconsistent with the tag description.
See the 'gnat' package for an example.

The following trivial patch should prevent such false positives.
Of course, an other option is to remove "empty package" from the list
in tags/e/empty-binary-package.tag.

--- a/lib/Lintian/Processable/Installable/Class.pm
+++ b/lib/Lintian/Processable/Installable/Class.pm
@@ -105,7 +105,7 @@
 
     return 1
       if $self->fields->value('Description')
-      =~ /meta[ -]?package|(?:dummy|dependency) package/i;
+      =~ /meta[ -]?package|(?:dummy|dependency|empty) package/i;
 
     # section "tasks" or "metapackages" qualifies too
     return 1


Reply to: