From: Michael Tremer Date: Wed, 1 Feb 2012 23:43:00 +0000 (+0100) Subject: Fix saving the supported architectures to source packages. X-Git-Tag: 0.9.20~14^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3130d4bf2e179c1c6efb3f5553bf402f647f1d1;p=pakfire.git Fix saving the supported architectures to source packages. --- 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")