lintian: r1218 - in trunk: checks debian
Author: rra
Date: 2008-02-19 08:20:05 +0100 (Tue, 19 Feb 2008)
New Revision: 1218
Modified:
trunk/checks/binaries
trunk/debian/changelog
Log:
* checks/binaries:
+ [RA] Anchor file matches for Perl libraries and debugging symbols so
as to not match partial paths. Based on a patch from Niko Tyni.
(Closes: #466501)
Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries 2008-02-19 06:57:52 UTC (rev 1217)
+++ trunk/checks/binaries 2008-02-19 07:20:05 UTC (rev 1218)
@@ -222,12 +222,12 @@
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;
}
# Something other than detached debugging symbols in /usr/lib/debug paths.
- if ($file =~ m,/usr/lib/debug/(lib\d*|s?bin|usr|opt|dev|emul)/,) {
+ if ($file =~ m,^\./usr/lib/debug/(lib\d*|s?bin|usr|opt|dev|emul)/,) {
if (exists($NEEDED{$file})) {
tag "debug-file-should-use-detached-symbols", $file;
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2008-02-19 06:57:52 UTC (rev 1217)
+++ trunk/debian/changelog 2008-02-19 07:20:05 UTC (rev 1218)
@@ -1,5 +1,9 @@
lintian (1.23.46) UNRELEASED; urgency=low
+ * checks/binaries:
+ + [RA] Anchor file matches for Perl libraries and debugging symbols so
+ as to not match partial paths. Based on a patch from Niko Tyni.
+ (Closes: #466501)
* checks/control-files{.desc,}:
+ [FL] Warn about empty control files. I can't see any use for
them. Exclude udebs though, since they might differ there.
Reply to: