From d2efe47850eea2334d3303ca0347bb0ea6bc03ee Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 16 Feb 2024 21:20:31 +0100 Subject: [PATCH] copr-builders: fix the hot-fix for https://github.com/fedora-copr/copr/pull/3144 --- .../copr/backend/files/provision/files/mock-custom-build.cfg.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/copr/backend/files/provision/files/mock-custom-build.cfg.j2 b/roles/copr/backend/files/provision/files/mock-custom-build.cfg.j2 index dee8aebeda..9e161bcf8a 100644 --- a/roles/copr/backend/files/provision/files/mock-custom-build.cfg.j2 +++ b/roles/copr/backend/files/provision/files/mock-custom-build.cfg.j2 @@ -3,7 +3,7 @@ config_opts['rpmbuild_networking'] = True config_opts['use_host_resolv'] = True {# Hotfix for https://github.com/fedora-copr/copr/issues/3140 #} -{%- if not chroot.startswith("fedora-rawhide-") %} +{%- if not chroot.startswith("fedora-rawhide-") and not "fedora-40" in chroot %} # We don't do 'dnf builddep' for the custom method, so we don't need to install # python3-dnf-plugins core or dnf5-plugins at all. config_opts["bootstrap_image_ready"] = True