lintian: r474 - in trunk: checks debian
Author: djpig
Date: 2005-08-15 00:11:50 +0200 (Mon, 15 Aug 2005)
New Revision: 474
Modified:
trunk/checks/binaries
trunk/debian/changelog
Log:
+ Also remove -udeb strings and substitute lib64 with lib in
package name before comparing with SONAME
+ Replace any occurence of _ in the SONAME with - since the
former isn't allowed in package names but occasionally used in
sonames
Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries 2005-08-13 00:19:39 UTC (rev 473)
+++ trunk/checks/binaries 2005-08-14 22:11:50 UTC (rev 474)
@@ -121,11 +121,14 @@
$base_pkg =~ s/c102\b//o;
$base_pkg =~ s/c2\b//o;
$base_pkg =~ s/\dg$//o;
+$base_pkg =~ s/-udeb$//o;
+$base_pkg =~ s/^lib64/lib/o;
my $match_found = 0;
foreach my $expected_name (@sonames) {
$expected_name =~ s/([0-9])\.so\./$1-/;
- $expected_name =~ s/\.so\.//;
+ $expected_name =~ s/\.so\.//o;
+ $expected_name =~ s/_/-/o;
if ((lc($expected_name) eq $pkg)
|| (lc($expected_name) eq $base_pkg)) {
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-08-13 00:19:39 UTC (rev 473)
+++ trunk/debian/changelog 2005-08-14 22:11:50 UTC (rev 474)
@@ -9,6 +9,11 @@
+ [FL] Try to remove strings added for transition purposes from
library package names before comparing package name with SONAME.
Pointed out by Rene Engelhard (Closes: #322241)
+ + [FL] Also remove -udeb strings and substitute lib64 with lib in
+ package name before comparing with SONAME
+ + [FL] Replace any occurence of _ in the SONAME with - since the
+ former isn't allowed in package names but occasionally used in
+ sonames
* checks/changelog-file:
+ [FL] Detect old FSF address additionally to the even older
one
Reply to: