From 572989ecfe992db216c8cdcb569e40fb218a34b0 Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: Wed, 15 Oct 2014 23:36:46 +0200 Subject: [PATCH] restrict arches RDO only supports x86_64 Found in a CI job log: stderr: Cannot add package python-scss-1.2.1-1.el7.ppc64.rpm to transaction. Not a compatible architecture: ppc64 --- rdoupdate/bsources/koji_.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rdoupdate/bsources/koji_.py b/rdoupdate/bsources/koji_.py index d438586..44439fc 100644 --- a/rdoupdate/bsources/koji_.py +++ b/rdoupdate/bsources/koji_.py @@ -24,7 +24,11 @@ class KojiSource(BuildSource): tool = 'koji' def _download_build(self, build): - run(self.tool, 'download-build', build.id) + run(self.tool, 'download-build', + '--arch=noarch', + '--arch=src', + '--arch=x86_64', + build.id) def _build_available(self, build): o = run(self.tool, 'buildinfo', build.id, fatal=False)