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

Bug#466501: missing-dependency-on-perlapi and -dbg packages



Package: lintian
Version: 1.23.45
Severity: normal
Tags: patch

The 'missing-dependency-on-perlapi' check gives false positives on
graphicsmagick-dbg and pidgin-dbg, which have detached debugging symbols
at /usr/lib/debug/usr/lib/perl5/auto/ .

Patch attached.

Cheers,
-- 
Niko Tyni   ntyni@debian.org
diff --git a/checks/binaries b/checks/binaries
index 89c8e97..7f463fd 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -222,7 +222,7 @@ while (<IN>) {
     next if $type eq 'udeb';
 
     # Perl library?
-    if ($file =~ m,/usr/lib/perl5/.*\.so$,) {
+    if ($file =~ m,^\./usr/lib/perl5/.*\.so$,) {
 	$has_perl_lib = 1;
     }
 

Reply to: