Package: cli-common-dev Version: 0.9+nmu1 Dear maintainer,
dh_clideps supports four types of override - suggests, depends, recommends, and ignores. It seems logic for ignores is faulty - whilst the override loading code acknowledges the override, it doesn't act upon it (i.e. it knows it should ignore, and immediately adds a dependency anyway). The attached patch resolves the issue. Sent from Outlook<http://aka.ms/weboutlook>
diff --git a/dh_clideps b/dh_clideps index 18486ed..d10bdc7 100755 --- a/dh_clideps +++ b/dh_clideps @@ -535,6 +535,9 @@ sub resolveOverride { } else { $newpkgref = $pkgref; } + if ($1 eq "ignores") { + $newpkgref = ""; + } } verbose_print("resolved pkgref: $pkgref to $type: $newpkgref"); $ret{$type} = $newpkgref;