mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-10 22:29:44 +08:00
Use the actual name from the NVR instead of component.package when reusing components
The name from the NVR and the name from the component may be different based on the macros being used as part of the build. SCLs are a great example of this.
This commit is contained in:
@@ -67,7 +67,7 @@ def reuse_component(component, previous_component_build,
|
||||
build_id=None,
|
||||
task_id=component.task_id,
|
||||
build_new_state=previous_component_build.state,
|
||||
build_name=component.package,
|
||||
build_name=nvr_dict['name'],
|
||||
build_version=nvr_dict['version'],
|
||||
build_release=nvr_dict['release'],
|
||||
module_build_id=component.module_id,
|
||||
|
||||
Reference in New Issue
Block a user