lintian: r473 - in trunk: checks debian
Author: djpig
Date: 2005-08-13 02:19:39 +0200 (Sat, 13 Aug 2005)
New Revision: 473
Modified:
trunk/checks/binaries
trunk/debian/changelog
Log:
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)
Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries 2005-08-12 23:44:18 UTC (rev 472)
+++ trunk/checks/binaries 2005-08-13 00:19:39 UTC (rev 473)
@@ -116,12 +116,19 @@
my @sonames = keys %SONAME;
tag "several-sonames-in-same-package", "@sonames" if @sonames > 1;
+# try to identify transition strings
+my $base_pkg = $pkg;
+$base_pkg =~ s/c102\b//o;
+$base_pkg =~ s/c2\b//o;
+$base_pkg =~ s/\dg$//o;
+
my $match_found = 0;
foreach my $expected_name (@sonames) {
$expected_name =~ s/([0-9])\.so\./$1-/;
$expected_name =~ s/\.so\.//;
- if (lc($expected_name) eq $pkg) {
+ if ((lc($expected_name) eq $pkg)
+ || (lc($expected_name) eq $base_pkg)) {
$match_found = 1;
last;
}
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-08-12 23:44:18 UTC (rev 472)
+++ trunk/debian/changelog 2005-08-13 00:19:39 UTC (rev 473)
@@ -6,6 +6,9 @@
* checks/binaries:
+ [FL] Convert the SONAME to lower case before comparing with
package name. Suggested by Josh Triplett (Closes: #321206)
+ + [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)
* checks/changelog-file:
+ [FL] Detect old FSF address additionally to the even older
one
Reply to: