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

[SCM] Debian package checker branch, master, updated. 2.5.7-9-g714b4ec



The following commit has been merged in the master branch:
commit 714b4ecdd59577792eac4006fc3b0b834bacb949
Author: Niels Thykier <niels@thykier.net>
Date:   Tue May 22 11:53:12 2012 +0200

    c/shared-libs: Fix FP "dev-pkg-without-shlib-symlink"
    
    Make checks/shared-libs properly strip the version of shlib files that
    are built with libtool's -release option.
    
    Issue discovered in a d-mentors thread:
     * https://lists.debian.org/debian-mentors/2012/05/msg00370.html
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/shared-libs b/checks/shared-libs
index bebabe3..d7c0227 100644
--- a/checks/shared-libs
+++ b/checks/shared-libs
@@ -233,6 +233,8 @@ for my $shlib_file (keys %SONAME) {
 
     # determine shlib link name (w/o version)
     $link_file =~ s/\.so.*$/.so/o;
+    # libtool "-release" variant
+    $link_file =~ s/-[\d\.]*\.so$/.so/o;
 
     # shlib symlink may not exist.
     # if shlib doesn't _have_ a version, then $link_file and $shlib_file will
diff --git a/debian/changelog b/debian/changelog
index ed017fc..ac804a5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,9 @@ lintian (2.5.8) UNRELEASED; urgency=low
       biarch packages.  This was a regression introduced in
       version 2.5.7.  Thanks to Sven Joachim for reporting it.
       (Closes: #673106)
+  * checks/shared-libs:
+    + [NT] Fix false positive "dev-pkg-without-shlib-symlink"
+      for shared libraries using "libtool -release X.Y".
 
   * debian/control:
     + [NT] Add versioned Build-Depends on dpkg-dev (>= 1.16.1~)

-- 
Debian package checker


Reply to: