From 3d427a547477952fe8269ee43a63452f00b0df58 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Sat, 17 Sep 2022 08:47:21 +0300 Subject: [PATCH] Change default Python 3.9 This is what we have in Fedora/RISCV 33. We need to clean up before 3.9 -> 3.11 jump. Signed-off-by: David Abdurachmanov --- macros.python-srpm | 2 +- python-rpm-macros.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/macros.python-srpm b/macros.python-srpm index 7104f7f..e99b96e 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.11 +%__default_python3_version 3.9 # # 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 d90b4e8..0402470 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: 4%{?dist} +Release: 4.0.riscv64%{?dist} BuildArch: noarch @@ -151,6 +151,9 @@ grep -E '^#[^%%]*%%[^%%]' %{buildroot}%{rpmmacrodir}/macros.* && exit 1 || true %changelog +* Sat Sep 17 2022 David Abdurachmanov - 3.10-4.0.riscv64 +- Change default Python to 3.9 + * Fri Jul 22 2022 Fedora Release Engineering - 3.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild