From cfbe031218d5684342ff93831e8c1f5bff4eba45 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 10 Sep 2018 20:47:55 -0400 Subject: [PATCH] Fix bug breaking local builds. This bug was reported by @nphilipp here https://bodhi.fedoraproject.org/updates/FEDORA-2018-c9c3a37d96 The issue is that the `record_filtered_rpms` method returns a new xmd buildrequires block, but whole buildrequires entries were omitted in the return value for local builds. This one-liner includes them again. --- module_build_service/utils/submit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/module_build_service/utils/submit.py b/module_build_service/utils/submit.py index 95f30607..ac704407 100644 --- a/module_build_service/utils/submit.py +++ b/module_build_service/utils/submit.py @@ -59,6 +59,7 @@ def record_filtered_rpms(mmd): # In case this is module resubmit or local build, the filtered_rpms # will already be there, so there is no point in generating them again. if "filtered_rpms" in req_data: + new_buildrequires[req_name] = req_data continue # We can just get the first modulemd data from result right here thanks to