Merge #23 Update to 3.9.0a4

This commit is contained in:
Marcel Plch 2020-03-02 12:07:28 +00:00
commit 2d49fce8f2
11 changed files with 32 additions and 108 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 a3
%global prerel a4
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 2%{?dist}
Release: 1%{?dist}
License: Python
@ -276,20 +276,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
# 00340 #
# Add test.test_import.data.unwritable package to makefile
# Fixed upstream: https://bugs.python.org/issue39459
Patch340: 00340-makefile-missing-test.patch
# 00341 #
# Fix test_zipfile.test_add_file_after_2107()
# XFS filesystem is limited to 32-bit timestamp, but the utimensat()
# syscall doesn't fail. Moreover, there is a VFS bug which returns
# a cached timestamp which is different than the value on disk.
# Workarounds https://bugzilla.redhat.com/show_bug.cgi?id=1795576
# Workarounded upstream: https://bugs.python.org/issue39460
Patch341: 00341-bpo-39460.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -637,8 +623,6 @@ rm Lib/ensurepip/_bundled/*.whl
%patch251 -p1
%patch274 -p1
%patch328 -p1
%patch340 -p1
%patch341 -p1
# Remove files that should be generated by the build
@ -708,6 +692,9 @@ BuildPython() {
# Since we changed directories, we need to tell %%configure where to look.
%global _configure $topdir/configure
# A workaround for https://bugs.python.org/issue39761
export DFLAGS=" "
%configure \
--enable-ipv6 \
--enable-shared \
@ -1593,6 +1580,9 @@ CheckPython optimized
# ======================================================
%changelog
* Thu Feb 27 2020 Marcel Plch <mplch@redhat.com> - 3.9.0~a4-1
- Update to Python 3.9.0a4
* Tue Feb 11 2020 Miro Hrončok <mhroncok@redhat.com> - 3.9.0~a3-2
- Update the ensurepip module to work with setuptools >= 45