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

lintian: r1381 - in trunk: checks debian



Author: djpig
Date: 2008-06-16 01:52:59 +0200 (Mon, 16 Jun 2008)
New Revision: 1381

Modified:
   trunk/checks/binaries
   trunk/debian/changelog
Log:
* checks/scripts:
  + Apply File::Spec->canonpath() to rpaths to improve
    matching with directories.


Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries	2008-06-12 16:02:52 UTC (rev 1380)
+++ trunk/checks/binaries	2008-06-15 23:52:59 UTC (rev 1381)
@@ -23,6 +23,8 @@
 use Tags;
 use Util;
 
+use File::Spec;
+
 sub run {
 
 my $pkg = shift;
@@ -234,7 +236,7 @@
 
     # rpath is disallowed, except in private directories
     if (exists $RPATH{$file}) {
-	foreach my $rpath (keys %{$RPATH{$file}}) {
+	foreach my $rpath (map {File::Spec->canonpath($_)} keys %{$RPATH{$file}}) {
 	    next if $rpath =~ m,^/usr/lib/(games/)?\Q$pkg\E(?:/|\z),;
 	    next if $rpath =~ m,^\$ORIGIN$,;
 	    next if $directories{$rpath};

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-06-12 16:02:52 UTC (rev 1380)
+++ trunk/debian/changelog	2008-06-15 23:52:59 UTC (rev 1381)
@@ -1,3 +1,11 @@
+lintian (1.24.2) unstable; urgency=low
+
+  * checks/scripts:
+    + [FL] Apply File::Spec->canonpath() to rpaths to improve
+      matching with directories.
+
+ --
+
 lintian (1.24.1) unstable; urgency=medium
   
   The "mostly for the benefit of lintian.debian.org only" release.


Reply to: