Use the correct attribute of ComponentBuild.

Fixes #384.
This commit is contained in:
Ralph Bean
2017-03-02 17:03:46 -05:00
parent 6567d37b69
commit b7a99c5da8

View File

@@ -887,7 +887,7 @@ chmod 644 %buildroot/%_rpmconfigdir/macros.d/macros.modules
if 'mbs_module_name' not in task_opts:
task_opts['mbs_module_name'] = None
for c in component_builds:
if (c.name == task_opts['mbs_artifact_name'] and
if (c.package == task_opts['mbs_artifact_name'] and
c.tag == task_opts['mbs_module_name']):
tasks.append(task)