From f04ad580dab4ab8561db9a0d304b02b8ee8577da Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Thu, 31 Oct 2024 12:07:06 -0500 Subject: [PATCH] Restore dnf_builddep_opts Fixes #1496 --- mock/py/mockbuild/config.py | 2 +- releng/release-notes-next/restore-dnf_builddep_opts.bugfix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 releng/release-notes-next/restore-dnf_builddep_opts.bugfix diff --git a/mock/py/mockbuild/config.py b/mock/py/mockbuild/config.py index 533d9f3ce..1f95a7551 100644 --- a/mock/py/mockbuild/config.py +++ b/mock/py/mockbuild/config.py @@ -54,7 +54,7 @@ def setup_default_config_opts(): alt_opts = {'dnf.conf': ['yum.conf', 'dnf5.conf', 'dnf4.conf']} for alt in ["dnf_command", "dnf_common_opts", "dnf_install_command", - "dnf_disable_plugins", "dnf_avoid_opts"]: + "dnf_disable_plugins", "dnf_avoid_opts", "dnf_builddep_opts"]: alt_opts[alt.replace("dnf", "dnf4")] = [alt] for pm in ["dnf4", "dnf5", "yum", "microdnf"]: diff --git a/releng/release-notes-next/restore-dnf_builddep_opts.bugfix b/releng/release-notes-next/restore-dnf_builddep_opts.bugfix new file mode 100644 index 000000000..0a4c77647 --- /dev/null +++ b/releng/release-notes-next/restore-dnf_builddep_opts.bugfix @@ -0,0 +1 @@ +Regression introduced in Mock v5.7 that ignored the `dnf_builddep_opts` configuration is now fixed.