From d4a234f1e2467992c9be36252e7a070ac324d7c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 3 Jan 2024 18:57:47 +0100 Subject: [PATCH] Prepare support for Python 3.12 --- epel-rpm-macros.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/epel-rpm-macros.spec b/epel-rpm-macros.spec index bc2e324..5db6de2 100644 --- a/epel-rpm-macros.spec +++ b/epel-rpm-macros.spec @@ -1,6 +1,6 @@ Name: epel-rpm-macros Version: 8 -Release: 40 +Release: 41 Summary: Extra Packages for Enterprise Linux RPM macros # import_all_modules.py: MIT @@ -45,13 +45,14 @@ Requires: (python2-rpm-macros if python2-devel) # Make sure EPEL8's Python 3 packages use /usr/bin/python3.{6,8,9} instead of /usr/libexec/platform-python. # This will install the python3X-rpm-macros version corresponding to the python3X-devel version installed. # If multiple versions are installed together, it will prefer python36-rpm-macros, the default Python version. -Requires: (python-modular-rpm-macros if (python36-devel or python38-devel or python39-devel or python3.11-devel)) +Requires: (python-modular-rpm-macros if (python36-devel or python38-devel or python39-devel or python3.11-devel or python3.12-devel)) # We use weak dependencies here in order to avoid creating conflicts between # the different python3X-devel packages. Recommends: (python36-rpm-macros if python36-devel) Suggests: (python38-rpm-macros if python38-devel) Suggests: (python39-rpm-macros if python39-devel) Suggests: (python3.11-rpm-macros if python3.11-devel) +Suggests: (python3.12-rpm-macros if python3.12-devel) # # python3-rpm-generators is already pulled in by python3X-devel # (indirectly through platform-python-devel by python36-devel and directly by the rest), # but we explictly Require it here, as it's needed by pythondist.attr. @@ -137,6 +138,9 @@ install -Dpm 644 %{SOURCE302} %{buildroot}%{_rpmconfigdir}/redhat/ %changelog +* Wed Jan 03 2024 Miro HronĨok - 8-41 +- Prepare support for Python 3.12 + * Fri Oct 06 2023 Orion Poplawski - 8-40 - Add full %%py3_check_import macro