forked from rpms/python-rpm-macros
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:
parent
8847b3750a
commit
3d427a5474
@ -17,7 +17,7 @@
|
|||||||
# There are two macros:
|
# There are two macros:
|
||||||
#
|
#
|
||||||
# This always contains the major.minor version (with dots), default for %%python3_version.
|
# 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),
|
# 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.
|
# set to the same as above, but historically hasn't included the dot.
|
||||||
|
@ -49,7 +49,7 @@ elseif posix.stat('macros.python-srpm') then
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
Version: %{__default_python3_version}
|
Version: %{__default_python3_version}
|
||||||
Release: 4%{?dist}
|
Release: 4.0.riscv64%{?dist}
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -151,6 +151,9 @@ grep -E '^#[^%%]*%%[^%%]' %{buildroot}%{rpmmacrodir}/macros.* && exit 1 || true
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user