mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-03 05:03:43 +08:00
devel modules require non-devel, not themselves
Fixes https://pagure.io/fm-orchestrator/issue/1676
This commit is contained in:
@@ -687,11 +687,12 @@ class KojiContentGenerator(object):
|
||||
mmd = self._sanitize_mmd(self.module.mmd())
|
||||
if self.devel:
|
||||
# Set the new name
|
||||
mmd = mmd.copy(mmd.get_module_name() + "-devel")
|
||||
orig_name = mmd.get_module_name()
|
||||
mmd = mmd.copy(orig_name + "-devel")
|
||||
|
||||
# Depend on the actual module
|
||||
for dep in mmd.get_dependencies():
|
||||
dep.add_runtime_stream(mmd.get_module_name(), mmd.get_stream_name())
|
||||
dep.add_runtime_stream(orig_name, mmd.get_stream_name())
|
||||
|
||||
# Delete API and profiles
|
||||
for rpm in mmd.get_rpm_api():
|
||||
|
||||
Reference in New Issue
Block a user