From 9f00759e02ce647a5ee3d3ca3fd5e0b4bd92c6e9 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 4 Aug 2016 12:40:36 +0200 Subject: [PATCH] Support arm packages in pkg-prefer --- osc/util/packagequery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/util/packagequery.py b/osc/util/packagequery.py index 950f222c..d3add697 100644 --- a/osc/util/packagequery.py +++ b/osc/util/packagequery.py @@ -14,8 +14,8 @@ class PackageQueries(dict): wanted architecture and if it has a greater version than the current value. """ - # map debian arches to common obs arches - architectureMap = {'i386': ['i586', 'i686'], 'amd64': ['x86_64'], 'ppc64el': ['ppc64le']} + # map debian and rpm arches to common obs arches + architectureMap = {'i386': ['i586', 'i686'], 'amd64': ['x86_64'], 'ppc64el': ['ppc64le'], 'armv6hl': ['armv6l'], 'armv7hl': ['armv7l']} def __init__(self, wanted_architecture): self.wanted_architecture = wanted_architecture