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

Bug#324121: lintian: false positives in package-name-doesnt-match-sonames



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

Hi Frank and all,

thanks for the package-name-doesnt-match-sonames check!
However, I'd like to offer two reductions of false positives:
- allow c2 suffices for the C++-transition,
- lowercase sonames (e.g. for libX*).

Attached is a quick patch.

Kind regards

T.

P.S.: Would you entertain a patch for #253884?
-- 
Thomas Viehmann, http://thomas.viehmann.net/
--- lintian-1.23.11/checks/binaries~	2005-07-24 01:09:01.000000000 +0200
+++ lintian-1.23.11/checks/binaries	2005-08-20 13:05:12.000000000 +0200
@@ -120,8 +120,9 @@
 foreach my $expected_name (@sonames) {
     $expected_name =~ s/([0-9])\.so\./$1-/;
     $expected_name =~ s/\.so\.//;
+    $expected_name = lc($expected_name);
 
-    if ($expected_name eq $pkg) {
+    if ($expected_name eq $pkg || $expected_name."c2" eq $pkg) {
 	$match_found = 1;
 	last;
     }

Reply to: