From a3130d4bf2e179c1c6efb3f5553bf402f647f1d1 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 2 Feb 2012 00:43:00 +0100 Subject: [PATCH] Fix saving the supported architectures to source packages. --- python/pakfire/packages/make.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pakfire/packages/make.py b/python/pakfire/packages/make.py index ca64ed3d6..b81ae32a5 100644 --- a/python/pakfire/packages/make.py +++ b/python/pakfire/packages/make.py @@ -183,7 +183,7 @@ class MakefileBase(Package): """ # If the package architecture is "noarch", the package # needs only to be built for that. - if self.arch == "noarch": + if self.lexer.get_var("arch", "all") == "noarch": return "noarch" return self.lexer.get_var("sup_arches", "all") -- 2.39.5