Python 3.10

https://fedoraproject.org/wiki/Changes/Python3.10
This commit is contained in:
Miro Hrončok 2021-06-01 15:57:22 +02:00
parent 2b43f896af
commit 3a654e3bed
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -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 <mhroncok@redhat.com> - 3.10-1
- Update main Python to Python 3.10
- https://fedoraproject.org/wiki/Changes/Python3.10
* Tue Apr 27 2021 Miro Hrončok <mhroncok@redhat.com> - 3.9-38
- Escape %% symbols in macro files comments
- Fixes: rhbz#1953910