[SCM] Debian package checker branch, master, updated. 2.5.4-40-g07cc7a1
The following commit has been merged in the master branch:
commit 07cc7a1cbef8d0bdebd9aa9aa68fce592f4511e5
Author: Niels Thykier <niels@thykier.net>
Date: Thu Dec 8 15:34:01 2011 +0100
Made direct_dependencies properly handle udebs
This fixes an error that would cause lintian to skip some checks for
udebs.
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/debian/changelog b/debian/changelog
index f2e39cb..8fc8fb2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -82,6 +82,9 @@ lintian (2.5.5) UNRELEASED; urgency=low
* lib/Lintian/Collect/Binary.pm:
+ [NT] Fixed an error in parsing symbol names when using readelf
as replacement for objdump.
+ * lib/Lintian/Collect/Group.pm:
+ + [NT] Made direct_dependencies properly handle udebs. This fixes
+ an error that would cause lintian to skip some checks for udebs.
* lib/Lintian/Collect/Source.pm:
+ [NT] Removed assumption that source packages always have a
format field.
diff --git a/lib/Lintian/Collect/Group.pm b/lib/Lintian/Collect/Group.pm
index 7106f21..ff61e2d 100644
--- a/lib/Lintian/Collect/Group.pm
+++ b/lib/Lintian/Collect/Group.pm
@@ -44,12 +44,14 @@ sub direct_dependencies {
my $deps = $self->{'direct-dependencies'};
unless ($deps) {
my $group = $self->{'group'};
+ my @procs = $group->get_processables ('binary');
+ push @procs, $group->get_processables ('udeb');
$deps = {};
- foreach my $proc ($group->get_processables('binary')) {
+ foreach my $proc (@procs) {
my $pname = $proc->pkg_name;
my $relation = $proc->info->relation('strong');
my $d = [];
- foreach my $oproc ($group->get_processables('binary')) {
+ foreach my $oproc (@procs) {
my $opname = $oproc->pkg_name;
# Ignore self deps - we have checks for that and it
# will just end up complicating "correctness" of
--
Debian package checker
Reply to: