Rebased to Python 3.8.0rc1

Rebased patches: 102
Removed patches already merged upstream: 331
This commit is contained in:
Miro Hrončok 2019-10-01 23:05:55 +02:00
commit 8e2dbb0fbf
10 changed files with 34 additions and 285 deletions

View file

@ -14,7 +14,7 @@ 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 b4
%global prerel rc1
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
@ -261,13 +261,6 @@ Patch274: 00274-fix-arch-names.patch
# See https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/57#comment-27426
Patch328: 00328-pyc-timestamp-invalidation-mode.patch
# 00331 #
# Fix StructUnionType_paramfunc()
# Fix a ctypes regression of Python 3.8
# Merged upstream https://bugs.python.org/issue37140
# Fixes clang FTBFS https://bugzilla.redhat.com/show_bug.cgi?id=1715016
Patch331: 00331-fix-structuniontype_paramfunc.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -604,7 +597,6 @@ rm Lib/ensurepip/_bundled/*.whl
%patch251 -p1
%patch274 -p1
%patch328 -p1
%patch331 -p1
# Remove files that should be generated by the build
@ -1527,6 +1519,9 @@ CheckPython optimized
# ======================================================
%changelog
* Tue Oct 01 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~rc1-1
- Rebased to Python 3.8.0rc1
* Sat Aug 31 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~b4-1
- Rebased to Python 3.8.0b4
- Enable Profile-guided optimization for all arches, not just x86 (#1741015)