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 upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 2%{?dist}
Release: 3%{?dist}
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
# not available. Turn off the rpmwheels bcond until
# 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
# Uses upstream bundled prebuilt wheels otherwise
# Only F39+ has a pip new enough to work with Python 3.12
%if 0%{?fedora} >= 39 || 0%{?rhel} >= 10
%bcond_with rpmwheels
%bcond_without rpmwheels
%else
%bcond_with rpmwheels
%endif
@ -127,10 +127,10 @@ Provides: bundled(python3dist(packaging)) = 23
}
# Expensive optimizations (mainly, profile-guided optimizations)
%bcond_with optimizations
%bcond_without optimizations
# Run the test suite in %%check
%bcond_with tests
%bcond_without tests
# Extra build for debugging the interpreter or C-API extensions
# (the -debug subpackages)
@ -1657,6 +1657,9 @@ CheckPython optimized
# ======================================================
%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
- Bootstrap for Python 3.12