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

lintian: r1103 - in trunk: checks debian



Author: rra
Date: 2008-01-04 04:47:22 +0100 (Fri, 04 Jan 2008)
New Revision: 1103

Modified:
   trunk/checks/binaries
   trunk/debian/changelog
Log:
* checks/binaries:
  + [RA] Some packages include debugging symbols in the main package, so
    don't warn about unstripped binaries in ../lib/debug as well.

Modified: trunk/checks/binaries
===================================================================
--- trunk/checks/binaries	2008-01-03 07:59:16 UTC (rev 1102)
+++ trunk/checks/binaries	2008-01-04 03:47:22 UTC (rev 1103)
@@ -190,15 +190,15 @@
     # stripped?
     if ($info =~ m,not stripped\s*$,o) {
 	# Is it an object file (which generally can not be stripped),
-	# a kernel module, or perhaps a debugging package? 
+	# a kernel module, debugging symbols, or perhaps a debugging package?
 	# Ocaml executables are exempted, see #252695
 	unless ($file =~ m,\.k?o$, or $pkg =~ m/-dbg$/ or $pkg =~ m/debug/
-		or exists $OCAML{$file}) {
+		or $file =~ m,/lib/debug/, or exists $OCAML{$file}) {
 	    tag "unstripped-binary-or-object", "$file";
 	}
     } else {
 	# stripped but a debug or profiling library?
-	if (($file =~ m,lib/debug/,o) or ($file =~ m,lib/profile/,o)) {
+	if (($file =~ m,/lib/debug/,o) or ($file =~ m,/lib/profile/,o)) {
 	    tag "library-in-debug-or-profile-should-not-be-stripped", "$file";
 	} else {
 	    # appropriately stripped, but is it stripped enough?
@@ -298,4 +298,8 @@
 
 1;
 
+# Local Variables:
+# indent-tabs-mode: t
+# cperl-indent-level: 4
+# End:
 # vim: syntax=perl ts=8 sw=4

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-01-03 07:59:16 UTC (rev 1102)
+++ trunk/debian/changelog	2008-01-04 03:47:22 UTC (rev 1103)
@@ -1,5 +1,8 @@
 lintian (1.23.42) UNRELEASED; urgency=low
 
+  * checks/binaries:
+    + [RA] Some packages include debugging symbols in the main package, so
+      don't warn about unstripped binaries in ../lib/debug as well.
   * checks/changelog-file{.desc,}:
     + [RA] Don't spell-check lines that include the word "spelling".
       Thanks, Andreas Hoenen.  (Closes: #456515)


Reply to: