lintian: r921 - in trunk: checks debian
Author: rra
Date: 2007-07-02 19:01:00 +0200 (Mon, 02 Jul 2007)
New Revision: 921
Modified:
trunk/checks/shared-libs
trunk/debian/changelog
Log:
* checks/shared-libs:
+ [RA] Exclude udebs from dependency checking in the shlibs files
since binary packages may legitimately declare udeb dependencies on
other packages. Thanks, Lo?\195?\175c Minier. (Closes: #431395)
Modified: trunk/checks/shared-libs
===================================================================
--- trunk/checks/shared-libs 2007-07-01 16:54:58 UTC (rev 920)
+++ trunk/checks/shared-libs 2007-07-02 17:01:00 UTC (rev 921)
@@ -315,6 +315,10 @@
while (<SHLIBS>) {
chop;
next if m/^\s*$/ or /^#/;
+
+ # We exclude udebs from the checks for correct shared library
+ # dependencies, since packages may contain dependencies on
+ # other udeb packages.
my $udeb="";
$udeb = "udeb: " if s/^udeb:\s+//o;
@words = split(/\s+/o,$_);
@@ -323,7 +327,8 @@
tag "duplicate-entry-in-shlibs-control-file", $shlibs_string;
} else {
$shlibs_control{$shlibs_string} = 1;
- push (@shlibs_depends, join (' ', @words[2 .. $#words]));
+ push (@shlibs_depends, join (' ', @words[2 .. $#words]))
+ unless $udeb;
}
}
close(SHLIBS);
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-07-01 16:54:58 UTC (rev 920)
+++ trunk/debian/changelog 2007-07-02 17:01:00 UTC (rev 921)
@@ -3,8 +3,12 @@
* checks/scripts:
+ [RA] If rm output is redirected to /dev/null, don't think that rm is
removing /dev/null. Thanks, Robert Luberda. (Closes: #431259)
+ * checks/shared-libs:
+ + [RA] Exclude udebs from dependency checking in the shlibs files
+ since binary packages may legitimately declare udeb dependencies on
+ other packages. Thanks, Loïc Minier. (Closes: #431395)
- -- Russ Allbery <rra@debian.org> Sun, 01 Jul 2007 09:54:45 -0700
+ -- Russ Allbery <rra@debian.org> Mon, 02 Jul 2007 10:00:52 -0700
lintian (1.23.32) unstable; urgency=low
Reply to: