Update to 3.9.0b2

Patches 349 and 350 already merged.
This commit is contained in:
Miro Hrončok 2020-06-09 11:36:59 +02:00
commit d860201a1f
10 changed files with 17 additions and 488 deletions

View file

@ -14,10 +14,10 @@ URL: https://www.python.org/
# WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well
%global general_version %{pybasever}.0
%global prerel b1
%global prerel b2
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 4%{?dist}
Release: 1%{?dist}
License: Python
@ -283,18 +283,6 @@ Patch274: 00274-fix-arch-names.patch
# Ideally, we should talk to upstream and explain why we don't want this
Patch328: 00328-pyc-timestamp-invalidation-mode.patch
# 00349 #
# Ensure Py_VISIT(Py_TYPE(self)) is always called from tp_traverse of heap types
# See https://bugs.python.org/issue40217
# Merged upstream, planned for Python 3.9.0b2
Patch349: 00349-Ensure-Py_VISIT-Py_TYPE-self-is-always-called-.patch
# 00350 #
# Ensure Py_VISIT(Py_TYPE(self)) is always called from tp_traverse of heap types
# See https://bugs.python.org/issue40217
# Merged upstream, planned for Python 3.9.0b2
Patch350: 00350-Fix-sqlite3-deterministic-test.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -649,8 +637,6 @@ rm Lib/ensurepip/_bundled/*.whl
%patch251 -p1
%patch274 -p1
%patch328 -p1
%patch349 -p1
%patch350 -p1
# Remove files that should be generated by the build
@ -1330,6 +1316,7 @@ CheckPython optimized
%{pylibdir}/urllib
%{pylibdir}/xml
%{pylibdir}/zoneinfo
%if "%{_lib}" == "lib64"
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}
@ -1598,6 +1585,9 @@ CheckPython optimized
# ======================================================
%changelog
* Tue Jun 09 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~b2-1
- Update to 3.9.0b2
* Fri May 29 2020 Petr Viktorin <pviktori@redhat.com> - 3.9.0~b1-4
- Add cherry-picks for bugs found in 3.9.0b1