Package: lintian Version: 2.5.4 Severity: minor Tags: patchLintian considers all packages containing /usr/share/doc/$pkgname symlink as non-empty. The attached patch fixes this bug:
$ lintian -T empty-binary-package python3-yaml-dbg_3.10-1_i386.deb W: python3-yaml-dbg: empty-binary-package -- Jakub Wilk
diff --git a/checks/files b/checks/files
--- a/checks/files
+++ b/checks/files
@@ -244,6 +244,8 @@
$is_empty = 0;
last;
}
+ # Skip /usr/share/doc/$pkg symlinks.
+ next if $file eq "usr/share/doc/$pkg";
# For files directly in /usr/share/doc/$pkg, if the file isn't one
# of the uninteresting ones, the package isn't empty.
unless ($STANDARD_FILES->known(basename($file))) {