Prepare support for Python 3.12

epel8
Miro Hrončok 12 months ago
parent b52ef20b2b
commit d4a234f1e2

@ -1,6 +1,6 @@
Name: epel-rpm-macros Name: epel-rpm-macros
Version: 8 Version: 8
Release: 40 Release: 41
Summary: Extra Packages for Enterprise Linux RPM macros Summary: Extra Packages for Enterprise Linux RPM macros
# import_all_modules.py: MIT # 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. # 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. # 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. # 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 # We use weak dependencies here in order to avoid creating conflicts between
# the different python3X-devel packages. # the different python3X-devel packages.
Recommends: (python36-rpm-macros if python36-devel) Recommends: (python36-rpm-macros if python36-devel)
Suggests: (python38-rpm-macros if python38-devel) Suggests: (python38-rpm-macros if python38-devel)
Suggests: (python39-rpm-macros if python39-devel) Suggests: (python39-rpm-macros if python39-devel)
Suggests: (python3.11-rpm-macros if python3.11-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 # # python3-rpm-generators is already pulled in by python3X-devel
# (indirectly through platform-python-devel by python36-devel and directly by the rest), # (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. # 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 %changelog
* Wed Jan 03 2024 Miro Hrončok <mhroncok@redhat.com> - 8-41
- Prepare support for Python 3.12
* Fri Oct 06 2023 Orion Poplawski <orion@nwra.com> - 8-40 * Fri Oct 06 2023 Orion Poplawski <orion@nwra.com> - 8-40
- Add full %%py3_check_import macro - Add full %%py3_check_import macro

Loading…
Cancel
Save