From 8f802af859dbb124ff22201c1b455625a26bce39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 18 Jul 2024 13:55:35 +0200 Subject: [PATCH] Add explicit RPM Provides for /usr/libexec/platform-python Resolves: RHEL-48605 --- python3.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/python3.spec b/python3.spec index 39ef190..0e7f94e 100644 --- a/python3.spec +++ b/python3.spec @@ -14,7 +14,7 @@ URL: https://www.python.org/ # WARNING When rebasing to a new Python version, # remember to update the python3-docs package as well Version: %{pybasever}.8 -Release: 63%{?dist} +Release: 64%{?dist} License: Python @@ -905,6 +905,14 @@ Conflicts: python3 < 3.6.6-13 # depend on python(abi). Provide that here. Provides: python(abi) = %{pybasever} +# With https://fedoraproject.org/wiki/Changes/DNFConditionalFilelists +# it is no longer possible to Require paths from %%_libexecdir +# However, python3-dnf requires this path +# and that breaks the mock bootstrap chroot for rhel-8 on on Fedora 40+. +# Fixes https://issues.redhat.com/browse/RHEL-48605 +# Fixes https://pagure.io/releng/issue/12199 +Provides: %{_libexecdir}/platform-python + Requires: %{name}-libs%{?_isa} = %{version}-%{release} %if %{with rpmwheels} @@ -2170,6 +2178,10 @@ fi # ====================================================== %changelog +* Thu Jul 18 2024 Miro Hrončok - 3.6.8-64 +- Add explicit RPM Provides for /usr/libexec/platform-python +Resolves: RHEL-48605 + * Thu Jul 04 2024 Lumír Balhar - 3.6.8-63 - Security fix for CVE-2024-4032 Resolves: RHEL-44060