Rebuilt for Python 3.12

This commit is contained in:
Python Maint 2023-06-13 17:23:48 +02:00 committed by Tomáš Hrnčiar
parent 8b139823bd
commit 5b9ff3722c
1 changed files with 8 additions and 5 deletions

View File

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel b2 %global prerel b2
%global upstream_version %{general_version}%{?prerel} %global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}} Version: %{general_version}%{?prerel:~%{prerel}}
Release: 2%{?dist} Release: 3%{?dist}
License: Python-2.0.1 License: Python-2.0.1
@ -58,13 +58,13 @@ License: Python-2.0.1
# IMPORTANT: When bootstrapping, it's very likely python-pip-wheel is # IMPORTANT: When bootstrapping, it's very likely python-pip-wheel is
# not available. Turn off the rpmwheels bcond until # not available. Turn off the rpmwheels bcond until
# python-pip is built with a wheel to get around the issue. # python-pip is built with a wheel to get around the issue.
%bcond_without bootstrap %bcond_with bootstrap
# Whether to use RPM build wheels from the python-{pip,setuptools,wheel}-wheel packages # Whether to use RPM build wheels from the python-{pip,setuptools,wheel}-wheel packages
# Uses upstream bundled prebuilt wheels otherwise # Uses upstream bundled prebuilt wheels otherwise
# Only F39+ has a pip new enough to work with Python 3.12 # Only F39+ has a pip new enough to work with Python 3.12
%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10 %if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
%bcond_with rpmwheels %bcond_without rpmwheels
%else %else
%bcond_with rpmwheels %bcond_with rpmwheels
%endif %endif
@ -127,10 +127,10 @@ Provides: bundled(python3dist(packaging)) = 23
} }
# Expensive optimizations (mainly, profile-guided optimizations) # Expensive optimizations (mainly, profile-guided optimizations)
%bcond_with optimizations %bcond_without optimizations
# Run the test suite in %%check # Run the test suite in %%check
%bcond_with tests %bcond_without tests
# Extra build for debugging the interpreter or C-API extensions # Extra build for debugging the interpreter or C-API extensions
# (the -debug subpackages) # (the -debug subpackages)
@ -1657,6 +1657,9 @@ CheckPython optimized
# ====================================================== # ======================================================
%changelog %changelog
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.12.0~b2-3
- Rebuilt for Python 3.12
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.12.0~b2-2 * Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.12.0~b2-2
- Bootstrap for Python 3.12 - Bootstrap for Python 3.12