From b8b5cb92da8974aad9bd231f16b8eb31db7ab14c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Mon, 13 Jun 2022 11:23:37 +0200 Subject: [PATCH] Python 3.11 https://fedoraproject.org/wiki/Changes/Python3.11 --- macros.python-srpm | 2 +- python-rpm-macros.spec | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/macros.python-srpm b/macros.python-srpm index ad6a0f6..7104f7f 100644 --- a/macros.python-srpm +++ b/macros.python-srpm @@ -17,7 +17,7 @@ # There are two macros: # # This always contains the major.minor version (with dots), default for %%python3_version. -%__default_python3_version 3.10 +%__default_python3_version 3.11 # # The pkgname version that determines the alternative provide name (e.g. python3.9-foo), # set to the same as above, but historically hasn't included the dot. diff --git a/python-rpm-macros.spec b/python-rpm-macros.spec index ed58330..126fdca 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -49,7 +49,7 @@ elseif posix.stat('macros.python-srpm') then end } Version: %{__default_python3_version} -Release: 18%{?dist} +Release: 1%{?dist} BuildArch: noarch @@ -151,6 +151,10 @@ grep -E '^#[^%%]*%%[^%%]' %{buildroot}%{rpmmacrodir}/macros.* && exit 1 || true %changelog +* Mon Jun 13 2022 Tomáš Hrnčiar - 3.11-1 +- Update main Python to Python 3.11 +- https://fedoraproject.org/wiki/Changes/Python3.11 + * Thu May 26 2022 Owen Taylor - 3.10-18 - Support installing to %%{_prefix} other than /usr