From 3a654e3bed3f73c530c49fcf21d8d323614baff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 1 Jun 2021 15:57:22 +0200 Subject: [PATCH] Python 3.10 https://fedoraproject.org/wiki/Changes/Python3.10 --- 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 f6f1db6..844dfeb 100644 --- a/macros.python-srpm +++ b/macros.python-srpm @@ -36,7 +36,7 @@ # There are two macros: # # This always contains the major.minor version (with dots), default for %%python3_version. -%__default_python3_version 3.9 +%__default_python3_version 3.10 # # 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 55681ec..c3e5e19 100644 --- a/python-rpm-macros.spec +++ b/python-rpm-macros.spec @@ -29,7 +29,7 @@ elseif posix.stat('macros.python-srpm') then end } Version: %{__default_python3_version} -Release: 38%{?dist} +Release: 1%{?dist} BuildArch: noarch @@ -107,6 +107,10 @@ install -m 644 compileall2.py %{buildroot}%{_rpmconfigdir}/redhat/ %changelog +* Tue Jun 01 2021 Miro Hrončok - 3.10-1 +- Update main Python to Python 3.10 +- https://fedoraproject.org/wiki/Changes/Python3.10 + * Tue Apr 27 2021 Miro Hrončok - 3.9-38 - Escape %% symbols in macro files comments - Fixes: rhbz#1953910