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

incorrectly reporting dbg-package-missing-depends



Hey folks,

lintian is telling me that my library has missing values in the Depends
field.  This seems to be because there is an assumption that these deps
will be architecture-specific.  This is not the case in IronRuby and
IronPython:

http://git.debian.org/?p=pkg-cli-libs/packages/dlr-languages.git;a=blob;f=debian/control;h=ba06ab70129aac92be71d98ec044c27f4f0328ae;hb=5dfefe868a6ccb59935359ae45eadb691f774e12

The following diff is probably sub-optimal, but it will make my
particular problem go away.

Cheers,

C.J.

===

$ git diff 
diff --git a/checks/fields b/checks/fields
index 6f93052..5e9ce59 100644
--- a/checks/fields
+++ b/checks/fields
@@ -771,6 +771,7 @@ if ($type eq "source") {
                }
        }
        foreach (@dbg_pkgs) {
+               last unless @arch_dep_pkgs;
                my $deps;
                $deps  = $info->binary_field($_, 'pre-depends') . ', ';
                $deps .= $info->binary_field($_, 'depends');

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: