[libconfig-model-dpkg-perl] 01/04: Take also into account kfreebsd only packages (Closes: #875955)

dod at debian.org dod at debian.org
Mon Oct 16 11:37:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

dod pushed a commit to branch master
in repository libconfig-model-dpkg-perl.

commit 864dedcc49e4e94376880686cc8c0a12bec3696e
Author: Dominique Dumont <dod at debian.org>
Date:   Sun Oct 15 19:59:05 2017 +0200

    Take also into account kfreebsd only packages (Closes: #875955)
---
 lib/Config/Model/Dpkg/Dependency.pm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/Config/Model/Dpkg/Dependency.pm b/lib/Config/Model/Dpkg/Dependency.pm
index b24b62c..49ddfcb 100644
--- a/lib/Config/Model/Dpkg/Dependency.pm
+++ b/lib/Config/Model/Dpkg/Dependency.pm
@@ -975,6 +975,11 @@ sub extract_madison_info ($json) {
                 # see #841667: relevant pkg version is found in arch all or arch amd64
                 my @keep = grep { $_ eq 'all' or $_ eq 'amd64'} $arches->@*;
 
+                # except when a package is not delivered at all on amd64. See #875955
+                if (not @keep) {
+                    @keep = grep { $_ ne 'source' } $arches->@*;
+                }
+
                 # the same version may be available in several
                 # distributions (testing and unstable are more likely
                 # to have the same version for a package)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libconfig-model-dpkg-perl.git



More information about the Pkg-perl-cvs-commits mailing list