Rebased to Python 3.8.0b4
Patch 189 rebased for new setuptools/pip version. Patch 331 added to fix clang: https://bugzilla.redhat.com/show_bug.cgi?id=1715016 importlib.metadata is now a simple module, not a folder.
This commit is contained in:
parent
8f6e3122a8
commit
4352870f13
10 changed files with 282 additions and 30 deletions
|
|
@ -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 b3
|
||||
%global prerel b4
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 2%{?dist}
|
||||
Release: 1%{?dist}
|
||||
License: Python
|
||||
|
||||
|
||||
|
|
@ -261,6 +261,13 @@ 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.,
|
||||
|
|
@ -373,8 +380,8 @@ Summary: Python runtime libraries
|
|||
Requires: python-setuptools-wheel
|
||||
Requires: python-pip-wheel
|
||||
%else
|
||||
Provides: bundled(python3-pip) = 19.2.1
|
||||
Provides: bundled(python3-setuptools) = 41.0.1
|
||||
Provides: bundled(python3-pip) = 19.2.3
|
||||
Provides: bundled(python3-setuptools) = 41.2.0
|
||||
%endif
|
||||
|
||||
%{?python_provide:%python_provide python3-libs}
|
||||
|
|
@ -550,8 +557,8 @@ The debug runtime additionally supports debug builds of C-API extensions
|
|||
Requires: python-setuptools-wheel
|
||||
Requires: python-pip-wheel
|
||||
%else
|
||||
Provides: bundled(python3-pip) = 19.2.1
|
||||
Provides: bundled(python3-setuptools) = 41.0.1
|
||||
Provides: bundled(python3-pip) = 19.2.3
|
||||
Provides: bundled(python3-setuptools) = 41.2.0
|
||||
%endif
|
||||
|
||||
# The description for the flat package
|
||||
|
|
@ -597,6 +604,7 @@ rm Lib/ensurepip/_bundled/*.whl
|
|||
%patch251 -p1
|
||||
%patch274 -p1
|
||||
%patch328 -p1
|
||||
%patch331 -p1
|
||||
|
||||
|
||||
# Remove files that should be generated by the build
|
||||
|
|
@ -1163,6 +1171,7 @@ CheckPython optimized
|
|||
%{dynload_dir}/_socket.%{SOABI_optimized}.so
|
||||
%{dynload_dir}/_sqlite3.%{SOABI_optimized}.so
|
||||
%{dynload_dir}/_ssl.%{SOABI_optimized}.so
|
||||
%{dynload_dir}/_statistics.%{SOABI_optimized}.so
|
||||
%{dynload_dir}/_struct.%{SOABI_optimized}.so
|
||||
%{dynload_dir}/array.%{SOABI_optimized}.so
|
||||
%{dynload_dir}/audioop.%{SOABI_optimized}.so
|
||||
|
|
@ -1239,11 +1248,6 @@ CheckPython optimized
|
|||
%{pylibdir}/importlib/*.py
|
||||
%{pylibdir}/importlib/__pycache__/*%{bytecode_suffixes}
|
||||
|
||||
%dir %{pylibdir}/importlib/metadata/
|
||||
%dir %{pylibdir}/importlib/metadata/__pycache__/
|
||||
%{pylibdir}/importlib/metadata/*.py
|
||||
%{pylibdir}/importlib/metadata/__pycache__/*%{bytecode_suffixes}
|
||||
|
||||
%dir %{pylibdir}/json/
|
||||
%dir %{pylibdir}/json/__pycache__/
|
||||
%{pylibdir}/json/*.py
|
||||
|
|
@ -1441,6 +1445,7 @@ CheckPython optimized
|
|||
%{dynload_dir}/_socket.%{SOABI_debug}.so
|
||||
%{dynload_dir}/_sqlite3.%{SOABI_debug}.so
|
||||
%{dynload_dir}/_ssl.%{SOABI_debug}.so
|
||||
%{dynload_dir}/_statistics.%{SOABI_debug}.so
|
||||
%{dynload_dir}/_struct.%{SOABI_debug}.so
|
||||
%{dynload_dir}/array.%{SOABI_debug}.so
|
||||
%{dynload_dir}/audioop.%{SOABI_debug}.so
|
||||
|
|
@ -1522,7 +1527,8 @@ CheckPython optimized
|
|||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Sat Aug 31 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~b3-2
|
||||
* 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)
|
||||
|
||||
* Mon Jul 29 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~b3-1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue