Allow to call Py_Main() after Py_Initialize()

Resolves: rhbz#1595421
This commit is contained in:
Miro Hrončok 2018-07-20 17:47:22 +02:00
commit 37437e1d44
2 changed files with 162 additions and 1 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
Version: %{pybasever}.0
Release: 3%{?dist}
Release: 4%{?dist}
License: Python
@ -311,6 +311,12 @@ 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
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -628,6 +634,7 @@ sed -r -i s/'_PIP_VERSION = "[0-9.]+"'/'_PIP_VERSION = "%{pip_version}"'/ Lib/en
%patch251 -p1
%patch274 -p1
%patch291 -p1
%patch307 -p1
# Remove files that should be generated by the build
@ -1514,6 +1521,10 @@ CheckPython optimized
# ======================================================
%changelog
* Fri Jul 20 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-4
- Allow to call Py_Main() after Py_Initialize()
Resolves: rhbz#1595421
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild