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

[lintian] 01/01: c/shared-libs: Keep " #MINVER#" in the tag



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit a596402975d4831c1430d4828019aad730896484
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Oct 11 11:23:34 2014 +0200

    c/shared-libs: Keep " #MINVER#" in the tag
    
    My previous commit was not intended to change the output of the tag.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/shared-libs.pm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/checks/shared-libs.pm b/checks/shared-libs.pm
index a69c8df..4104789 100644
--- a/checks/shared-libs.pm
+++ b/checks/shared-libs.pm
@@ -599,8 +599,9 @@ sub run {
         my %seen;
         @symbols_depends = grep { !$seen{$_}++ } @symbols_depends;
         for my $depend (@symbols_depends) {
-            $depend =~ s/ \#MINVER\#$//;
-            unless ($provides->implies($depend)) {
+            my $d = $depend;
+            $d =~ s/ \#MINVER\#$//;
+            unless ($provides->implies($d)) {
                 tag 'symbols-declares-dependency-on-other-package', $depend;
             }
         }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: