handle buildSRPMFromSCM tasks the same way as noarch buildArch tasks, when the tag archlist is a subset of the current builder arches
This commit is contained in:
parent
c8808cfa22
commit
f317d39381
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ def make_task(method,arglist,**opts):
|
|||
opts['label'] = None
|
||||
opts['parent'] = None
|
||||
#XXX - temporary workaround
|
||||
if method == 'buildArch' and opts['arch'] == 'noarch':
|
||||
if method in ('buildArch', 'buildSRPMFromSCM') and opts['arch'] == 'noarch':
|
||||
#not all arches can generate a proper buildroot for all tags
|
||||
tag = get_tag(arglist[1])
|
||||
#get all known arches for the system
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue