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

lintian: r1347 - in trunk: checks debian



Author: rra
Date: 2008-06-07 02:01:08 +0200 (Sat, 07 Jun 2008)
New Revision: 1347

Modified:
   trunk/checks/binaries
   trunk/debian/changelog
Log:
  + [RA] When checking SONAMEs against package names, convert all
    underscores to dashes, not just the first one.  Thanks, Gon?\195?\169ri Le
    Bouder.  (Closes: #482450)

Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries	2008-06-06 23:58:09 UTC (rev 1346)
+++ trunk/checks/binaries	2008-06-07 00:01:08 UTC (rev 1347)
@@ -147,8 +147,8 @@
 my $match_found = 0;
 foreach my $expected_name (@sonames) {
     $expected_name =~ s/([0-9])\.so\./$1-/;
-    $expected_name =~ s/\.so(\.|\z)//o;
-    $expected_name =~ s/_/-/o;
+    $expected_name =~ s/\.so(\.|\z)//;
+    $expected_name =~ s/_/-/g;
 
     if ((lc($expected_name) eq $pkg)
 	|| (lc($expected_name) eq $base_pkg)) {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-06-06 23:58:09 UTC (rev 1346)
+++ trunk/debian/changelog	2008-06-07 00:01:08 UTC (rev 1347)
@@ -2,6 +2,9 @@
 
   * checks/binaries:
     + [RA] Fix code for filtering out NSS modules from SONAME checks.
+    + [RA] When checking SONAMEs against package names, convert all
+      underscores to dashes, not just the first one.  Thanks, Gonéri Le
+      Bouder.  (Closes: #482450)
   * checks/common_data.pm:
     + [RA] armel is now a standard architecture.
     + [RA] Remove %known_obsolete_packages, now handled via data.


Reply to: