lintian: r1104 - in trunk: checks debian
Author: rra
Date: 2008-01-04 05:00:11 +0100 (Fri, 04 Jan 2008)
New Revision: 1104
Modified:
   trunk/checks/binaries
   trunk/debian/changelog
Log:
  + [RA] Allow rpath pointing to /usr/lib/games/<package>.  Thanks, Bas
    Wijnen.  (Closes: #456318)
Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries	2008-01-04 03:47:22 UTC (rev 1103)
+++ trunk/checks/binaries	2008-01-04 04:00:11 UTC (rev 1104)
@@ -213,7 +213,7 @@
 
     # rpath is disallowed, except in private directories
     if (exists $RPATH{$file} &&
-        grep(!m#^/usr/lib/\Q$pkg\E(?:/|$)#, split(/:/, $RPATH{$file}))
+        grep { !m,^/usr/lib/(games/)?\Q$pkg\E(?:/|\z), } split(/:/, $RPATH{$file})
        ) {
 	tag "binary-or-shlib-defines-rpath", "$file $RPATH{$file}";
     }
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-01-04 03:47:22 UTC (rev 1103)
+++ trunk/debian/changelog	2008-01-04 04:00:11 UTC (rev 1104)
@@ -3,6 +3,8 @@
   * checks/binaries:
     + [RA] Some packages include debugging symbols in the main package, so
       don't warn about unstripped binaries in ../lib/debug as well.
+    + [RA] Allow rpath pointing to /usr/lib/games/<package>.  Thanks, Bas
+      Wijnen.  (Closes: #456318)
   * checks/changelog-file{.desc,}:
     + [RA] Don't spell-check lines that include the word "spelling".
       Thanks, Andreas Hoenen.  (Closes: #456515)
Reply to: