Update to 3.7.1

Removed patches due to being upstreamed: 307, 308

Rebased patches: 170
This commit is contained in:
Miro Hrončok 2018-10-01 16:05:20 +02:00
commit d533a32456
5 changed files with 16 additions and 361 deletions

View file

@ -13,8 +13,8 @@ URL: https://www.python.org/
# WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well
Version: %{pybasever}.0
Release: 10%{?dist}
Version: %{pybasever}.1
Release: 1%{?dist}
License: Python
@ -196,7 +196,7 @@ BuildRequires: python-pip-wheel
# Source code and patches
# =======================
Source: https://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
Source: https://www.python.org/ftp/python/%{version}/Python-%{version}%{?prerel}.tar.xz
# A simple script to check timestamps of bytecode files
# Run in check section with Python that is currently being built
@ -305,21 +305,6 @@ Patch274: 00274-fix-arch-names.patch
# and: https://src.fedoraproject.org/rpms/redhat-rpm-config/c/078af19
Patch291: 00291-setup-Link-ctypes-against-dl-explicitly.patch
# 00307 #
# Allow to call Py_Main() after Py_Initialize()
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1595421
# and: https://bugs.python.org/issue34008
Patch307: 00307-allow-to-call-Py_Main-after-Py_Initialize.patch
# 00308 #
# TLS 1.3 related fixes from upstream:
# https://github.com/python/cpython/pull/8762
# https://github.com/python/cpython/pull/8787
# And a workaround before openssl is 1.1.1-pre9:
# https://bugzilla.redhat.com/show_bug.cgi?id=1609291#c12
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1609291
Patch308: 00308-tls-1.3.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -650,8 +635,6 @@ rm Lib/ensurepip/_bundled/*.whl
%patch251 -p1
%patch274 -p1
%patch291 -p1
%patch307 -p1
%patch308 -p1
# Remove files that should be generated by the build
@ -1551,6 +1534,9 @@ CheckPython optimized
# ======================================================
%changelog
* Mon Oct 22 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-1
- Update to 3.7.1
* Thu Sep 27 2018 Petr Viktorin <pviktori@redhat.com> - 3.7.0-10
- Compile the debug build with -Og rather than -O0