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 <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-09-17 08:47:21 +03:00
parent 8847b3750a
commit 3d427a5474
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
2 changed files with 5 additions and 2 deletions

View File

@ -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.

View File

@ -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 <davidlt@rivosinc.com> - 3.10-4.0.riscv64
- Change default Python to 3.9
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild