From b7a99c5da84a0a4f02ad338947a2de58dead8491 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 2 Mar 2017 17:03:46 -0500 Subject: [PATCH] Use the correct attribute of ComponentBuild. Fixes #384. --- module_build_service/builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_build_service/builder.py b/module_build_service/builder.py index 7c7b1bf7..2c1f6a86 100644 --- a/module_build_service/builder.py +++ b/module_build_service/builder.py @@ -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)