|
|
1163ee |
# ==================
|
|
|
1163ee |
# Top-level metadata
|
|
|
1163ee |
# ==================
|
|
|
1163ee |
|
|
|
1163ee |
Name: python3
|
|
|
1163ee |
Summary: Interpreter of the Python programming language
|
|
|
1163ee |
URL: https://www.python.org/
|
|
|
1163ee |
|
|
|
1163ee |
%global pybasever 3.6
|
|
|
1163ee |
|
|
|
1163ee |
# pybasever without the dot:
|
|
|
1163ee |
%global pyshortver 36
|
|
|
1163ee |
|
|
|
1163ee |
# WARNING When rebasing to a new Python version,
|
|
|
1163ee |
# remember to update the python3-docs package as well
|
|
|
1163ee |
Version: %{pybasever}.8
|
|
|
6d5c51 |
Release: 51%{?dist}
|
|
|
1163ee |
License: Python
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# ==================================
|
|
|
1163ee |
# Conditionals controlling the build
|
|
|
1163ee |
# ==================================
|
|
|
1163ee |
|
|
|
1163ee |
# Note that the bcond macros are named for the CLI option they create.
|
|
|
1163ee |
# "%%bcond_without" means "ENABLE by default and create a --without option"
|
|
|
1163ee |
|
|
|
b9ffd2 |
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
|
|
|
b9ffd2 |
# Uses upstream bundled prebuilt wheels otherwise
|
|
|
b9ffd2 |
%bcond_without rpmwheels
|
|
|
b9ffd2 |
|
|
|
1163ee |
# Expensive optimizations (mainly, profile-guided optimizations)
|
|
|
1163ee |
%bcond_without optimizations
|
|
|
1163ee |
|
|
|
1163ee |
# Run the test suite in %%check
|
|
|
1163ee |
%bcond_without tests
|
|
|
1163ee |
|
|
|
1163ee |
# Extra build for debugging the interpreter or C-API extensions
|
|
|
1163ee |
# (the -debug subpackages)
|
|
|
1163ee |
%bcond_without debug_build
|
|
|
1163ee |
|
|
|
1163ee |
# Support for the GDB debugger
|
|
|
1163ee |
%bcond_without gdb_hooks
|
|
|
1163ee |
|
|
|
1163ee |
# The dbm.gnu module (key-value database)
|
|
|
1163ee |
%bcond_without gdbm
|
|
|
1163ee |
|
|
|
1163ee |
# Main interpreter loop optimization
|
|
|
1163ee |
%bcond_without computed_gotos
|
|
|
1163ee |
|
|
|
1163ee |
# Support for the Valgrind debugger/profiler
|
|
|
1163ee |
%ifarch %{valgrind_arches}
|
|
|
1163ee |
%bcond_without valgrind
|
|
|
1163ee |
%else
|
|
|
1163ee |
# Some arches don't have valgrind, disable support for it there.
|
|
|
1163ee |
%bcond_with valgrind
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
71f264 |
# https://fedoraproject.org/wiki/Changes/Python_Upstream_Architecture_Names
|
|
|
71f264 |
# For a very long time we have converted "upstream architecture names" to "Fedora names".
|
|
|
71f264 |
# This made sense at the time, see https://github.com/pypa/manylinux/issues/687#issuecomment-666362947
|
|
|
71f264 |
# However, with manylinux wheels popularity growth, this is now a problem.
|
|
|
71f264 |
# Wheels built on a Linux that doesn't do this were not compatible with ours and vice versa.
|
|
|
71f264 |
# We now have a compatibility layer to workaround a problem,
|
|
|
71f264 |
# but we also no longer use the legacy arch names in Fedora 34+.
|
|
|
71f264 |
# This bcond controls the behavior. The defaults should be good for anybody.
|
|
|
71f264 |
%bcond_without legacy_archnames
|
|
|
1163ee |
|
|
|
1163ee |
# ==================================
|
|
|
1163ee |
# Notes from bootstraping Python 3.6
|
|
|
1163ee |
# ==================================
|
|
|
1163ee |
#
|
|
|
1163ee |
# New Python major version (3.X) break ABI and bytecode compatibility,
|
|
|
1163ee |
# so all packages depending on it need to be rebuilt.
|
|
|
1163ee |
#
|
|
|
1163ee |
# Due to a dependency cycle between Python, gdb, rpm, pip, setuptools, wheel,
|
|
|
1163ee |
# and other packages, this isn't straightforward.
|
|
|
1163ee |
# Build in the following order:
|
|
|
1163ee |
#
|
|
|
1163ee |
# 1. At the same time:
|
|
|
1163ee |
# - gdb without python support (add %%global _without_python 1 on top of
|
|
|
1163ee |
# gdb's SPEC file)
|
|
|
1163ee |
# - python-rpm-generators with bootstrapping_python set to 1
|
|
|
1163ee |
# (this can be done also during step 2., but should be done before 3.)
|
|
|
1163ee |
# 2. python3 without rewheel (use %%bcond_with rewheel instead of
|
|
|
1163ee |
# %%bcond_without)
|
|
|
1163ee |
# 3. At the same time:
|
|
|
1163ee |
# - gdb with python support (remove %%global _without_python 1 on top of
|
|
|
1163ee |
# gdb's SPEC file)
|
|
|
1163ee |
# - python-rpm-generators with bootstrapping_python set to 0
|
|
|
1163ee |
# (this can be done at any later step without negative effects)
|
|
|
1163ee |
# 4. rpm
|
|
|
1163ee |
# 5. python-setuptools with bootstrap set to 1
|
|
|
1163ee |
# 6. python-pip with build_wheel set to 0
|
|
|
1163ee |
# 7. python-wheel with %%bcond_without bootstrap
|
|
|
1163ee |
# 8. python-setuptools with bootstrap set to 0 and also with_check set to 0
|
|
|
1163ee |
# 9. python-pip with build_wheel set to 1
|
|
|
1163ee |
# 10. pyparsing
|
|
|
1163ee |
# 11. python3 with rewheel
|
|
|
1163ee |
#
|
|
|
1163ee |
# Then the most important packages have to be built, in dependency order.
|
|
|
1163ee |
# These were:
|
|
|
1163ee |
# python-sphinx, pytest, python-requests, cloud-init, dnf, anaconda, abrt
|
|
|
1163ee |
#
|
|
|
1163ee |
# After these have been built, a targeted rebuild should be done for the rest.
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# =====================
|
|
|
1163ee |
# General global macros
|
|
|
1163ee |
# =====================
|
|
|
1163ee |
|
|
|
1163ee |
%global pylibdir %{_libdir}/python%{pybasever}
|
|
|
1163ee |
%global dynload_dir %{pylibdir}/lib-dynload
|
|
|
1163ee |
|
|
|
1163ee |
# ABIFLAGS, LDVERSION and SOABI are in the upstream configure.ac
|
|
|
1163ee |
# See PEP 3149 for some background: http://www.python.org/dev/peps/pep-3149/
|
|
|
1163ee |
%global ABIFLAGS_optimized m
|
|
|
1163ee |
%global ABIFLAGS_debug dm
|
|
|
1163ee |
|
|
|
1163ee |
%global LDVERSION_optimized %{pybasever}%{ABIFLAGS_optimized}
|
|
|
1163ee |
%global LDVERSION_debug %{pybasever}%{ABIFLAGS_debug}
|
|
|
1163ee |
|
|
|
71f264 |
# When we use the upstream arch triplets, we convert them from the legacy ones
|
|
|
71f264 |
# This is reversed in prep when %%with legacy_archnames, so we keep both macros
|
|
|
71f264 |
%global platform_triplet_legacy %{_arch}-linux%{_gnu}
|
|
|
71f264 |
%global platform_triplet_upstream %{expand:%(echo %{platform_triplet_legacy} | sed -E \\
|
|
|
71f264 |
-e 's/^arm(eb)?-linux-gnueabi$/arm\\1-linux-gnueabihf/' \\
|
|
|
71f264 |
-e 's/^mips64(el)?-linux-gnu$/mips64\\1-linux-gnuabi64/' \\
|
|
|
71f264 |
-e 's/^ppc(64)?(le)?-linux-gnu$/powerpc\\1\\2-linux-gnu/')}
|
|
|
71f264 |
%if %{with legacy_archnames}
|
|
|
71f264 |
%global platform_triplet %{platform_triplet_legacy}
|
|
|
71f264 |
%else
|
|
|
71f264 |
%global platform_triplet %{platform_triplet_upstream}
|
|
|
71f264 |
%endif
|
|
|
71f264 |
|
|
|
71f264 |
%global SOABI_optimized cpython-%{pyshortver}%{ABIFLAGS_optimized}-%{platform_triplet}
|
|
|
71f264 |
%global SOABI_debug cpython-%{pyshortver}%{ABIFLAGS_debug}-%{platform_triplet}
|
|
|
1163ee |
|
|
|
1163ee |
# All bytecode files are in a __pycache__ subdirectory, with a name
|
|
|
1163ee |
# reflecting the version of the bytecode.
|
|
|
1163ee |
# See PEP 3147: http://www.python.org/dev/peps/pep-3147/
|
|
|
1163ee |
# For example,
|
|
|
1163ee |
# foo/bar.py
|
|
|
1163ee |
# has bytecode at:
|
|
|
1163ee |
# foo/__pycache__/bar.cpython-%%{pyshortver}.pyc
|
|
|
1163ee |
# foo/__pycache__/bar.cpython-%%{pyshortver}.opt-1.pyc
|
|
|
1163ee |
# foo/__pycache__/bar.cpython-%%{pyshortver}.opt-2.pyc
|
|
|
1163ee |
%global bytecode_suffixes .cpython-%{pyshortver}*.pyc
|
|
|
1163ee |
|
|
|
1163ee |
# Python's configure script defines SOVERSION, and this is used in the Makefile
|
|
|
1163ee |
# to determine INSTSONAME, the name of the libpython DSO:
|
|
|
1163ee |
# LDLIBRARY='libpython$(VERSION).so'
|
|
|
1163ee |
# INSTSONAME="$LDLIBRARY".$SOVERSION
|
|
|
1163ee |
# We mirror this here in order to make it easier to add the -gdb.py hooks.
|
|
|
1163ee |
# (if these get out of sync, the payload of the libs subpackage will fail
|
|
|
1163ee |
# and halt the build)
|
|
|
1163ee |
%global py_SOVERSION 1.0
|
|
|
1163ee |
%global py_INSTSONAME_optimized libpython%{LDVERSION_optimized}.so.%{py_SOVERSION}
|
|
|
1163ee |
%global py_INSTSONAME_debug libpython%{LDVERSION_debug}.so.%{py_SOVERSION}
|
|
|
1163ee |
|
|
|
1163ee |
# Disable automatic bytecompilation. The python3 binary is not yet be
|
|
|
1163ee |
# available in /usr/bin when Python is built. Also, the bytecompilation fails
|
|
|
1163ee |
# on files that test invalid syntax.
|
|
|
1163ee |
%undefine py_auto_byte_compile
|
|
|
1163ee |
|
|
|
1163ee |
# For multilib support, files that are different between 32- and 64-bit arches
|
|
|
1163ee |
# need different filenames. Use "64" or "32" according to the word size.
|
|
|
1163ee |
# Currently, the best way to determine an architecture's word size happens to
|
|
|
1163ee |
# be checking %%{_lib}.
|
|
|
1163ee |
%if "%{_lib}" == "lib64"
|
|
|
1163ee |
%global wordsize 64
|
|
|
1163ee |
%else
|
|
|
1163ee |
%global wordsize 32
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# =======================
|
|
|
1163ee |
# Build-time requirements
|
|
|
1163ee |
# =======================
|
|
|
1163ee |
|
|
|
1163ee |
# (keep this list alphabetized)
|
|
|
1163ee |
|
|
|
1163ee |
BuildRequires: autoconf
|
|
|
1163ee |
BuildRequires: bluez-libs-devel
|
|
|
1163ee |
BuildRequires: bzip2
|
|
|
1163ee |
BuildRequires: bzip2-devel
|
|
|
1163ee |
BuildRequires: desktop-file-utils
|
|
|
1163ee |
BuildRequires: expat-devel
|
|
|
1163ee |
|
|
|
1163ee |
BuildRequires: findutils
|
|
|
1163ee |
BuildRequires: gcc-c++
|
|
|
1163ee |
%if %{with gdbm}
|
|
|
1163ee |
BuildRequires: gdbm-devel >= 1:1.13
|
|
|
1163ee |
%endif
|
|
|
f8e6ca |
BuildRequires: git-core
|
|
|
1163ee |
BuildRequires: glibc-devel
|
|
|
1163ee |
BuildRequires: gmp-devel
|
|
|
1163ee |
BuildRequires: libappstream-glib
|
|
|
1163ee |
BuildRequires: libffi-devel
|
|
|
1163ee |
BuildRequires: libnsl2-devel
|
|
|
1163ee |
BuildRequires: libtirpc-devel
|
|
|
1163ee |
BuildRequires: libGL-devel
|
|
|
1163ee |
BuildRequires: libX11-devel
|
|
|
1163ee |
BuildRequires: ncurses-devel
|
|
|
1163ee |
|
|
|
1163ee |
BuildRequires: openssl-devel
|
|
|
1163ee |
BuildRequires: pkgconfig
|
|
|
1163ee |
BuildRequires: readline-devel
|
|
|
b9ffd2 |
BuildRequires: redhat-rpm-config >= 118
|
|
|
1163ee |
BuildRequires: sqlite-devel
|
|
|
1163ee |
BuildRequires: gdb
|
|
|
1163ee |
|
|
|
1163ee |
BuildRequires: tar
|
|
|
1163ee |
BuildRequires: tcl-devel
|
|
|
1163ee |
BuildRequires: tix-devel
|
|
|
1163ee |
BuildRequires: tk-devel
|
|
|
1163ee |
|
|
|
1163ee |
%if %{with valgrind}
|
|
|
1163ee |
BuildRequires: valgrind-devel
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
BuildRequires: xz-devel
|
|
|
1163ee |
BuildRequires: zlib-devel
|
|
|
1163ee |
|
|
|
1163ee |
BuildRequires: /usr/bin/dtrace
|
|
|
1163ee |
|
|
|
1163ee |
# workaround http://bugs.python.org/issue19804 (test_uuid requires ifconfig)
|
|
|
1163ee |
BuildRequires: /usr/sbin/ifconfig
|
|
|
1163ee |
|
|
|
b9ffd2 |
%if %{with rpmwheels}
|
|
|
b9ffd2 |
BuildRequires: python3-setuptools-wheel
|
|
|
b9ffd2 |
BuildRequires: python3-pip-wheel
|
|
|
1163ee |
|
|
|
1163ee |
# Verify that the BuildRoot includes python36.
|
|
|
1163ee |
# Not actually needed for build.
|
|
|
1163ee |
BuildRequires: python36-devel
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# =======================
|
|
|
1163ee |
# Source code and patches
|
|
|
1163ee |
# =======================
|
|
|
1163ee |
|
|
|
1163ee |
# The upstream tarball includes questionable executable files for Windows,
|
|
|
1163ee |
# which we should not ship even in the SRPM.
|
|
|
1163ee |
# Run the "get-source.sh" with the version as argument to download the upstream
|
|
|
1163ee |
# tarball and generate a version with the .exe files removed. For example:
|
|
|
1163ee |
# $ ./get-source.sh 3.7.0
|
|
|
1163ee |
|
|
|
1163ee |
Source: Python-%{version}-noexe.tar.xz
|
|
|
1163ee |
|
|
|
1163ee |
# A script to remove .exe files from the source distribution
|
|
|
1163ee |
Source1: get-source.sh
|
|
|
1163ee |
|
|
|
1163ee |
# A simple script to check timestamps of bytecode files
|
|
|
1163ee |
# Run in check section with Python that is currently being built
|
|
|
1163ee |
# Written by bkabrda
|
|
|
1163ee |
Source8: check-pyc-and-pyo-timestamps.py
|
|
|
1163ee |
|
|
|
1163ee |
# Desktop menu entry for idle3
|
|
|
1163ee |
Source10: idle3.desktop
|
|
|
1163ee |
|
|
|
1163ee |
# AppData file for idle3
|
|
|
1163ee |
Source11: idle3.appdata.xml
|
|
|
1163ee |
|
|
|
1163ee |
# unversioned-python script
|
|
|
1163ee |
Source12: no-python
|
|
|
1163ee |
|
|
|
1163ee |
# unversioned-python man page
|
|
|
1163ee |
Source13: unversioned-python.1
|
|
|
1163ee |
|
|
|
1163ee |
# 00001 #
|
|
|
1163ee |
# Fixup distutils/unixccompiler.py to remove standard library path from rpath:
|
|
|
1163ee |
# Was Patch0 in ivazquez' python3000 specfile:
|
|
|
1163ee |
Patch1: 00001-rpath.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00102 #
|
|
|
1163ee |
# Change the various install paths to use /usr/lib64/ instead or /usr/lib
|
|
|
1163ee |
# Only used when "%%{_lib}" == "lib64"
|
|
|
1163ee |
# Not yet sent upstream.
|
|
|
1163ee |
Patch102: 00102-lib64.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00111 #
|
|
|
1163ee |
# Patch the Makefile.pre.in so that the generated Makefile doesn't try to build
|
|
|
1163ee |
# a libpythonMAJOR.MINOR.a
|
|
|
1163ee |
# See https://bugzilla.redhat.com/show_bug.cgi?id=556092
|
|
|
1163ee |
# Downstream only: not appropriate for upstream
|
|
|
1163ee |
Patch111: 00111-no-static-lib.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00132 #
|
|
|
1163ee |
# Add non-standard hooks to unittest for use in the "check" phase below, when
|
|
|
1163ee |
# running selftests within the build:
|
|
|
1163ee |
# @unittest._skipInRpmBuild(reason)
|
|
|
1163ee |
# for tests that hang or fail intermittently within the build environment, and:
|
|
|
1163ee |
# @unittest._expectedFailureInRpmBuild
|
|
|
1163ee |
# for tests that always fail within the build environment
|
|
|
1163ee |
#
|
|
|
1163ee |
# The hooks only take effect if WITHIN_PYTHON_RPM_BUILD is set in the
|
|
|
1163ee |
# environment, which we set manually in the appropriate portion of the "check"
|
|
|
1163ee |
# phase below (and which potentially other python-* rpms could set, to reuse
|
|
|
1163ee |
# these unittest hooks in their own "check" phases)
|
|
|
1163ee |
Patch132: 00132-add-rpmbuild-hooks-to-unittest.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00155 #
|
|
|
1163ee |
# Avoid allocating thunks in ctypes unless absolutely necessary, to avoid
|
|
|
1163ee |
# generating SELinux denials on "import ctypes" and "import uuid" when
|
|
|
1163ee |
# embedding Python within httpd
|
|
|
1163ee |
# See https://bugzilla.redhat.com/show_bug.cgi?id=814391
|
|
|
1163ee |
Patch155: 00155-avoid-ctypes-thunks.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00160 #
|
|
|
1163ee |
# Python 3.3 added os.SEEK_DATA and os.SEEK_HOLE, which may be present in the
|
|
|
1163ee |
# header files in the build chroot, but may not be supported in the running
|
|
|
1163ee |
# kernel, hence we disable this test in an rpm build.
|
|
|
1163ee |
# Adding these was upstream issue http://bugs.python.org/issue10142
|
|
|
1163ee |
# Not yet sent upstream
|
|
|
1163ee |
Patch160: 00160-disable-test_fs_holes-in-rpm-build.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00163 #
|
|
|
1163ee |
# Some tests within test_socket fail intermittently when run inside Koji;
|
|
|
1163ee |
# disable them using unittest._skipInRpmBuild
|
|
|
1163ee |
# Not yet sent upstream
|
|
|
1163ee |
Patch163: 00163-disable-parts-of-test_socket-in-rpm-build.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00170 #
|
|
|
1163ee |
# In debug builds, try to print repr() when a C-level assert fails in the
|
|
|
1163ee |
# garbage collector (typically indicating a reference-counting error
|
|
|
1163ee |
# somewhere else e.g in an extension module)
|
|
|
1163ee |
# The new macros/functions within gcmodule.c are hidden to avoid exposing
|
|
|
1163ee |
# them within the extension API.
|
|
|
1163ee |
# Sent upstream: http://bugs.python.org/issue9263
|
|
|
1163ee |
# See https://bugzilla.redhat.com/show_bug.cgi?id=614680
|
|
|
1163ee |
Patch170: 00170-gc-assertions.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00189 #
|
|
|
b9ffd2 |
# Instead of bundled wheels, use our RPM packaged wheels from
|
|
|
b9ffd2 |
# /usr/share/python3-wheels
|
|
|
b9ffd2 |
Patch189: 00189-use-rpm-wheels.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00251
|
|
|
1163ee |
# Set values of prefix and exec_prefix in distutils install command
|
|
|
1163ee |
# to /usr/local if executable is /usr/bin/python* and RPM build
|
|
|
1163ee |
# is not detected to make pip and distutils install into separate location
|
|
|
1163ee |
# Fedora Change: https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
|
|
|
1163ee |
Patch251: 00251-change-user-install-location.patch
|
|
|
1163ee |
|
|
|
9b3a7c |
# 00257 #
|
|
|
9b3a7c |
# Use the monotonic clock for threading.Condition.wait() as to not be affected by
|
|
|
9b3a7c |
# the system clock changes.
|
|
|
9b3a7c |
# This patch works around the issue.
|
|
|
9b3a7c |
# Implemented by backporting the respective python2 code:
|
|
|
9b3a7c |
# https://github.com/python/cpython/blob/v2.7.18/Lib/threading.py#L331
|
|
|
9b3a7c |
# along with our downstream patch for python2 fixing the same issue.
|
|
|
9b3a7c |
# Downstream only.
|
|
|
9b3a7c |
Patch257: 00257-threading-condition-wait.patch
|
|
|
9b3a7c |
|
|
|
1163ee |
# 00262 #
|
|
|
1163ee |
# Backport of PEP 538: Coercing the legacy C locale to a UTF-8 based locale
|
|
|
1163ee |
# https://www.python.org/dev/peps/pep-0538/
|
|
|
1163ee |
# Fedora Change: https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale
|
|
|
1163ee |
# Original proposal: https://bugzilla.redhat.com/show_bug.cgi?id=1404918
|
|
|
1163ee |
Patch262: 00262-pep538_coerce_legacy_c_locale.patch
|
|
|
1163ee |
|
|
|
1163ee |
# 00294 #
|
|
|
1163ee |
# Define TLS cipher suite on build time depending
|
|
|
1163ee |
# on the OpenSSL default cipher suite selection.
|
|
|
1163ee |
# Fixed upstream on CPython's 3.7 branch:
|
|
|
1163ee |
# https://bugs.python.org/issue31429
|
|
|
1163ee |
# See also: https://bugzilla.redhat.com/show_bug.cgi?id=1489816
|
|
|
1163ee |
Patch294: 00294-define-TLS-cipher-suite-on-build-time.patch
|
|
|
1163ee |
|
|
|
71928b |
# 00316 #
|
|
|
71928b |
# We remove the exe files from distutil's bdist_wininst
|
|
|
71928b |
# So we mark the command as unsupported - and the tests are skipped
|
|
|
71928b |
# Fixed upstream and backported from the 3.7 branch: https://bugs.python.org/issue10945
|
|
|
71928b |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1754040
|
|
|
71928b |
Patch316: 00316-mark-bdist_wininst-unsupported.patch
|
|
|
71928b |
|
|
|
b9ffd2 |
# 00317 #
|
|
|
b9ffd2 |
# Security fix for CVE-2019-5010: Fix segfault in ssl's cert parser
|
|
|
b9ffd2 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1666789
|
|
|
b9ffd2 |
# Fixed upstream: https://bugs.python.org/issue35746
|
|
|
b9ffd2 |
Patch317: 00317-CVE-2019-5010.patch
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
# 00318 #
|
|
|
71928b |
# Various fixes for TLS 1.3 and OpenSSL 1.1.1
|
|
|
b9ffd2 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1639531
|
|
|
71928b |
|
|
|
71928b |
# test_ssl fixes for TLS 1.3 and OpenSSL 1.1.1
|
|
|
b9ffd2 |
# https://bugs.python.org/issue32947#msg333990
|
|
|
b9ffd2 |
# https://github.com/python/cpython/pull/11612
|
|
|
71928b |
|
|
|
71928b |
# Encrypt private key test files with AES256
|
|
|
71928b |
# https://bugs.python.org/issue38271
|
|
|
71928b |
# https://github.com/python/cpython/pull/16396
|
|
|
71928b |
|
|
|
71928b |
# Prefer PROTOCOL_TLS_CLIENT/SERVER (partial backport)
|
|
|
71928b |
# https://bugs.python.org/issue31346
|
|
|
71928b |
# https://github.com/python/cpython/pull/3058
|
|
|
71928b |
|
|
|
71928b |
# Enable TLS 1.3 in tests (partial backport)
|
|
|
71928b |
# https://bugs.python.org/issue33618
|
|
|
71928b |
# https://github.com/python/cpython/pull/7082
|
|
|
71928b |
|
|
|
71928b |
# OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (partial backport)
|
|
|
71928b |
# https://bugs.python.org/issue32947
|
|
|
71928b |
# https://github.com/python/cpython/pull/5923
|
|
|
71928b |
Patch318: 00318-fixes-for-tls-13.patch
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
# 00319 #
|
|
|
b9ffd2 |
# Fix test_tarfile on ppc64
|
|
|
b9ffd2 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1639490
|
|
|
b9ffd2 |
# https://bugs.python.org/issue35772
|
|
|
b9ffd2 |
Patch319: 00319-test_tarfile_ppc64.patch
|
|
|
b9ffd2 |
|
|
|
1ba735 |
# 00320 #
|
|
|
1874b9 |
# Security fix for CVE-2019-9636 and CVE-2019-10160: Information Disclosure due to urlsplit improper NFKC normalization
|
|
|
1874b9 |
# Fixed upstream: https://bugs.python.org/issue36216 and https://bugs.python.org/issue36742
|
|
|
b9ffd2 |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1689318
|
|
|
1874b9 |
Patch320: 00320-CVE-2019-9636-and-CVE-2019-10160.patch
|
|
Pablo Greco |
95478e |
|
|
|
b9ffd2 |
# 00324 #
|
|
|
b9ffd2 |
# Disallow control chars in http URLs
|
|
|
b9ffd2 |
# Security fix for CVE-2019-9740 and CVE-2019-9947
|
|
|
b9ffd2 |
# Fixed upstream: https://bugs.python.org/issue30458
|
|
|
b9ffd2 |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1704365
|
|
|
b9ffd2 |
# and https://bugzilla.redhat.com/show_bug.cgi?id=1703531
|
|
|
b9ffd2 |
Patch324: 00324-disallow-control-chars-in-http-urls.patch
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
# 00325 #
|
|
|
b9ffd2 |
# Unnecessary URL scheme exists to allow local_file:// reading file in urllib
|
|
|
b9ffd2 |
# Security fix for CVE-2019-9948
|
|
|
b9ffd2 |
# Fixed upstream: https://bugs.python.org/issue35907
|
|
|
b9ffd2 |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1714643
|
|
|
b9ffd2 |
Patch325: 00325-CVE-2019-9948.patch
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
# 00326 #
|
|
|
b9ffd2 |
# Don't set the post-handshake authentication verify flag on client side
|
|
|
b9ffd2 |
# on TLS 1.3, as it also implicitly enables cert chain validation and an
|
|
|
b9ffd2 |
# SSL/TLS connection will fail when verify mode is set to CERT_NONE.
|
|
|
b9ffd2 |
# Fixed upstream: https://bugs.python.org/issue37428
|
|
|
b9ffd2 |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1725721
|
|
|
b9ffd2 |
Patch326: 00326-do-not-set-PHA-verify-flag-on-client-side.patch
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
# 00327 #
|
|
|
b9ffd2 |
# Enable TLS 1.3 post-handshake authentication in http.client for default
|
|
|
b9ffd2 |
# context or if a cert_file is passed to HTTPSConnection
|
|
|
b9ffd2 |
# Fixed upstream: https://bugs.python.org/issue37440
|
|
|
b9ffd2 |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1671353
|
|
|
b9ffd2 |
Patch327: 00327-enable-tls-1.3-PHA-in-http.client.patch
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
# 00329 #
|
|
|
b9ffd2 |
# Support OpenSSL FIPS mode
|
|
|
b9ffd2 |
# - Fallback implementations md5, sha1, sha256, sha512 are removed in favor of OpenSSL wrappers
|
|
|
b9ffd2 |
# - In FIPS mode, OpenSSL wrappers are always used in hashlib
|
|
|
b9ffd2 |
# - add a new "usedforsecurity" keyword argument to the various digest
|
|
|
b9ffd2 |
# algorithms in hashlib so that you can whitelist a callsite with
|
|
|
b9ffd2 |
# "usedforsecurity=False"
|
|
|
71928b |
# The change has been implemented upstream since Python 3.9:
|
|
|
71928b |
# https://bugs.python.org/issue9216
|
|
|
b9ffd2 |
# - OpenSSL wrappers for the hashes blake2{b512,s256},
|
|
|
b9ffd2 |
# sha3_{224,256,384,512}, shake_{128,256} are now exported from _hashlib
|
|
|
b9ffd2 |
# - In FIPS mode, the blake2, sha3 and shake hashes use OpenSSL wrappers
|
|
|
b9ffd2 |
# and do not offer extended functionality (keys, tree hashing, custom digest size)
|
|
|
b9ffd2 |
# - In FIPS mode, hmac.HMAC can only be instantiated with an OpenSSL wrapper
|
|
|
b9ffd2 |
# or an string with OpenSSL hash name as the "digestmod" argument.
|
|
|
b9ffd2 |
# The argument must be specified (instead of defaulting to ‘md5’).
|
|
|
71928b |
#
|
|
|
71928b |
# - Also while in FIPS mode, we utilize OpenSSL's DRBG and disable the
|
|
|
71928b |
# os.getrandom() function.
|
|
|
71928b |
#
|
|
|
71928b |
# Upstream changes that have also been backported with this patch
|
|
|
71928b |
# to allow tests to pass on stricter environments:
|
|
|
71928b |
#
|
|
|
71928b |
# Avoid MD5 or check for MD5 availablity
|
|
|
71928b |
# https://bugs.python.org/issue38270
|
|
|
71928b |
# https://github.com/python/cpython/pull/16393
|
|
|
71928b |
# https://github.com/python/cpython/pull/16437
|
|
|
71928b |
# https://github.com/python/cpython/pull/17446
|
|
|
71928b |
#
|
|
|
71928b |
# add usedforsecurity to hashlib constructors (partial backport for fixing a uuid test)
|
|
|
71928b |
# https://github.com/python/cpython/pull/16044
|
|
|
b9ffd2 |
# Resolves: rhbz#1731424
|
|
|
b9ffd2 |
Patch329: 00329-fips.patch
|
|
|
c13b57 |
|
|
|
71928b |
# 00330 #
|
|
|
71928b |
# Fix CVE-2018-20852: cookie domain check returning incorrect results
|
|
|
71928b |
# Fixed upstream: https://bugs.python.org/issue35121
|
|
|
71928b |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1741553
|
|
|
71928b |
Patch330: 00330-CVE-2018-20852.patch
|
|
|
71928b |
|
|
|
71928b |
# 00332 #
|
|
|
71928b |
# Fix CVE-2019-16056: Don't parse email addresses containing
|
|
|
71928b |
# multiple '@' characters.
|
|
|
71928b |
# Fixed upstream: https://bugs.python.org/issue34155
|
|
|
71928b |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1750776
|
|
|
71928b |
Patch332: 00332-CVE-2019-16056.patch
|
|
|
71928b |
|
|
|
71928b |
# 00333 #
|
|
|
71928b |
# Reduce the number of tests run during the profile guided optimizations build,
|
|
|
71928b |
# as running the whole test suite during profiling increases the build time
|
|
|
71928b |
# substantially, with negligible performance gain.
|
|
|
71928b |
# Fixed upstream and backported from the 3.8 branch:
|
|
|
71928b |
# https://bugs.python.org/issue36044
|
|
|
71928b |
# https://bugs.python.org/issue37667
|
|
|
71928b |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1749576
|
|
|
71928b |
Patch333: 00333-reduce-pgo-tests.patch
|
|
|
71928b |
|
|
|
f8e6ca |
# 00338 #
|
|
|
f8e6ca |
# Fix test_gdb for when compiling python with Link Time Optimizations
|
|
|
f8e6ca |
# Fixed upstream: https://bugs.python.org/issue38239
|
|
|
f8e6ca |
Patch338: 00338-fix-test_gdb-for-LTO.patch
|
|
|
f8e6ca |
|
|
|
f8e6ca |
# 00344 #
|
|
|
f8e6ca |
# Fix CVE-2019-16935: XSS vulnerability in the ocumentation XML-RPC server in server_title field
|
|
|
f8e6ca |
# Fixed upstream: https://bugs.python.org/issue38243
|
|
|
f8e6ca |
# Resolves: https://bugzilla.redhat.com/how_bug.cgi?id=1798001
|
|
|
f8e6ca |
Patch344: 00344-CVE-2019-16935.patch
|
|
|
f8e6ca |
|
|
|
f8e6ca |
# 00345 #
|
|
|
f8e6ca |
# Skip from test_site the test_startup_imports case if a path of sys.path
|
|
|
f8e6ca |
# contains a .pth file
|
|
|
f8e6ca |
# Fixed upstream: https://bugs.python.org/issue27807
|
|
|
f8e6ca |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1814392
|
|
|
f8e6ca |
Patch345: 00345-fix-test_site-with-extra-pth-files.patch
|
|
|
f8e6ca |
|
|
|
f8e6ca |
# 00346 #
|
|
|
f8e6ca |
# Fix CVE-2020-8492: wrong backtracking in urllib.request.AbstractBasicAuthHandler allows for a ReDoS
|
|
|
f8e6ca |
# Fixed upstream: https://bugs.python.org/issue39503
|
|
|
f8e6ca |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1810618
|
|
|
f8e6ca |
Patch346: 00346-CVE-2020-8492.patch
|
|
|
f8e6ca |
|
|
|
f8e6ca |
# 00351 #
|
|
|
f8e6ca |
# Avoid infinite loop when reading specially crafted TAR files using the tarfile module
|
|
|
f8e6ca |
# (CVE-2019-20907).
|
|
|
f8e6ca |
# See: https://bugs.python.org/issue39017
|
|
|
f8e6ca |
Patch351: 00351-avoid-infinite-loop-in-the-tarfile-module.patch
|
|
|
f8e6ca |
|
|
|
f8e6ca |
# 00352 # 5253c417a23b3658fa115d2c72fa54b20293a31c
|
|
|
f8e6ca |
# Resolve hash collisions for IPv4Interface and IPv6Interface
|
|
|
f8e6ca |
#
|
|
|
f8e6ca |
# CVE-2020-14422
|
|
|
f8e6ca |
# The hash() methods of classes IPv4Interface and IPv6Interface had issue
|
|
|
f8e6ca |
# of generating constant hash values of 32 and 128 respectively causing hash collisions.
|
|
|
f8e6ca |
# The fix uses the hash() function to generate hash values for the objects
|
|
|
f8e6ca |
# instead of XOR operation.
|
|
|
f8e6ca |
# Fixed upstream: https://bugs.python.org/issue41004
|
|
|
f8e6ca |
Patch352: 00352-resolve-hash-collisions-for-ipv4interface-and-ipv6interface.patch
|
|
|
f8e6ca |
|
|
|
71f264 |
# 00353 #
|
|
|
71f264 |
# Original names for architectures with different names downstream
|
|
|
71f264 |
#
|
|
|
71f264 |
# https://fedoraproject.org/wiki/Changes/Python_Upstream_Architecture_Names
|
|
|
71f264 |
#
|
|
|
71f264 |
# Pythons in RHEL/Fedora used different names for some architectures
|
|
|
71f264 |
# than upstream and other distros (for example ppc64 vs. powerpc64).
|
|
|
71f264 |
# This was patched in patch 274, now it is sedded if %%with legacy_archnames.
|
|
|
71f264 |
#
|
|
|
71f264 |
# That meant that an extension built with the default upstream settings
|
|
|
71f264 |
# (on other distro or as an manylinux wheel) could not been found by Python
|
|
|
71f264 |
# on RHEL/Fedora because it had a different suffix.
|
|
|
71f264 |
# This patch adds the legacy names to importlib so Python is able
|
|
|
71f264 |
# to import extensions with a legacy architecture name in its
|
|
|
71f264 |
# file name.
|
|
|
71f264 |
# It work both ways, so it support both %%with and %%without legacy_archnames.
|
|
|
71f264 |
#
|
|
|
71f264 |
# WARNING: This patch has no effect on Python built with bootstrap
|
|
|
71f264 |
# enabled because Python/importlib_external.h is not regenerated
|
|
|
71f264 |
# and therefore Python during bootstrap contains importlib from
|
|
|
71f264 |
# upstream without this feature. It's possible to include
|
|
|
71f264 |
# Python/importlib_external.h to this patch but it'd make rebasing
|
|
|
71f264 |
# a nightmare because it's basically a binary file.
|
|
|
71f264 |
Patch353: 00353-architecture-names-upstream-downstream.patch
|
|
|
71f264 |
|
|
|
71f264 |
# 00354 #
|
|
|
71f264 |
# Reject control chars in HTTP method in http.client to prevent
|
|
|
71f264 |
# HTTP header injection
|
|
|
71f264 |
# Fixed ustream: https://bugs.python.org/issue39603
|
|
|
71f264 |
Patch354: 00354-cve-2020-26116-http-request-method-crlf-injection-in-httplib.patch
|
|
|
71f264 |
|
|
|
71f264 |
# 00355 #
|
|
|
71f264 |
# No longer call eval() on content received via HTTP in the CJK codec tests
|
|
|
71f264 |
# Fixed upstream: https://bugs.python.org/issue41944
|
|
|
71f264 |
Patch355: 00355-CVE-2020-27619.patch
|
|
|
71f264 |
|
|
|
71f264 |
# 00356 #
|
|
|
71f264 |
# options -a and -k for pathfix.py used in %%py3_shebang_fix
|
|
|
71f264 |
# Upstream: https://github.com/python/cpython/commit/c71c54c62600fd721baed3c96709e3d6e9c33817
|
|
|
71f264 |
Patch356: 00356-k_and_a_options_for_pathfix.patch
|
|
|
71f264 |
|
|
|
71f264 |
# 00357 #
|
|
|
71f264 |
# CVE-2021-3177 stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c
|
|
|
71f264 |
# Upstream: https://bugs.python.org/issue42938
|
|
|
71f264 |
# Main BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1918168
|
|
|
71f264 |
Patch357: 00357-CVE-2021-3177.patch
|
|
|
71f264 |
|
|
|
71f264 |
# 00359 #
|
|
|
71f264 |
# CVE-2021-23336 python: Web Cache Poisoning via urllib.parse.parse_qsl and
|
|
|
71f264 |
# urllib.parse.parse_qs by using a semicolon in query parameters
|
|
|
71f264 |
# Upstream: https://bugs.python.org/issue42967
|
|
|
71f264 |
# Main BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1928904
|
|
|
71f264 |
Patch359: 00359-CVE-2021-23336.patch
|
|
|
71f264 |
|
|
|
0fa7ed |
# 00360 #
|
|
|
0fa7ed |
# CVE-2021-3426: information disclosure via pydoc
|
|
|
0fa7ed |
# Upstream: https://bugs.python.org/issue42988
|
|
|
0fa7ed |
# Main BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1935913
|
|
|
0fa7ed |
Patch360: 00360-CVE-2021-3426.patch
|
|
|
0fa7ed |
|
|
|
1aa391 |
# 00362 #
|
|
|
1aa391 |
# The threading.enumerate() function now uses a reentrant lock to
|
|
|
1aa391 |
# prevent a hang on reentrant call.
|
|
|
1aa391 |
# Upstream: https://bugs.python.org/issue44422
|
|
|
0fa7ed |
# Main BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1959459
|
|
|
1aa391 |
Patch362: 00362-threading-enumerate-rlock.patch
|
|
|
1aa391 |
|
|
|
0fa7ed |
# 00364 #
|
|
|
0fa7ed |
# Don't call PyThread_exit_thread() explicitly.
|
|
|
0fa7ed |
# Upstream: https://bugs.python.org/issue44434
|
|
|
0fa7ed |
# Main BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1972293
|
|
|
0fa7ed |
Patch364: 00364-thread-exit.patch
|
|
|
0fa7ed |
|
|
|
605da4 |
# 00366 #
|
|
|
605da4 |
# CVE-2021-3733: Denial of service when identifying crafted invalid RFCs
|
|
|
605da4 |
# Upstream: https://bugs.python.org/issue43075
|
|
|
605da4 |
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=1995234
|
|
|
605da4 |
Patch366: 00366-CVE-2021-3733.patch
|
|
|
605da4 |
|
|
|
9b3a7c |
# 00368 #
|
|
|
9b3a7c |
# CVE-2021-3737: client can enter an infinite loop on a 100 Continue response from the server
|
|
|
9b3a7c |
# Upstream: https://bugs.python.org/issue44022
|
|
|
9b3a7c |
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=1995162
|
|
|
9b3a7c |
Patch368: 00368-CVE-2021-3737.patch
|
|
|
9b3a7c |
|
|
|
9b3a7c |
# 00369 #
|
|
|
9b3a7c |
# Change shouldRollover() methods of logging.handlers to only rollover regular files and not devices
|
|
|
9b3a7c |
# Upstream: https://bugs.python.org/issue45401
|
|
|
9b3a7c |
# Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2009200
|
|
|
9b3a7c |
Patch369: 00369-rollover-only-regular-files-in-logging-handlers.patch
|
|
|
9b3a7c |
|
|
|
9b3a7c |
# 00370 #
|
|
|
9b3a7c |
# Utilize the monotonic clock for the global interpreter lock instead of the real-time clock
|
|
|
9b3a7c |
# to avoid issues when the system time changes
|
|
|
9b3a7c |
# Upstream: https://bugs.python.org/issue12822
|
|
|
9b3a7c |
# Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2003758
|
|
|
9b3a7c |
Patch370: 00370-GIL-monotonic-clock.patch
|
|
|
9b3a7c |
|
|
|
9b3a7c |
# 00372 #
|
|
|
9b3a7c |
# CVE-2021-4189: ftplib should not use the host from the PASV response
|
|
|
9b3a7c |
# Upstream: https://bugs.python.org/issue43285
|
|
|
9b3a7c |
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=2036020
|
|
|
9b3a7c |
Patch372: 00372-CVE-2021-4189.patch
|
|
|
9b3a7c |
|
|
|
75b047 |
# 00377 #
|
|
|
75b047 |
# CVE-2022-0391: urlparse does not sanitize URLs containing ASCII newline and tabs
|
|
|
75b047 |
#
|
|
|
75b047 |
# ASCII newline and tab characters are stripped from the URL.
|
|
|
75b047 |
#
|
|
|
75b047 |
# Upstream: https://bugs.python.org/issue43882
|
|
|
75b047 |
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=2047376
|
|
|
75b047 |
Patch377: 00377-CVE-2022-0391.patch
|
|
|
75b047 |
|
|
|
75b047 |
# 00378 #
|
|
|
75b047 |
# Support expat 2.4.5
|
|
|
75b047 |
#
|
|
|
75b047 |
# Curly brackets were never allowed in namespace URIs
|
|
|
75b047 |
# according to RFC 3986, and so-called namespace-validating
|
|
|
75b047 |
# XML parsers have the right to reject them a invalid URIs.
|
|
|
75b047 |
#
|
|
|
75b047 |
# libexpat >=2.4.5 has become strcter in that regard due to
|
|
|
75b047 |
# related security issues; with ET.XML instantiating a
|
|
|
75b047 |
# namespace-aware parser under the hood, this test has no
|
|
|
75b047 |
# future in CPython.
|
|
|
75b047 |
#
|
|
|
75b047 |
# References:
|
|
|
75b047 |
# - https://datatracker.ietf.org/doc/html/rfc3968
|
|
|
75b047 |
# - https://www.w3.org/TR/xml-names/
|
|
|
75b047 |
#
|
|
|
75b047 |
# Also, test_minidom.py: Support Expat >=2.4.5
|
|
|
75b047 |
#
|
|
|
75b047 |
# The patch has diverged from upstream as the python test
|
|
|
75b047 |
# suite was relying on checking the expat version, whereas
|
|
|
75b047 |
# in RHEL fixes get backported instead of rebasing packages.
|
|
|
75b047 |
#
|
|
|
75b047 |
# Upstream: https://bugs.python.org/issue46811
|
|
|
75b047 |
Patch378: 00378-support-expat-2-4-5.patch
|
|
|
75b047 |
|
|
|
75b047 |
# 00382 #
|
|
|
75b047 |
# CVE-2015-20107
|
|
|
75b047 |
#
|
|
|
75b047 |
# Make mailcap refuse to match unsafe filenames/types/params (GH-91993)
|
|
|
75b047 |
#
|
|
|
75b047 |
# Upstream: https://github.com/python/cpython/issues/68966
|
|
|
75b047 |
#
|
|
|
75b047 |
# Tracker bug: https://bugzilla.redhat.com/show_bug.cgi?id=2075390
|
|
|
75b047 |
Patch382: 00382-cve-2015-20107.patch
|
|
|
75b047 |
|
|
|
36ebb5 |
# 00386 #
|
|
|
36ebb5 |
# CVE-2021-28861
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# Fix an open redirection vulnerability in the `http.server` module when
|
|
|
36ebb5 |
# an URI path starts with `//` that could produce a 301 Location header
|
|
|
36ebb5 |
# with a misleading target. Vulnerability discovered, and logic fix
|
|
|
36ebb5 |
# proposed, by Hamza Avvan (@hamzaavvan).
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# Test and comments authored by Gregory P. Smith [Google].
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# Upstream: https://github.com/python/cpython/pull/93879
|
|
|
36ebb5 |
# Tracking bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2120642
|
|
|
36ebb5 |
Patch386: 00386-cve-2021-28861.patch
|
|
|
36ebb5 |
|
|
|
36ebb5 |
# 00387 #
|
|
|
36ebb5 |
# CVE-2020-10735: Prevent DoS by very large int()
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# gh-95778: CVE-2020-10735: Prevent DoS by very large int() (GH-96504)
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# Converting between `int` and `str` in bases other than 2
|
|
|
36ebb5 |
# (binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) now
|
|
|
36ebb5 |
# raises a `ValueError` if the number of digits in string form is above a
|
|
|
36ebb5 |
# limit to avoid potential denial of service attacks due to the algorithmic
|
|
|
36ebb5 |
# complexity. This is a mitigation for CVE-2020-10735
|
|
|
36ebb5 |
# (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735).
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# This new limit can be configured or disabled by environment variable, command
|
|
|
36ebb5 |
# line flag, or :mod:`sys` APIs. See the `Integer String Conversion Length
|
|
|
36ebb5 |
# Limitation` documentation. The default limit is 4300
|
|
|
36ebb5 |
# digits in string form.
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# Patch by Gregory P. Smith [Google] and Christian Heimes [Red Hat] with feedback
|
|
|
36ebb5 |
# from Victor Stinner, Thomas Wouters, Steve Dower, Ned Deily, and Mark Dickinson.
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# Notes on the backport to Python 3.6 in RHEL:
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# * Use "Python 3.6.8-48" version in the documentation, whereas this
|
|
|
36ebb5 |
# version will never be released
|
|
|
36ebb5 |
# * Only add _Py_global_config_int_max_str_digits global variable:
|
|
|
36ebb5 |
# Python 3.6 doesn't have PyConfig API (PEP 597) nor _PyRuntime.
|
|
|
36ebb5 |
# * sys.flags.int_max_str_digits cannot be -1 on Python 3.6: it is
|
|
|
36ebb5 |
# set to the default limit. Adapt test_int_max_str_digits() for that.
|
|
|
36ebb5 |
# * Declare _PY_LONG_DEFAULT_MAX_STR_DIGITS and
|
|
|
36ebb5 |
# _PY_LONG_MAX_STR_DIGITS_THRESHOLD macros in longobject.h but only
|
|
|
36ebb5 |
# if the Py_BUILD_CORE macro is defined.
|
|
|
36ebb5 |
# * Declare _Py_global_config_int_max_str_digits in pydebug.h.
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# gh-95778: Mention sys.set_int_max_str_digits() in error message (#96874)
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# When ValueError is raised if an integer is larger than the limit,
|
|
|
36ebb5 |
# mention sys.set_int_max_str_digits() in the error message.
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# gh-96848: Fix -X int_max_str_digits option parsing (#96988)
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# Fix command line parsing: reject "-X int_max_str_digits" option with
|
|
|
36ebb5 |
# no value (invalid) when the PYTHONINTMAXSTRDIGITS environment
|
|
|
36ebb5 |
# variable is set to a valid limit.
|
|
|
36ebb5 |
Patch387: 00387-cve-2020-10735-prevent-dos-by-very-large-int.patch
|
|
|
36ebb5 |
|
|
|
36ebb5 |
# 00394 #
|
|
|
36ebb5 |
# CVE-2022-45061: CPU denial of service via inefficient IDNA decoder
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# gh-98433: Fix quadratic time idna decoding.
|
|
|
36ebb5 |
#
|
|
|
36ebb5 |
# There was an unnecessary quadratic loop in idna decoding. This restores
|
|
|
36ebb5 |
# the behavior to linear.
|
|
|
36ebb5 |
Patch394: 00394-cve-2022-45061-cpu-denial-of-service-via-inefficient-idna-decoder.patch
|
|
|
36ebb5 |
|
|
|
1163ee |
# (New patches go here ^^^)
|
|
|
1163ee |
#
|
|
|
1163ee |
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
|
|
|
1163ee |
# please try to keep the patch numbers in-sync between all specfiles.
|
|
|
1163ee |
#
|
|
|
1163ee |
# More information, and a patch number catalog, is at:
|
|
|
1163ee |
#
|
|
|
1163ee |
# https://fedoraproject.org/wiki/SIGs/Python/PythonPatches
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# ==========================================
|
|
|
1163ee |
# Descriptions, and metadata for subpackages
|
|
|
1163ee |
# ==========================================
|
|
|
1163ee |
|
|
|
1163ee |
%package -n platform-python
|
|
|
1163ee |
Summary: Internal interpreter of the Python programming language
|
|
|
1163ee |
|
|
|
1163ee |
Conflicts: python3 < 3.6.6-13
|
|
|
1163ee |
|
|
|
1163ee |
# Packages with Python modules in standard locations automatically
|
|
|
1163ee |
# depend on python(abi). Provide that here.
|
|
|
1163ee |
Provides: python(abi) = %{pybasever}
|
|
|
1163ee |
|
|
|
1163ee |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
|
|
|
b9ffd2 |
%if %{with rpmwheels}
|
|
|
b9ffd2 |
|
|
|
71928b |
# RHEL8 was forked from F28 and thus required python3-setuptools here
|
|
|
b9ffd2 |
# for the rewheel module to work. We've since backported the use of RPM
|
|
|
b9ffd2 |
# prepared wheels from F29+ into RHEL8, and thus this dependency isn't
|
|
|
b9ffd2 |
# strictly needed.
|
|
|
b9ffd2 |
# However, it is possible, that some packages in BaseOS actually depend on
|
|
|
71928b |
# setuptools without declaring the dependency in their spec file. Thus
|
|
|
71928b |
# we're keeping this dependency here to avoid the possibility of breaking
|
|
|
b9ffd2 |
# them.
|
|
|
1163ee |
Requires: platform-python-setuptools
|
|
|
71928b |
# For python3-pip the Requires has been reduced to Recommends, as there are
|
|
|
71928b |
# generally less packages that depend on pip than packages that depend on
|
|
|
71928b |
# setuptools at runtime, and thus there's less chance of breakage.
|
|
|
71928b |
# (rhbz#1756217).
|
|
|
71928b |
Recommends: platform-python-pip
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
Requires: python3-setuptools-wheel
|
|
|
b9ffd2 |
Requires: python3-pip-wheel
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
0fa7ed |
# Require alternatives version that implements the --keep-foreign flag
|
|
|
0fa7ed |
Requires: alternatives >= 1.19.1-1
|
|
|
0fa7ed |
Requires(post): alternatives >= 1.19.1-1
|
|
|
0fa7ed |
Requires(postun): alternatives >= 1.19.1-1
|
|
|
1163ee |
|
|
|
1163ee |
# This prevents ALL subpackages built from this spec to require
|
|
|
1163ee |
# /usr/bin/python3*. Granularity per subpackage is impossible.
|
|
|
1163ee |
# It's intended for the libs package not to drag in the interpreter, see
|
|
|
1163ee |
# https://bugzilla.redhat.com/show_bug.cgi?id=1547131
|
|
|
1163ee |
# All others require %%{name} anyway.
|
|
|
1163ee |
%global __requires_exclude ^/usr/bin/python3
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# The description is the same for the SRPM and the main `platform-python` subpackage:
|
|
|
1163ee |
%description
|
|
|
1163ee |
This is the internal interpreter of the Python language for the system.
|
|
|
1163ee |
To use Python yourself, please install one of the available Python 3 packages,
|
|
|
1163ee |
for example python36.
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# The description is the same for the SRPM and the main `platform-python` subpackage:
|
|
|
1163ee |
%description -n platform-python
|
|
|
1163ee |
This is the internal interpreter of the Python language for the system.
|
|
|
1163ee |
To use Python yourself, please install one of the available Python 3 packages,
|
|
|
1163ee |
for example python36.
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
%package libs
|
|
|
1163ee |
Summary: Python runtime libraries
|
|
|
1163ee |
|
|
|
1163ee |
# The "enum" module is included in the standard library.
|
|
|
1163ee |
# Provide an upgrade path from the external library.
|
|
|
1163ee |
Provides: python3-enum34 = 1.0.4-5%{?dist}
|
|
|
1163ee |
Obsoletes: python3-enum34 < 1.0.4-5%{?dist}
|
|
|
1163ee |
|
|
|
1163ee |
# Python 3 built with glibc >= 2.24.90-26 needs to require it
|
|
|
1163ee |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1410644
|
|
|
1163ee |
Requires: glibc%{?_isa} >= 2.24.90-26
|
|
|
1163ee |
|
|
|
1163ee |
Requires: chkconfig
|
|
|
1163ee |
|
|
|
1163ee |
%if %{with gdbm}
|
|
|
1163ee |
# When built with this (as guarded by the BuildRequires above), require it
|
|
|
1163ee |
Requires: gdbm%{?_isa} >= 1:1.13
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
b9ffd2 |
%if %{with rpmwheels}
|
|
|
b9ffd2 |
Requires: python3-setuptools-wheel
|
|
|
b9ffd2 |
Requires: python3-pip-wheel
|
|
|
b9ffd2 |
%else
|
|
|
b9ffd2 |
Provides: bundled(python3-pip) = 18.1
|
|
|
b9ffd2 |
Provides: bundled(python3-setuptools) = 40.6.2
|
|
|
b9ffd2 |
%endif
|
|
|
b9ffd2 |
|
|
|
1163ee |
# There are files in the standard library that have python shebang.
|
|
|
1163ee |
# We've filtered the automatic requirement out so libs are installable without
|
|
|
1163ee |
# the main package. This however makes it pulled in by default.
|
|
|
1163ee |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1547131
|
|
|
1163ee |
Recommends: platform-python%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
|
|
|
1163ee |
%description libs
|
|
|
1163ee |
This package contains runtime libraries for use by Python:
|
|
|
1163ee |
- the majority of the Python standard library
|
|
|
1163ee |
- a dynamically linked library for use by applications that embed Python as
|
|
|
1163ee |
a scripting language, and by the main "python3" executable
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# The contents of this package were moved into the `platform-python-devel` subpackage.
|
|
|
1163ee |
# See a comment above the definition of that subpackage for details.
|
|
|
1163ee |
%package devel
|
|
|
1163ee |
Summary: Libraries and header files needed for Python development
|
|
|
1163ee |
Requires: platform-python-devel%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
Requires: platform-python = %{version}-%{release}
|
|
|
1163ee |
Requires: python36-devel
|
|
|
1163ee |
|
|
|
1163ee |
%description devel
|
|
|
1163ee |
This package contains the header files and configuration needed to compile
|
|
|
1163ee |
Python extension modules (typically written in C or C++), to embed Python
|
|
|
1163ee |
into other programs, and to make binary distributions for Python libraries.
|
|
|
1163ee |
|
|
|
1163ee |
It also contains the necessary macros to build RPM packages with Python modules
|
|
|
1163ee |
and 2to3 tool, an automatic source converter from Python 2.X.
|
|
|
1163ee |
|
|
|
1163ee |
It also makes the "python3" and "python3-config" commands available
|
|
|
1163ee |
for compatibility with some build systems.
|
|
|
1163ee |
When building packages, prefer requiring platform-python-devel and using
|
|
|
1163ee |
the %%{__python3} macro instead, if possible.
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# The `platform-python-devel` (previously python3-libs-devel)
|
|
|
1163ee |
# subpackage was created because the `python3-devel` subpackage needs
|
|
|
1163ee |
# to pull into the buildroot the /usr/bin/python3{,-config} symlinks (for old
|
|
|
1163ee |
# buildsystems that are hard to switch to platform-python). But these symlinks
|
|
|
1163ee |
# cannot be shipped in RHEL8 to customers. Therefore we'll ship only
|
|
|
1163ee |
# `platform-python-devel` and have the `python3-devel` package require it in
|
|
|
1163ee |
# the buildroot, as well as pull in the symlinks.
|
|
|
1163ee |
%package -n platform-python-devel
|
|
|
1163ee |
Summary: Libraries and header files needed for Python development
|
|
|
1163ee |
Provides: %{name}-libs-devel = %{version}-%{release}
|
|
|
1163ee |
Provides: %{name}-libs-devel%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
Obsoletes: %{name}-libs-devel < 3.6.6-12
|
|
|
1163ee |
Requires: platform-python = %{version}-%{release}
|
|
|
1163ee |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
BuildRequires: python-rpm-macros
|
|
|
1163ee |
Requires: python-rpm-macros
|
|
|
1163ee |
Requires: python3-rpm-macros
|
|
|
1163ee |
Requires: python3-rpm-generators
|
|
|
1163ee |
|
|
|
b9ffd2 |
# This is not "API" (packages that need setuptools should still BuildRequire it)
|
|
|
b9ffd2 |
# However some packages apparently can build both with and without setuptools
|
|
|
b9ffd2 |
# producing egg-info as file or directory (depending on setuptools presence).
|
|
|
b9ffd2 |
# Directory-to-file updates are problematic in RPM, so we ensure setuptools is
|
|
|
b9ffd2 |
# installed when -devel is required.
|
|
|
b9ffd2 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1623914
|
|
|
b9ffd2 |
# See https://fedoraproject.org/wiki/Packaging:Directory_Replacement
|
|
|
b9ffd2 |
Requires: platform-python-setuptools
|
|
|
1163ee |
|
|
|
1163ee |
Provides: %{name}-2to3 = %{version}-%{release}
|
|
|
1163ee |
Provides: 2to3 = %{version}-%{release}
|
|
|
1163ee |
|
|
|
1163ee |
Conflicts: platform-python < %{version}-%{release}
|
|
|
1163ee |
Conflicts: python3 < 3.6.6-9
|
|
|
1163ee |
|
|
|
1163ee |
%description -n platform-python-devel
|
|
|
1163ee |
This package contains the header files and configuration needed to compile
|
|
|
1163ee |
Python extension modules (typically written in C or C++), to embed Python
|
|
|
1163ee |
into other programs, and to make binary distributions for Python libraries.
|
|
|
1163ee |
|
|
|
1163ee |
It also contains the necessary macros to build RPM packages with Python modules
|
|
|
1163ee |
and 2to3 tool, an automatic source converter from Python 2.X.
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
%package idle
|
|
|
1163ee |
Summary: A basic graphical development environment for Python
|
|
|
1163ee |
Requires: platform-python = %{version}-%{release}
|
|
|
1163ee |
Requires: %{name}-tkinter = %{version}-%{release}
|
|
|
1163ee |
|
|
|
1163ee |
Provides: idle3 = %{version}-%{release}
|
|
|
1163ee |
|
|
|
1163ee |
Provides: %{name}-tools = %{version}-%{release}
|
|
|
1163ee |
Provides: %{name}-tools%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
Obsoletes: %{name}-tools < %{version}-%{release}
|
|
|
1163ee |
|
|
|
0fa7ed |
|
|
|
0fa7ed |
# Require alternatives version that implements the --keep-foreign flag
|
|
|
0fa7ed |
Requires(postun): alternatives >= 1.19.1-1
|
|
|
1163ee |
# python36 installs the alternatives master symlink to which we attach a slave
|
|
|
1163ee |
Requires: python36
|
|
|
1163ee |
Requires(post): python36
|
|
|
1163ee |
Requires(postun): python36
|
|
|
1163ee |
|
|
|
1163ee |
%description idle
|
|
|
1163ee |
IDLE is Python’s Integrated Development and Learning Environment.
|
|
|
1163ee |
|
|
|
1163ee |
IDLE has the following features: Python shell window (interactive
|
|
|
1163ee |
interpreter) with colorizing of code input, output, and error messages;
|
|
|
1163ee |
multi-window text editor with multiple undo, Python colorizing,
|
|
|
1163ee |
smart indent, call tips, auto completion, and other features;
|
|
|
1163ee |
search within any window, replace within editor windows, and
|
|
|
1163ee |
search through multiple files (grep); debugger with persistent
|
|
|
1163ee |
breakpoints, stepping, and viewing of global and local namespaces;
|
|
|
1163ee |
configuration, browsers, and other dialogs.
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
%package tkinter
|
|
|
1163ee |
Summary: A GUI toolkit for Python
|
|
|
1163ee |
Requires: platform-python = %{version}-%{release}
|
|
|
1163ee |
|
|
|
1163ee |
%description tkinter
|
|
|
1163ee |
The Tkinter (Tk interface) library is a graphical user interface toolkit for
|
|
|
1163ee |
the Python programming language.
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
%package test
|
|
|
1163ee |
Summary: The self-test suite for the main python3 package
|
|
|
1163ee |
Requires: platform-python = %{version}-%{release}
|
|
|
1163ee |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
|
|
|
1163ee |
%description test
|
|
|
1163ee |
The self-test suite for the Python interpreter.
|
|
|
1163ee |
|
|
|
1163ee |
This is only useful to test Python itself. For testing general Python code,
|
|
|
1163ee |
you should use the unittest module from %{name}-libs, or a library such as
|
|
|
1163ee |
%{name}-pytest or %{name}-nose.
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
%if %{with debug_build}
|
|
|
1163ee |
%package -n platform-python-debug
|
|
|
1163ee |
Conflicts: python3-debug < 3.6.6-13
|
|
|
1163ee |
Summary: Debug version of the Python runtime
|
|
|
1163ee |
|
|
|
1163ee |
# The debug build is an all-in-one package version of the regular build, and
|
|
|
1163ee |
# shares the same .py/.pyc files and directories as the regular build. Hence
|
|
|
1163ee |
# we depend on all of the subpackages of the regular build:
|
|
|
1163ee |
Requires: platform-python%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
Requires: platform-python-devel%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
Requires: %{name}-test%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
Requires: %{name}-tkinter%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
Requires: %{name}-idle%{?_isa} = %{version}-%{release}
|
|
|
1163ee |
|
|
|
1163ee |
%description -n platform-python-debug
|
|
|
1163ee |
python3-debug provides a version of the Python runtime with numerous debugging
|
|
|
1163ee |
features enabled, aimed at advanced Python users such as developers of Python
|
|
|
1163ee |
extension modules.
|
|
|
1163ee |
|
|
|
1163ee |
This version uses more memory and will be slower than the regular Python build,
|
|
|
1163ee |
but is useful for tracking down reference-counting issues and other bugs.
|
|
|
1163ee |
|
|
|
1163ee |
The bytecode format is unchanged, so that .pyc files are compatible between
|
|
|
1163ee |
this and the standard version of Python, but the debugging features mean that
|
|
|
1163ee |
C/C++ extension modules are ABI-incompatible and must be built for each version
|
|
|
1163ee |
separately.
|
|
|
1163ee |
|
|
|
1163ee |
The debug build shares installation directories with the standard Python
|
|
|
1163ee |
runtime, so that .py and .pyc files can be shared.
|
|
|
1163ee |
Compiled extension modules use a special ABI flag ("d") in the filename,
|
|
|
1163ee |
so extensions for both versions can co-exist in the same directory.
|
|
|
1163ee |
%endif # with debug_build
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
# The prep phase of the build:
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
|
|
|
1163ee |
%prep
|
|
|
1163ee |
%setup -q -n Python-%{version}%{?prerel}
|
|
|
1163ee |
|
|
|
1163ee |
# Remove bundled libraries to ensure that we're using the system copy.
|
|
|
1163ee |
rm -r Modules/expat
|
|
|
1163ee |
rm -r Modules/zlib
|
|
|
1163ee |
|
|
|
1163ee |
#
|
|
|
1163ee |
# Apply patches:
|
|
|
1163ee |
#
|
|
|
1163ee |
%patch1 -p1
|
|
|
1163ee |
|
|
|
1163ee |
%if "%{_lib}" == "lib64"
|
|
|
1163ee |
%patch102 -p1
|
|
|
1163ee |
%endif
|
|
|
1163ee |
%patch111 -p1
|
|
|
1163ee |
%patch132 -p1
|
|
|
1163ee |
%patch155 -p1
|
|
|
1163ee |
%patch160 -p1
|
|
|
1163ee |
%patch163 -p1
|
|
|
1163ee |
%patch170 -p1
|
|
|
1163ee |
|
|
|
b9ffd2 |
%if %{with rpmwheels}
|
|
|
1163ee |
%patch189 -p1
|
|
|
b9ffd2 |
rm Lib/ensurepip/_bundled/*.whl
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
%patch251 -p1
|
|
|
9b3a7c |
%patch257 -p1
|
|
|
1163ee |
%patch262 -p1
|
|
|
1163ee |
%patch294 -p1
|
|
|
71928b |
%patch316 -p1
|
|
|
b9ffd2 |
%patch317 -p1
|
|
|
b9ffd2 |
%patch318 -p1
|
|
|
b9ffd2 |
%patch319 -p1
|
|
|
1ba735 |
%patch320 -p1
|
|
|
b9ffd2 |
%patch324 -p1
|
|
|
b9ffd2 |
%patch325 -p1
|
|
|
b9ffd2 |
%patch326 -p1
|
|
|
b9ffd2 |
%patch327 -p1
|
|
|
b9ffd2 |
%patch329 -p1
|
|
|
71928b |
%patch330 -p1
|
|
|
71928b |
%patch332 -p1
|
|
|
71928b |
%patch333 -p1
|
|
|
f8e6ca |
%patch338 -p1
|
|
|
f8e6ca |
%patch344 -p1
|
|
|
f8e6ca |
%patch345 -p1
|
|
|
f8e6ca |
%patch346 -p1
|
|
|
1ba735 |
|
|
|
f8e6ca |
# Patch 351 adds binary file for testing. We need to apply it using Git.
|
|
|
f8e6ca |
git apply %{PATCH351}
|
|
|
f8e6ca |
|
|
|
f8e6ca |
%patch352 -p1
|
|
|
71f264 |
%patch353 -p1
|
|
|
71f264 |
%patch354 -p1
|
|
|
71f264 |
%patch355 -p1
|
|
|
71f264 |
%patch356 -p1
|
|
|
71f264 |
%patch357 -p1
|
|
|
71f264 |
%patch359 -p1
|
|
|
0fa7ed |
%patch360 -p1
|
|
|
1aa391 |
%patch362 -p1
|
|
|
0fa7ed |
%patch364 -p1
|
|
|
605da4 |
%patch366 -p1
|
|
|
9b3a7c |
%patch368 -p1
|
|
|
9b3a7c |
%patch369 -p1
|
|
|
9b3a7c |
%patch370 -p1
|
|
|
9b3a7c |
%patch372 -p1
|
|
|
75b047 |
%patch377 -p1
|
|
|
75b047 |
%patch378 -p1
|
|
|
75b047 |
%patch382 -p1
|
|
|
36ebb5 |
%patch386 -p1
|
|
|
36ebb5 |
%patch387 -p1
|
|
|
36ebb5 |
%patch394 -p1
|
|
|
1163ee |
|
|
|
1163ee |
# Remove files that should be generated by the build
|
|
|
1163ee |
# (This is after patching, so that we can use patches directly from upstream)
|
|
|
1163ee |
rm configure pyconfig.h.in
|
|
|
1163ee |
|
|
|
71f264 |
# When we use the legacy arch names, we need to change them in configure.ac
|
|
|
71f264 |
%if %{with legacy_archnames}
|
|
|
71f264 |
sed -i configure.ac \
|
|
|
71f264 |
-e 's/\b%{platform_triplet_upstream}\b/%{platform_triplet_legacy}/'
|
|
|
71f264 |
%endif
|
|
|
71f264 |
|
|
|
1163ee |
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
# Configuring and building the code:
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
|
|
|
1163ee |
%build
|
|
|
1163ee |
|
|
|
1163ee |
# Regenerate the configure script and pyconfig.h.in
|
|
|
1163ee |
autoconf
|
|
|
1163ee |
autoheader
|
|
|
1163ee |
|
|
|
1163ee |
# Remember the current directory (which has sources and the configure script),
|
|
|
1163ee |
# so we can refer to it after we "cd" elsewhere.
|
|
|
1163ee |
topdir=$(pwd)
|
|
|
1163ee |
|
|
|
1163ee |
# Get proper option names from bconds
|
|
|
1163ee |
%if %{with computed_gotos}
|
|
|
1163ee |
%global computed_gotos_flag yes
|
|
|
1163ee |
%else
|
|
|
1163ee |
%global computed_gotos_flag no
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
%if %{with optimizations}
|
|
|
1163ee |
%global optimizations_flag "--enable-optimizations"
|
|
|
1163ee |
%else
|
|
|
1163ee |
%global optimizations_flag "--disable-optimizations"
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
# Set common compiler/linker flags
|
|
|
b9ffd2 |
# We utilize the %%extension_...flags macros here so users building C/C++
|
|
|
b9ffd2 |
# extensions with our python won't get all the compiler/linker flags used
|
|
|
b9ffd2 |
# in RHEL RPMs.
|
|
|
b9ffd2 |
# Standard library built here will still use the %%build_...flags,
|
|
|
b9ffd2 |
# RHEL packages utilizing %%py3_build will use them as well
|
|
|
b9ffd2 |
# https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
|
|
|
b9ffd2 |
export CFLAGS="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
|
|
f8e6ca |
export CFLAGS_NODIST="%{build_cflags} -D_GNU_SOURCE -fPIC -fwrapv -fno-semantic-interposition"
|
|
|
b9ffd2 |
export CXXFLAGS="%{extension_cxxflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
|
|
1163ee |
export CPPFLAGS="$(pkg-config --cflags-only-I libffi)"
|
|
|
b9ffd2 |
export OPT="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
|
|
|
1163ee |
export LINKCC="gcc"
|
|
|
1163ee |
export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
|
|
|
b9ffd2 |
export LDFLAGS="%{extension_ldflags} -g $(pkg-config --libs-only-L openssl)"
|
|
|
f8e6ca |
export LDFLAGS_NODIST="%{build_ldflags} -fno-semantic-interposition -g $(pkg-config --libs-only-L openssl)"
|
|
|
1163ee |
|
|
|
1163ee |
# We can build several different configurations of Python: regular and debug.
|
|
|
1163ee |
# Define a common function that does one build:
|
|
|
1163ee |
BuildPython() {
|
|
|
1163ee |
ConfName=$1
|
|
|
1163ee |
ExtraConfigArgs=$2
|
|
|
1163ee |
MoreCFlags=$3
|
|
|
1163ee |
|
|
|
1163ee |
# Each build is done in its own directory
|
|
|
1163ee |
ConfDir=build/$ConfName
|
|
|
1163ee |
echo STARTING: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
1163ee |
mkdir -p $ConfDir
|
|
|
1163ee |
pushd $ConfDir
|
|
|
1163ee |
|
|
|
1163ee |
# Normally, %%configure looks for the "configure" script in the current
|
|
|
1163ee |
# directory.
|
|
|
1163ee |
# Since we changed directories, we need to tell %%configure where to look.
|
|
|
1163ee |
%global _configure $topdir/configure
|
|
|
1163ee |
|
|
|
1163ee |
%configure \
|
|
|
1163ee |
--enable-ipv6 \
|
|
|
1163ee |
--enable-shared \
|
|
|
1163ee |
--with-computed-gotos=%{computed_gotos_flag} \
|
|
|
1163ee |
--with-dbmliborder=gdbm:ndbm:bdb \
|
|
|
1163ee |
--with-system-expat \
|
|
|
1163ee |
--with-system-ffi \
|
|
|
1163ee |
--enable-loadable-sqlite-extensions \
|
|
|
1163ee |
--with-dtrace \
|
|
|
1163ee |
--with-lto \
|
|
|
1163ee |
--with-ssl-default-suites=openssl \
|
|
|
1163ee |
%if %{with valgrind}
|
|
|
1163ee |
--with-valgrind \
|
|
|
1163ee |
%endif
|
|
|
1163ee |
$ExtraConfigArgs \
|
|
|
1163ee |
%{nil}
|
|
|
1163ee |
|
|
|
71f264 |
# Regenerate generated importlib frozen modules (see patch 353)
|
|
|
71f264 |
%make_build CFLAGS_NODIST="$CFLAGS_NODIST $MoreCFlags" regen-importlib
|
|
|
71f264 |
|
|
|
1163ee |
# Invoke the build
|
|
|
71928b |
%make_build CFLAGS_NODIST="$CFLAGS_NODIST $MoreCFlags"
|
|
|
1163ee |
|
|
|
1163ee |
popd
|
|
|
1163ee |
echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
1163ee |
}
|
|
|
1163ee |
|
|
|
1163ee |
# Call the above to build each configuration.
|
|
|
1163ee |
|
|
|
1163ee |
%if %{with debug_build}
|
|
|
1163ee |
BuildPython debug \
|
|
|
1163ee |
"--without-ensurepip --with-pydebug" \
|
|
|
1163ee |
"-Og"
|
|
|
1163ee |
%endif # with debug_build
|
|
|
1163ee |
|
|
|
1163ee |
BuildPython optimized \
|
|
|
1163ee |
"--without-ensurepip %{optimizations_flag}" \
|
|
|
1163ee |
""
|
|
|
1163ee |
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
# Installing the built code:
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
|
|
|
1163ee |
%install
|
|
|
1163ee |
|
|
|
1163ee |
# As in %%build, remember the current directory
|
|
|
1163ee |
topdir=$(pwd)
|
|
|
1163ee |
|
|
|
1163ee |
# We install a collection of hooks for gdb that make it easier to debug
|
|
|
1163ee |
# executables linked against libpython3* (such as /usr/bin/python3 itself)
|
|
|
1163ee |
#
|
|
|
1163ee |
# These hooks are implemented in Python itself (though they are for the version
|
|
|
1163ee |
# of python that gdb is linked with)
|
|
|
1163ee |
#
|
|
|
1163ee |
# gdb-archer looks for them in the same path as the ELF file or its .debug
|
|
|
1163ee |
# file, with a -gdb.py suffix.
|
|
|
1163ee |
# We put them next to the debug file, because ldconfig would complain if
|
|
|
1163ee |
# it found non-library files directly in /usr/lib/
|
|
|
1163ee |
# (see https://bugzilla.redhat.com/show_bug.cgi?id=562980)
|
|
|
1163ee |
#
|
|
|
1163ee |
# We'll put these files in the debuginfo package by installing them to e.g.:
|
|
|
1163ee |
# /usr/lib/debug/usr/lib/libpython3.2.so.1.0.debug-gdb.py
|
|
|
1163ee |
# (note that the debug path is /usr/lib/debug for both 32/64 bit)
|
|
|
1163ee |
#
|
|
|
1163ee |
# See https://fedoraproject.org/wiki/Features/EasierPythonDebugging for more
|
|
|
1163ee |
# information
|
|
|
1163ee |
|
|
|
1163ee |
%if %{with gdb_hooks}
|
|
|
1163ee |
DirHoldingGdbPy=%{_prefix}/lib/debug/%{_libdir}
|
|
|
1163ee |
mkdir -p %{buildroot}$DirHoldingGdbPy
|
|
|
1163ee |
%endif # with gdb_hooks
|
|
|
1163ee |
|
|
|
1163ee |
# Multilib support for pyconfig.h
|
|
|
1163ee |
# 32- and 64-bit versions of pyconfig.h are different. For multilib support
|
|
|
1163ee |
# (making it possible to install 32- and 64-bit versions simultaneously),
|
|
|
1163ee |
# we need to install them under different filenames, and to make the common
|
|
|
1163ee |
# "pyconfig.h" include the right file based on architecture.
|
|
|
1163ee |
# See https://bugzilla.redhat.com/show_bug.cgi?id=192747
|
|
|
1163ee |
# Filanames are defined here:
|
|
|
1163ee |
%global _pyconfig32_h pyconfig-32.h
|
|
|
1163ee |
%global _pyconfig64_h pyconfig-64.h
|
|
|
1163ee |
%global _pyconfig_h pyconfig-%{wordsize}.h
|
|
|
1163ee |
|
|
|
6d5c51 |
|
|
|
1163ee |
# Use a common function to do an install for all our configurations:
|
|
|
1163ee |
InstallPython() {
|
|
|
1163ee |
|
|
|
1163ee |
ConfName=$1
|
|
|
1163ee |
PyInstSoName=$2
|
|
|
1163ee |
MoreCFlags=$3
|
|
|
1163ee |
LDVersion=$4
|
|
|
1163ee |
|
|
|
1163ee |
# Switch to the directory with this configuration's built files
|
|
|
1163ee |
ConfDir=build/$ConfName
|
|
|
1163ee |
echo STARTING: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
1163ee |
mkdir -p $ConfDir
|
|
|
1163ee |
pushd $ConfDir
|
|
|
1163ee |
|
|
|
1163ee |
make \
|
|
|
1163ee |
DESTDIR=%{buildroot} \
|
|
|
1163ee |
INSTALL="install -p" \
|
|
|
1163ee |
EXTRA_CFLAGS="$MoreCFlags" \
|
|
|
1163ee |
install
|
|
|
1163ee |
|
|
|
1163ee |
popd
|
|
|
1163ee |
|
|
|
1163ee |
%if %{with gdb_hooks}
|
|
|
1163ee |
# See comment on $DirHoldingGdbPy above
|
|
|
1163ee |
PathOfGdbPy=$DirHoldingGdbPy/$PyInstSoName-%{version}-%{release}.%{_arch}.debug-gdb.py
|
|
|
1163ee |
cp Tools/gdb/libpython.py %{buildroot}$PathOfGdbPy
|
|
|
1163ee |
%endif # with gdb_hooks
|
|
|
1163ee |
|
|
|
1163ee |
# Rename the -devel script that differs on different arches to arch specific name
|
|
|
1163ee |
mv %{buildroot}%{_bindir}/python${LDVersion}-{,`uname -m`-}config
|
|
|
1163ee |
echo -e '#!/bin/sh\nexec %{_libexecdir}/platform-python'${LDVersion}'-`uname -m`-config "$@"' > \
|
|
|
1163ee |
%{buildroot}%{_bindir}/python${LDVersion}-config
|
|
|
1163ee |
echo '[ $? -eq 127 ] && echo "Could not find %{_libexecdir}/platform-python'${LDVersion}'-`uname -m`-config. Look around to see available arches." >&2' >> \
|
|
|
1163ee |
%{buildroot}%{_bindir}/python${LDVersion}-config
|
|
|
1163ee |
chmod +x %{buildroot}%{_bindir}/python${LDVersion}-config
|
|
|
1163ee |
|
|
|
1163ee |
# Platform Python: Move the python*-config to libexec
|
|
|
1163ee |
mkdir -p %{buildroot}%{_libexecdir}
|
|
|
1163ee |
mv %{buildroot}%{_bindir}/python${LDVersion}-config %{buildroot}%{_libexecdir}/platform-python${LDVersion}-config
|
|
|
1163ee |
ln -s %{_libexecdir}/platform-python${LDVersion}-config %{buildroot}%{_bindir}/python${LDVersion}-config
|
|
|
1163ee |
mv %{buildroot}%{_bindir}/python${LDVersion}-`uname -m`-config %{buildroot}%{_libexecdir}/platform-python${LDVersion}-`uname -m`-config
|
|
|
1163ee |
ln -s %{_libexecdir}/platform-python${LDVersion}-`uname -m`-config %{buildroot}%{_bindir}/python${LDVersion}-`uname -m`-config
|
|
|
1163ee |
|
|
|
1163ee |
# Platform Python: Move optimized and debug executables
|
|
|
1163ee |
mv %{buildroot}%{_bindir}/python${LDVersion} %{buildroot}%{_libexecdir}/platform-python${LDVersion}
|
|
|
1163ee |
ln -s %{_libexecdir}/platform-python${LDVersion} %{buildroot}%{_bindir}/python${LDVersion}
|
|
|
1163ee |
|
|
|
1163ee |
# Make python3-devel multilib-ready
|
|
|
1163ee |
mv %{buildroot}%{_includedir}/python${LDVersion}/pyconfig.h \
|
|
|
1163ee |
%{buildroot}%{_includedir}/python${LDVersion}/%{_pyconfig_h}
|
|
|
1163ee |
cat > %{buildroot}%{_includedir}/python${LDVersion}/pyconfig.h << EOF
|
|
|
1163ee |
#include <bits/wordsize.h>
|
|
|
1163ee |
|
|
|
1163ee |
#if __WORDSIZE == 32
|
|
|
1163ee |
#include "%{_pyconfig32_h}"
|
|
|
1163ee |
#elif __WORDSIZE == 64
|
|
|
1163ee |
#include "%{_pyconfig64_h}"
|
|
|
1163ee |
#else
|
|
|
1163ee |
#error "Unknown word size"
|
|
|
1163ee |
#endif
|
|
|
1163ee |
EOF
|
|
|
1163ee |
|
|
|
1163ee |
echo FINISHED: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
1163ee |
}
|
|
|
1163ee |
|
|
|
1163ee |
# Install the "debug" build first; any common files will be overridden with
|
|
|
1163ee |
# later builds
|
|
|
1163ee |
%if %{with debug_build}
|
|
|
1163ee |
InstallPython debug \
|
|
|
1163ee |
%{py_INSTSONAME_debug} \
|
|
|
1163ee |
-O0 \
|
|
|
1163ee |
%{LDVERSION_debug}
|
|
|
1163ee |
%endif # with debug_build
|
|
|
1163ee |
|
|
|
1163ee |
# Now the optimized build:
|
|
|
1163ee |
InstallPython optimized \
|
|
|
1163ee |
%{py_INSTSONAME_optimized} \
|
|
|
1163ee |
"" \
|
|
|
1163ee |
%{LDVERSION_optimized}
|
|
|
1163ee |
|
|
|
1163ee |
# Install directories for additional packages
|
|
|
1163ee |
install -d -m 0755 %{buildroot}%{pylibdir}/site-packages/__pycache__
|
|
|
1163ee |
%if "%{_lib}" == "lib64"
|
|
|
1163ee |
# The 64-bit version needs to create "site-packages" in /usr/lib/ (for
|
|
|
1163ee |
# pure-Python modules) as well as in /usr/lib64/ (for packages with extension
|
|
|
1163ee |
# modules).
|
|
|
1163ee |
# Note that rpmlint will complain about hardcoded library path;
|
|
|
1163ee |
# this is intentional.
|
|
|
1163ee |
install -d -m 0755 %{buildroot}%{_prefix}/lib/python%{pybasever}/site-packages/__pycache__
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
# add idle3 to menu
|
|
|
1163ee |
install -D -m 0644 Lib/idlelib/Icons/idle_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/idle3.png
|
|
|
1163ee |
install -D -m 0644 Lib/idlelib/Icons/idle_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/idle3.png
|
|
|
1163ee |
install -D -m 0644 Lib/idlelib/Icons/idle_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/idle3.png
|
|
|
1163ee |
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE10}
|
|
|
1163ee |
|
|
|
1163ee |
# Install and validate appdata file
|
|
|
1163ee |
mkdir -p %{buildroot}%{_metainfodir}
|
|
|
1163ee |
cp -a %{SOURCE11} %{buildroot}%{_metainfodir}
|
|
|
1163ee |
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/idle3.appdata.xml
|
|
|
1163ee |
|
|
|
1163ee |
# Make sure distutils looks at the right pyconfig.h file
|
|
|
1163ee |
# See https://bugzilla.redhat.com/show_bug.cgi?id=201434
|
|
|
1163ee |
# Similar for sysconfig: sysconfig.get_config_h_filename tries to locate
|
|
|
1163ee |
# pyconfig.h so it can be parsed, and needs to do this at runtime in site.py
|
|
|
1163ee |
# when python starts up (see https://bugzilla.redhat.com/show_bug.cgi?id=653058)
|
|
|
1163ee |
#
|
|
|
1163ee |
# Split this out so it goes directly to the pyconfig-32.h/pyconfig-64.h
|
|
|
1163ee |
# variants:
|
|
|
1163ee |
sed -i -e "s/'pyconfig.h'/'%{_pyconfig_h}'/" \
|
|
|
1163ee |
%{buildroot}%{pylibdir}/distutils/sysconfig.py \
|
|
|
1163ee |
%{buildroot}%{pylibdir}/sysconfig.py
|
|
|
1163ee |
|
|
|
1163ee |
# Install pathfix.py to bindir
|
|
|
1163ee |
# See https://github.com/fedora-python/python-rpm-porting/issues/24
|
|
|
1163ee |
cp -p Tools/scripts/pathfix.py %{buildroot}%{_bindir}/
|
|
|
1163ee |
|
|
|
1163ee |
# Switch all shebangs to refer to the specific Python version.
|
|
|
1163ee |
# This currently only covers files matching ^[a-zA-Z0-9_]+\.py$,
|
|
|
1163ee |
# so handle files named using other naming scheme separately.
|
|
|
1163ee |
# - Files in /usr/bin/ (without .py) are listed manually
|
|
|
1163ee |
LD_LIBRARY_PATH=./build/optimized ./build/optimized/python \
|
|
|
1163ee |
Tools/scripts/pathfix.py \
|
|
|
1163ee |
-i "%{_libexecdir}/platform-python" -pn \
|
|
|
1163ee |
%{buildroot} \
|
|
|
1163ee |
%{?with_gdb_hooks:%{buildroot}$DirHoldingGdbPy/*.py} \
|
|
|
1163ee |
%{buildroot}%{_bindir}/{idle,pydoc,pyvenv-,2to3-}%{pybasever}
|
|
|
1163ee |
|
|
|
1163ee |
# The python-config.py files need to be shebanged with the given LDVERSION'ed
|
|
|
1163ee |
# executable
|
|
|
1163ee |
for LDVersion in %{LDVERSION_optimized} %{LDVERSION_debug}
|
|
|
1163ee |
do
|
|
|
1163ee |
LD_LIBRARY_PATH=./build/optimized ./build/optimized/python \
|
|
|
1163ee |
Tools/scripts/pathfix.py \
|
|
|
1163ee |
-i "%{_libexecdir}/platform-python${LDVersion}" -pn \
|
|
|
71f264 |
%{buildroot}%{pylibdir}/config-${LDVersion}-%{platform_triplet}/python-config.py
|
|
|
1163ee |
done
|
|
|
1163ee |
|
|
|
1163ee |
# Remove tests for python3-tools which was removed in
|
|
|
1163ee |
# https://bugzilla.redhat.com/show_bug.cgi?id=1312030
|
|
|
1163ee |
rm -rf %{buildroot}%{pylibdir}/test/test_tools
|
|
|
1163ee |
|
|
|
1163ee |
# Remove shebang lines from .py files that aren't executable, and
|
|
|
1163ee |
# remove executability from .py files that don't have a shebang line:
|
|
|
1163ee |
find %{buildroot} -name \*.py \
|
|
|
1163ee |
\( \( \! -perm /u+x,g+x,o+x -exec sed -e '/^#!/Q 0' -e 'Q 1' {} \; \
|
|
|
1163ee |
-print -exec sed -i '1d' {} \; \) -o \( \
|
|
|
1163ee |
-perm /u+x,g+x,o+x ! -exec grep -m 1 -q '^#!' {} \; \
|
|
|
1163ee |
-exec chmod a-x {} \; \) \)
|
|
|
1163ee |
|
|
|
1163ee |
# Get rid of DOS batch files:
|
|
|
1163ee |
find %{buildroot} -name \*.bat -exec rm {} \;
|
|
|
1163ee |
|
|
|
1163ee |
# Get rid of backup files:
|
|
|
1163ee |
find %{buildroot}/ -name "*~" -exec rm -f {} \;
|
|
|
1163ee |
find . -name "*~" -exec rm -f {} \;
|
|
|
1163ee |
|
|
|
1163ee |
# Get rid of a stray copy of the license:
|
|
|
1163ee |
rm %{buildroot}%{pylibdir}/LICENSE.txt
|
|
|
1163ee |
|
|
|
1163ee |
# Do bytecompilation with the newly installed interpreter.
|
|
|
1163ee |
# This is similar to the script in macros.pybytecompile
|
|
|
1163ee |
# compile *.pyc
|
|
|
1163ee |
find %{buildroot} -type f -a -name "*.py" -print0 | \
|
|
|
1163ee |
LD_LIBRARY_PATH="%{buildroot}%{dynload_dir}/:%{buildroot}%{_libdir}" \
|
|
|
1163ee |
PYTHONPATH="%{buildroot}%{_libdir}/python%{pybasever} %{buildroot}%{_libdir}/python%{pybasever}/site-packages" \
|
|
|
1163ee |
xargs -0 %{buildroot}%{_bindir}/python%{pybasever} -O -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("%{buildroot}")[2], optimize=opt) for opt in range(3) for f in sys.argv[1:]]' || :
|
|
|
1163ee |
|
|
|
1163ee |
# Since we have pathfix.py in bindir, this is created, but we don't want it
|
|
|
1163ee |
rm -rf %{buildroot}%{_bindir}/__pycache__
|
|
|
1163ee |
|
|
|
1163ee |
# Fixup permissions for shared libraries from non-standard 555 to standard 755:
|
|
|
1163ee |
find %{buildroot} -perm 555 -exec chmod 755 {} \;
|
|
|
1163ee |
|
|
|
1163ee |
# Install macros for rpm:
|
|
|
1163ee |
mkdir -p %{buildroot}/%{_rpmconfigdir}/macros.d/
|
|
|
1163ee |
|
|
|
1163ee |
# Create "/usr/bin/python3-debug" (and /usr/libexec/platform-python-debug),
|
|
|
1163ee |
# a symlink to the python3 debug binary, to
|
|
|
1163ee |
# avoid the user having to know the precise version and ABI flags.
|
|
|
1163ee |
# See e.g. https://bugzilla.redhat.com/show_bug.cgi?id=676748
|
|
|
1163ee |
%if %{with debug_build}
|
|
|
1163ee |
ln -s \
|
|
|
1163ee |
%{_bindir}/python%{LDVERSION_debug} \
|
|
|
1163ee |
%{buildroot}%{_bindir}/python3-debug
|
|
|
1163ee |
ln -s \
|
|
|
1163ee |
%{_libexecdir}/platform-python%{LDVERSION_debug} \
|
|
|
1163ee |
%{buildroot}%{_libexecdir}/platform-python-debug
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
# Platform Python: Move the executable to libexec & provide a symlink from bindir
|
|
|
1163ee |
# (this symlink will be moved to the python36 module)
|
|
|
1163ee |
mkdir -p %{buildroot}%{_libexecdir}
|
|
|
1163ee |
mv %{buildroot}%{_bindir}/python%{pybasever} %{buildroot}%{_libexecdir}/platform-python%{pybasever}
|
|
|
1163ee |
ln -s %{_libexecdir}/platform-python%{pybasever} %{buildroot}%{_bindir}/python%{pybasever}
|
|
|
1163ee |
ln -s ./platform-python%{pybasever} %{buildroot}%{_libexecdir}/platform-python
|
|
|
1163ee |
|
|
|
1163ee |
# Platform Python: Add symlink from platform-python-config
|
|
|
1163ee |
ln -s ./platform-python%{LDVERSION_optimized}-config %{buildroot}%{_libexecdir}/platform-python%{pybasever}-config
|
|
|
1163ee |
ln -s ./platform-python%{pybasever}-config %{buildroot}%{_libexecdir}/platform-python-config
|
|
|
1163ee |
|
|
|
1163ee |
# Remove symlinks <name>3 > <name>3.6 for pydoc, idle, manpage
|
|
|
1163ee |
rm %{buildroot}%{_bindir}/pydoc3
|
|
|
1163ee |
rm %{buildroot}%{_bindir}/idle3
|
|
|
1163ee |
rm %{buildroot}%{_mandir}/man1/python3.1
|
|
|
1163ee |
|
|
|
1163ee |
# Install the unversioned-python script and its man page
|
|
|
1163ee |
install -m 755 %{SOURCE12} %{buildroot}%{_libexecdir}/no-python
|
|
|
b9ffd2 |
install -m 644 %{SOURCE13} %{buildroot}%{_mandir}/man1/unversioned-python.1
|
|
|
1163ee |
# Touch the files that are controlled by `alternatives` so we can declare them
|
|
|
1163ee |
# as ghosts in the files section
|
|
|
1163ee |
touch %{buildroot}%{_bindir}/unversioned-python
|
|
|
1163ee |
touch %{buildroot}%{_bindir}/idle3
|
|
|
1163ee |
touch %{buildroot}%{_mandir}/man1/python.1.gz
|
|
|
1163ee |
|
|
|
6d5c51 |
# Strip the LTO bytecode from python.o
|
|
|
6d5c51 |
# Based on the fedora brp-strip-lto scriptlet
|
|
|
6d5c51 |
# https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/9dd5528cf9805ebfe31cff04fe7828ad06a6023f/f/brp-strip-lto
|
|
|
6d5c51 |
find %{buildroot} -type f -name 'python.o' -print0 | xargs -0 \
|
|
|
6d5c51 |
bash -c "strip -p -R .gnu.lto_* -R .gnu.debuglto_* -N __gnu_lto_v1 \"\$@\"" ARG0
|
|
|
1163ee |
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
# Checks for packaging issues
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
|
|
|
1163ee |
%check
|
|
|
1163ee |
# first of all, check timestamps of bytecode files
|
|
|
1163ee |
find %{buildroot} -type f -a -name "*.py" -print0 | \
|
|
|
1163ee |
LD_LIBRARY_PATH="%{buildroot}%{dynload_dir}/:%{buildroot}%{_libdir}" \
|
|
|
1163ee |
PYTHONPATH="%{buildroot}%{_libdir}/python%{pybasever} %{buildroot}%{_libdir}/python%{pybasever}/site-packages" \
|
|
|
1163ee |
xargs -0 %{buildroot}%{_libexecdir}/platform-python %{SOURCE8}
|
|
|
1163ee |
|
|
|
1163ee |
# Ensure that the curses module was linked against libncursesw.so, rather than
|
|
|
1163ee |
# libncurses.so
|
|
|
1163ee |
# See https://bugzilla.redhat.com/show_bug.cgi?id=539917
|
|
|
1163ee |
ldd %{buildroot}/%{dynload_dir}/_curses*.so \
|
|
|
1163ee |
| grep curses \
|
|
|
1163ee |
| grep libncurses.so && (echo "_curses.so linked against libncurses.so" ; exit 1)
|
|
|
1163ee |
|
|
|
1163ee |
# Ensure that the debug modules are linked against the debug libpython, and
|
|
|
1163ee |
# likewise for the optimized modules and libpython:
|
|
|
1163ee |
for Module in %{buildroot}/%{dynload_dir}/*.so ; do
|
|
|
1163ee |
case $Module in
|
|
|
1163ee |
*.%{SOABI_debug})
|
|
|
1163ee |
ldd $Module | grep %{py_INSTSONAME_optimized} &&
|
|
|
1163ee |
(echo Debug module $Module linked against optimized %{py_INSTSONAME_optimized} ; exit 1)
|
|
|
1163ee |
|
|
|
1163ee |
;;
|
|
|
1163ee |
*.%{SOABI_optimized})
|
|
|
1163ee |
ldd $Module | grep %{py_INSTSONAME_debug} &&
|
|
|
1163ee |
(echo Optimized module $Module linked against debug %{py_INSTSONAME_debug} ; exit 1)
|
|
|
1163ee |
;;
|
|
|
1163ee |
esac
|
|
|
1163ee |
done
|
|
|
1163ee |
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
# Running the upstream test suite
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
|
|
|
1163ee |
topdir=$(pwd)
|
|
|
1163ee |
CheckPython() {
|
|
|
1163ee |
ConfName=$1
|
|
|
1163ee |
ConfDir=$(pwd)/build/$ConfName
|
|
|
1163ee |
|
|
|
1163ee |
export OPENSSL_CONF=/non-existing-file
|
|
|
1163ee |
|
|
|
1163ee |
echo STARTING: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
1163ee |
|
|
|
1163ee |
# Note that we're running the tests using the version of the code in the
|
|
|
1163ee |
# builddir, not in the buildroot.
|
|
|
1163ee |
|
|
|
1163ee |
# Run the upstream test suite, setting "WITHIN_PYTHON_RPM_BUILD" so that the
|
|
|
1163ee |
# our non-standard decorators take effect on the relevant tests:
|
|
|
1163ee |
# @unittest._skipInRpmBuild(reason)
|
|
|
1163ee |
# @unittest._expectedFailureInRpmBuild
|
|
|
1163ee |
# test_faulthandler.test_register_chain currently fails on ppc64le and
|
|
|
1163ee |
# aarch64, see upstream bug http://bugs.python.org/issue21131
|
|
|
1163ee |
WITHIN_PYTHON_RPM_BUILD= \
|
|
|
1163ee |
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
|
|
|
1163ee |
-wW --slowest --findleaks \
|
|
|
1163ee |
-x test_bdist_rpm \
|
|
|
1163ee |
%ifarch %{mips64}
|
|
|
1163ee |
-x test_ctypes \
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
1163ee |
|
|
|
1163ee |
}
|
|
|
1163ee |
|
|
|
1163ee |
%if %{with tests}
|
|
|
1163ee |
|
|
|
1163ee |
# Check each of the configurations:
|
|
|
1163ee |
%if %{with debug_build}
|
|
|
1163ee |
CheckPython debug
|
|
|
1163ee |
%endif # with debug_build
|
|
|
1163ee |
CheckPython optimized
|
|
|
1163ee |
|
|
|
1163ee |
%endif # with tests
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
%post -n platform-python
|
|
|
1163ee |
# Default with no /usr/bin/python symlink
|
|
|
1163ee |
alternatives --install %{_bindir}/unversioned-python \
|
|
|
1163ee |
python \
|
|
|
1163ee |
%{_libexecdir}/no-python \
|
|
|
1163ee |
404 \
|
|
|
1163ee |
--slave %{_mandir}/man1/python.1.gz \
|
|
|
1163ee |
unversioned-python-man \
|
|
|
1163ee |
%{_mandir}/man1/unversioned-python.1.gz
|
|
|
1163ee |
|
|
|
1163ee |
%postun -n platform-python
|
|
|
1163ee |
# Do this only during uninstall process (not during update)
|
|
|
1163ee |
if [ $1 -eq 0 ]; then
|
|
|
0fa7ed |
alternatives --keep-foreign --remove python \
|
|
|
1163ee |
%{_libexecdir}/no-python
|
|
|
1163ee |
|
|
|
1163ee |
fi
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
%post -n python3-idle
|
|
|
1163ee |
alternatives --add-slave python3 %{_bindir}/python3.6 \
|
|
|
1163ee |
%{_bindir}/idle3 \
|
|
|
1163ee |
idle3 \
|
|
|
1163ee |
%{_bindir}/idle3.6
|
|
|
1163ee |
|
|
|
1163ee |
%postun -n python3-idle
|
|
|
1163ee |
# Do this only during uninstall process (not during update)
|
|
|
1163ee |
if [ $1 -eq 0 ]; then
|
|
|
0fa7ed |
alternatives --keep-foreign --remove-slave python3 %{_bindir}/python3.6 \
|
|
|
1163ee |
idle3
|
|
|
1163ee |
fi
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
%files -n platform-python
|
|
|
1163ee |
%license LICENSE
|
|
|
1163ee |
%doc README.rst
|
|
|
1163ee |
%{_bindir}/pydoc*
|
|
|
1163ee |
|
|
|
1163ee |
%exclude %{_bindir}/python3
|
|
|
1163ee |
%exclude %{_bindir}/python%{pybasever}
|
|
|
1163ee |
%exclude %{_bindir}/python%{LDVERSION_optimized}
|
|
|
1163ee |
%{_libexecdir}/platform-python
|
|
|
1163ee |
%{_libexecdir}/platform-python%{pybasever}
|
|
|
1163ee |
%{_libexecdir}/platform-python%{LDVERSION_optimized}
|
|
|
1163ee |
%{_libexecdir}/no-python
|
|
|
1163ee |
%ghost %{_bindir}/unversioned-python
|
|
|
1163ee |
%ghost %{_mandir}/man1/python.1.gz
|
|
|
1163ee |
|
|
|
1163ee |
%exclude %{_bindir}/pyvenv
|
|
|
1163ee |
%{_bindir}/pyvenv-%{pybasever}
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
%{_mandir}/man1/python3.6.1*
|
|
|
b9ffd2 |
%{_mandir}/man1/unversioned-python.1*
|
|
|
1163ee |
|
|
|
1163ee |
%files libs
|
|
|
1163ee |
%license LICENSE
|
|
|
1163ee |
%doc README.rst
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}
|
|
|
1163ee |
%dir %{dynload_dir}
|
|
|
1163ee |
|
|
|
1163ee |
%{pylibdir}/lib2to3
|
|
|
1163ee |
%exclude %{pylibdir}/lib2to3/tests
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/unittest/
|
|
|
1163ee |
%dir %{pylibdir}/unittest/__pycache__/
|
|
|
1163ee |
%{pylibdir}/unittest/*.py
|
|
|
1163ee |
%{pylibdir}/unittest/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/asyncio/
|
|
|
1163ee |
%dir %{pylibdir}/asyncio/__pycache__/
|
|
|
1163ee |
%{pylibdir}/asyncio/*.py
|
|
|
1163ee |
%{pylibdir}/asyncio/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/venv/
|
|
|
1163ee |
%dir %{pylibdir}/venv/__pycache__/
|
|
|
1163ee |
%{pylibdir}/venv/*.py
|
|
|
1163ee |
%{pylibdir}/venv/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
%{pylibdir}/venv/scripts
|
|
|
1163ee |
|
|
|
1163ee |
%{pylibdir}/wsgiref
|
|
|
1163ee |
%{pylibdir}/xmlrpc
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/ensurepip/
|
|
|
1163ee |
%dir %{pylibdir}/ensurepip/__pycache__/
|
|
|
1163ee |
%{pylibdir}/ensurepip/*.py
|
|
|
1163ee |
%{pylibdir}/ensurepip/__pycache__/*%{bytecode_suffixes}
|
|
|
b9ffd2 |
%if %{with rpmwheels}
|
|
|
1163ee |
%exclude %{pylibdir}/ensurepip/_bundled
|
|
|
b9ffd2 |
%else
|
|
|
b9ffd2 |
%dir %{pylibdir}/ensurepip/_bundled
|
|
|
b9ffd2 |
%{pylibdir}/ensurepip/_bundled/*.whl
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
# The majority of the test module lives in the test subpackage
|
|
|
1163ee |
# However test.support is in libs - it contains stuff used when testing your code
|
|
|
1163ee |
# https://bugzilla.redhat.com/show_bug.cgi?id=1651215
|
|
|
1163ee |
%dir %{pylibdir}/test/
|
|
|
1163ee |
%dir %{pylibdir}/test/__pycache__/
|
|
|
1163ee |
%dir %{pylibdir}/test/support/
|
|
|
1163ee |
%dir %{pylibdir}/test/support/__pycache__/
|
|
|
1163ee |
%{pylibdir}/test/__init__.py
|
|
|
1163ee |
%{pylibdir}/test/__pycache__/__init__%{bytecode_suffixes}
|
|
|
1163ee |
%{pylibdir}/test/support/*.py
|
|
|
1163ee |
%{pylibdir}/test/support/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/concurrent/
|
|
|
1163ee |
%dir %{pylibdir}/concurrent/__pycache__/
|
|
|
1163ee |
%{pylibdir}/concurrent/*.py
|
|
|
1163ee |
%{pylibdir}/concurrent/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/concurrent/futures/
|
|
|
1163ee |
%dir %{pylibdir}/concurrent/futures/__pycache__/
|
|
|
1163ee |
%{pylibdir}/concurrent/futures/*.py
|
|
|
1163ee |
%{pylibdir}/concurrent/futures/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%{pylibdir}/pydoc_data
|
|
|
1163ee |
|
|
|
1163ee |
%{dynload_dir}/_blake2.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_sha3.%{SOABI_optimized}.so
|
|
|
b9ffd2 |
%{dynload_dir}/_hmacopenssl.%{SOABI_optimized}.so
|
|
|
1163ee |
|
|
|
1163ee |
%{dynload_dir}/_asyncio.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_bisect.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_bz2.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_cn.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_hk.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_iso2022.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_jp.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_kr.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_tw.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_crypt.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_csv.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_ctypes.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_curses.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_curses_panel.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_dbm.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_decimal.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_elementtree.%{SOABI_optimized}.so
|
|
|
1163ee |
%if %{with gdbm}
|
|
|
1163ee |
%{dynload_dir}/_gdbm.%{SOABI_optimized}.so
|
|
|
1163ee |
%endif
|
|
|
1163ee |
%{dynload_dir}/_hashlib.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_heapq.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_json.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_lsprof.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_lzma.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_multibytecodec.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_multiprocessing.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_opcode.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_pickle.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_posixsubprocess.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_random.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_socket.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_sqlite3.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_ssl.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_struct.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/array.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/audioop.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/binascii.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/cmath.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_datetime.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/fcntl.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/grp.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/math.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/mmap.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/nis.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/ossaudiodev.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/parser.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/pyexpat.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/readline.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/resource.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/select.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/spwd.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/syslog.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/termios.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_testmultiphase.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/unicodedata.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/xxlimited.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/zlib.%{SOABI_optimized}.so
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/site-packages/
|
|
|
1163ee |
%dir %{pylibdir}/site-packages/__pycache__/
|
|
|
1163ee |
%{pylibdir}/site-packages/README.txt
|
|
|
1163ee |
%{pylibdir}/*.py
|
|
|
1163ee |
%dir %{pylibdir}/__pycache__/
|
|
|
1163ee |
%{pylibdir}/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/collections/
|
|
|
1163ee |
%dir %{pylibdir}/collections/__pycache__/
|
|
|
1163ee |
%{pylibdir}/collections/*.py
|
|
|
1163ee |
%{pylibdir}/collections/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/ctypes/
|
|
|
1163ee |
%dir %{pylibdir}/ctypes/__pycache__/
|
|
|
1163ee |
%{pylibdir}/ctypes/*.py
|
|
|
1163ee |
%{pylibdir}/ctypes/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
%{pylibdir}/ctypes/macholib
|
|
|
1163ee |
|
|
|
1163ee |
%{pylibdir}/curses
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/dbm/
|
|
|
1163ee |
%dir %{pylibdir}/dbm/__pycache__/
|
|
|
1163ee |
%{pylibdir}/dbm/*.py
|
|
|
1163ee |
%{pylibdir}/dbm/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/distutils/
|
|
|
1163ee |
%dir %{pylibdir}/distutils/__pycache__/
|
|
|
1163ee |
%{pylibdir}/distutils/*.py
|
|
|
1163ee |
%{pylibdir}/distutils/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
%{pylibdir}/distutils/README
|
|
|
1163ee |
%{pylibdir}/distutils/command
|
|
|
1163ee |
%exclude %{pylibdir}/distutils/command/wininst-*.exe
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/email/
|
|
|
1163ee |
%dir %{pylibdir}/email/__pycache__/
|
|
|
1163ee |
%{pylibdir}/email/*.py
|
|
|
1163ee |
%{pylibdir}/email/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
%{pylibdir}/email/mime
|
|
|
1163ee |
%doc %{pylibdir}/email/architecture.rst
|
|
|
1163ee |
|
|
|
1163ee |
%{pylibdir}/encodings
|
|
|
1163ee |
|
|
|
1163ee |
%{pylibdir}/html
|
|
|
1163ee |
%{pylibdir}/http
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/importlib/
|
|
|
1163ee |
%dir %{pylibdir}/importlib/__pycache__/
|
|
|
1163ee |
%{pylibdir}/importlib/*.py
|
|
|
1163ee |
%{pylibdir}/importlib/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/json/
|
|
|
1163ee |
%dir %{pylibdir}/json/__pycache__/
|
|
|
1163ee |
%{pylibdir}/json/*.py
|
|
|
1163ee |
%{pylibdir}/json/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%{pylibdir}/logging
|
|
|
1163ee |
%{pylibdir}/multiprocessing
|
|
|
1163ee |
|
|
|
1163ee |
%dir %{pylibdir}/sqlite3/
|
|
|
1163ee |
%dir %{pylibdir}/sqlite3/__pycache__/
|
|
|
1163ee |
%{pylibdir}/sqlite3/*.py
|
|
|
1163ee |
%{pylibdir}/sqlite3/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%exclude %{pylibdir}/turtle.py
|
|
|
1163ee |
%exclude %{pylibdir}/__pycache__/turtle*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%{pylibdir}/urllib
|
|
|
1163ee |
%{pylibdir}/xml
|
|
|
1163ee |
|
|
|
1163ee |
%if "%{_lib}" == "lib64"
|
|
|
1163ee |
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}
|
|
|
1163ee |
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages
|
|
|
1163ee |
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages/__pycache__/
|
|
|
1163ee |
%endif
|
|
|
1163ee |
|
|
|
1163ee |
# "Makefile" and the config-32/64.h file are needed by
|
|
|
1163ee |
# distutils/sysconfig.py:_init_posix(), so we include them in the core
|
|
|
1163ee |
# package, along with their parent directories (bug 531901):
|
|
|
71f264 |
%dir %{pylibdir}/config-%{LDVERSION_optimized}-%{platform_triplet}/
|
|
|
71f264 |
%{pylibdir}/config-%{LDVERSION_optimized}-%{platform_triplet}/Makefile
|
|
|
1163ee |
%dir %{_includedir}/python%{LDVERSION_optimized}/
|
|
|
1163ee |
%{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
|
|
|
1163ee |
|
|
|
1163ee |
%{_libdir}/%{py_INSTSONAME_optimized}
|
|
|
1163ee |
%{_libdir}/libpython3.so
|
|
|
1163ee |
|
|
|
1163ee |
%files devel
|
|
|
1163ee |
|
|
|
1163ee |
|
|
|
1163ee |
%files -n platform-python-devel
|
|
|
1163ee |
%{_bindir}/2to3
|
|
|
1163ee |
# TODO: Remove 2to3-3.7 once rebased to 3.7
|
|
|
1163ee |
%{_bindir}/2to3-%{pybasever}
|
|
|
71f264 |
%{pylibdir}/config-%{LDVERSION_optimized}-%{platform_triplet}/*
|
|
|
71f264 |
%exclude %{pylibdir}/config-%{LDVERSION_optimized}-%{platform_triplet}/Makefile
|
|
|
1163ee |
%exclude %{pylibdir}/distutils/command/wininst-*.exe
|
|
|
1163ee |
%{_includedir}/python%{LDVERSION_optimized}/*.h
|
|
|
1163ee |
%exclude %{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
|
|
|
1163ee |
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
|
|
|
1163ee |
|
|
|
1163ee |
%exclude %{_bindir}/python3-config
|
|
|
1163ee |
%exclude %{_bindir}/python%{pybasever}-config
|
|
|
1163ee |
%exclude %{_bindir}/python%{LDVERSION_optimized}-config
|
|
|
1163ee |
%exclude %{_bindir}/python%{LDVERSION_optimized}-*-config
|
|
|
1163ee |
%{_libexecdir}/platform-python-config
|
|
|
1163ee |
%{_libexecdir}/platform-python%{pybasever}-config
|
|
|
1163ee |
%{_libexecdir}/platform-python%{LDVERSION_optimized}-config
|
|
|
1163ee |
%{_libexecdir}/platform-python%{LDVERSION_optimized}-*-config
|
|
|
1163ee |
|
|
|
1163ee |
%{_bindir}/pathfix.py
|
|
|
1163ee |
%{_libdir}/libpython%{LDVERSION_optimized}.so
|
|
|
1163ee |
%{_libdir}/pkgconfig/python-%{LDVERSION_optimized}.pc
|
|
|
1163ee |
%{_libdir}/pkgconfig/python-%{pybasever}.pc
|
|
|
1163ee |
%{_libdir}/pkgconfig/python3.pc
|
|
|
1163ee |
|
|
|
1163ee |
%files idle
|
|
|
1163ee |
%{_bindir}/idle%{pybasever}
|
|
|
1163ee |
%{pylibdir}/idlelib
|
|
|
1163ee |
%{_metainfodir}/idle3.appdata.xml
|
|
|
1163ee |
%{_datadir}/applications/idle3.desktop
|
|
|
1163ee |
%{_datadir}/icons/hicolor/*/apps/idle3.*
|
|
|
1163ee |
%ghost %{_bindir}/idle3
|
|
|
1163ee |
|
|
|
1163ee |
%files tkinter
|
|
|
1163ee |
%{pylibdir}/tkinter
|
|
|
1163ee |
%exclude %{pylibdir}/tkinter/test
|
|
|
1163ee |
%{dynload_dir}/_tkinter.%{SOABI_optimized}.so
|
|
|
1163ee |
%{pylibdir}/turtle.py
|
|
|
1163ee |
%{pylibdir}/__pycache__/turtle*%{bytecode_suffixes}
|
|
|
1163ee |
%dir %{pylibdir}/turtledemo
|
|
|
1163ee |
%{pylibdir}/turtledemo/*.py
|
|
|
1163ee |
%{pylibdir}/turtledemo/*.cfg
|
|
|
1163ee |
%dir %{pylibdir}/turtledemo/__pycache__/
|
|
|
1163ee |
%{pylibdir}/turtledemo/__pycache__/*%{bytecode_suffixes}
|
|
|
1163ee |
|
|
|
1163ee |
%files test
|
|
|
1163ee |
%{pylibdir}/ctypes/test
|
|
|
1163ee |
%{pylibdir}/distutils/tests
|
|
|
1163ee |
%{pylibdir}/sqlite3/test
|
|
|
1163ee |
%{pylibdir}/test
|
|
|
1163ee |
%{dynload_dir}/_ctypes_test.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_testbuffer.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_testcapi.%{SOABI_optimized}.so
|
|
|
1163ee |
%{dynload_dir}/_testimportmultiple.%{SOABI_optimized}.so
|
|
|
1163ee |
%{pylibdir}/lib2to3/tests
|
|
|
1163ee |
%{pylibdir}/tkinter/test
|
|
|
1163ee |
%{pylibdir}/unittest/test
|
|
|
1163ee |
|
|
|
1163ee |
# stuff already owned by the libs subpackage
|
|
|
1163ee |
# test requires libs, so we are safe not owning those dirs
|
|
|
1163ee |
%exclude %dir %{pylibdir}/test/
|
|
|
1163ee |
%exclude %dir %{pylibdir}/test/__pycache__/
|
|
|
1163ee |
%exclude %{pylibdir}/test/__init__.py
|
|
|
1163ee |
%exclude %{pylibdir}/test/__pycache__/__init__%{bytecode_suffixes}
|
|
|
1163ee |
%exclude %{pylibdir}/test/support/
|
|
|
1163ee |
|
|
|
1163ee |
# We don't bother splitting the debug build out into further subpackages:
|
|
|
1163ee |
# if you need it, you're probably a developer.
|
|
|
1163ee |
|
|
|
1163ee |
# Hence the manifest is the combination of analogous files in the manifests of
|
|
|
1163ee |
# all of the other subpackages
|
|
|
1163ee |
|
|
|
1163ee |
%if %{with debug_build}
|
|
|
1163ee |
%files -n platform-python-debug
|
|
|
1163ee |
# Analog of the core subpackage's files:
|
|
|
1163ee |
%exclude %{_bindir}/python%{LDVERSION_debug}
|
|
|
1163ee |
%{_libexecdir}/platform-python%{LDVERSION_debug}
|
|
|
1163ee |
%exclude %{_bindir}/python3-debug
|
|
|
1163ee |
%{_libexecdir}/platform-python-debug
|
|
|
1163ee |
|
|
|
1163ee |
# Analog of the -libs subpackage's files:
|
|
|
1163ee |
# ...with debug builds of the built-in "extension" modules:
|
|
|
1163ee |
|
|
|
1163ee |
%{dynload_dir}/_blake2.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_sha3.%{SOABI_debug}.so
|
|
|
b9ffd2 |
%{dynload_dir}/_hmacopenssl.%{SOABI_debug}.so
|
|
|
1163ee |
|
|
|
1163ee |
%{dynload_dir}/_asyncio.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_bisect.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_bz2.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_cn.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_hk.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_iso2022.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_jp.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_kr.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_codecs_tw.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_crypt.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_csv.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_ctypes.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_curses.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_curses_panel.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_dbm.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_decimal.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_elementtree.%{SOABI_debug}.so
|
|
|
1163ee |
%if %{with gdbm}
|
|
|
1163ee |
%{dynload_dir}/_gdbm.%{SOABI_debug}.so
|
|
|
1163ee |
%endif
|
|
|
1163ee |
%{dynload_dir}/_hashlib.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_heapq.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_json.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_lsprof.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_lzma.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_multibytecodec.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_multiprocessing.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_opcode.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_pickle.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_posixsubprocess.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_random.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_socket.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_sqlite3.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_ssl.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_struct.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/array.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/audioop.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/binascii.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/cmath.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_datetime.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/fcntl.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/grp.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/math.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/mmap.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/nis.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/ossaudiodev.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/parser.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/pyexpat.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/readline.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/resource.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/select.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/spwd.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/syslog.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/termios.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_testmultiphase.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/unicodedata.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/zlib.%{SOABI_debug}.so
|
|
|
1163ee |
|
|
|
1163ee |
# No need to split things out the "Makefile" and the config-32/64.h file as we
|
|
|
1163ee |
# do for the regular build above (bug 531901), since they're all in one package
|
|
|
1163ee |
# now; they're listed below, under "-devel":
|
|
|
1163ee |
|
|
|
1163ee |
%{_libdir}/%{py_INSTSONAME_debug}
|
|
|
1163ee |
|
|
|
1163ee |
# Analog of the -devel subpackage's files:
|
|
|
71f264 |
%{pylibdir}/config-%{LDVERSION_debug}-%{platform_triplet}
|
|
|
1163ee |
%{_includedir}/python%{LDVERSION_debug}
|
|
|
1163ee |
|
|
|
1163ee |
%exclude %{_bindir}/python%{LDVERSION_debug}-config
|
|
|
1163ee |
%exclude %{_bindir}/python%{LDVERSION_debug}-*-config
|
|
|
1163ee |
%{_libexecdir}/platform-python%{LDVERSION_debug}-config
|
|
|
1163ee |
%{_libexecdir}/platform-python%{LDVERSION_debug}-*-config
|
|
|
1163ee |
|
|
|
1163ee |
%{_libdir}/libpython%{LDVERSION_debug}.so
|
|
|
1163ee |
%{_libdir}/libpython%{LDVERSION_debug}.so.1.0
|
|
|
1163ee |
%{_libdir}/pkgconfig/python-%{LDVERSION_debug}.pc
|
|
|
1163ee |
|
|
|
1163ee |
# Analog of the -tools subpackage's files:
|
|
|
1163ee |
# None for now; we could build precanned versions that have the appropriate
|
|
|
1163ee |
# shebang if needed
|
|
|
1163ee |
|
|
|
1163ee |
# Analog of the tkinter subpackage's files:
|
|
|
1163ee |
%{dynload_dir}/_tkinter.%{SOABI_debug}.so
|
|
|
1163ee |
|
|
|
1163ee |
# Analog of the -test subpackage's files:
|
|
|
1163ee |
%{dynload_dir}/_ctypes_test.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_testbuffer.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_testcapi.%{SOABI_debug}.so
|
|
|
1163ee |
%{dynload_dir}/_testimportmultiple.%{SOABI_debug}.so
|
|
|
1163ee |
|
|
|
1163ee |
%endif # with debug_build
|
|
|
1163ee |
|
|
|
1163ee |
# We put the debug-gdb.py file inside /usr/lib/debug to avoid noise from ldconfig
|
|
|
1163ee |
# See https://bugzilla.redhat.com/show_bug.cgi?id=562980
|
|
|
1163ee |
#
|
|
|
1163ee |
# The /usr/lib/rpm/redhat/macros defines %%__debug_package to use
|
|
|
1163ee |
# debugfiles.list, and it appears that everything below /usr/lib/debug and
|
|
|
1163ee |
# (/usr/src/debug) gets added to this file (via LISTFILES) in
|
|
|
1163ee |
# /usr/lib/rpm/find-debuginfo.sh
|
|
|
1163ee |
#
|
|
|
1163ee |
# Hence by installing it below /usr/lib/debug we ensure it is added to the
|
|
|
1163ee |
# -debuginfo subpackage
|
|
|
1163ee |
# (if it doesn't, then the rpmbuild ought to fail since the debug-gdb.py
|
|
|
1163ee |
# payload file would be unpackaged)
|
|
|
1163ee |
|
|
|
1163ee |
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1476593
|
|
|
1163ee |
%undefine _debuginfo_subpackages
|
|
|
1163ee |
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
# Finally, the changelog:
|
|
|
1163ee |
# ======================================================
|
|
|
1163ee |
|
|
|
1163ee |
%changelog
|
|
|
6d5c51 |
* Tue Jan 24 2023 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-51
|
|
|
6d5c51 |
- Properly strip the LTO bytecode from python.o
|
|
|
6d5c51 |
Resolves: rhbz#2137707
|
|
|
6d5c51 |
|
|
|
6d5c51 |
* Wed Dec 21 2022 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-50
|
|
|
6d5c51 |
- Security fix for CVE-2022-45061
|
|
|
6d5c51 |
- Strip the LTO bytecode from python.o
|
|
|
6d5c51 |
Resolves: rhbz#2144072, rhbz#2137707
|
|
|
6d5c51 |
|
|
|
6d5c51 |
* Tue Oct 25 2022 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-49
|
|
|
6d5c51 |
- Security fixes for CVE-2020-10735 and CVE-2021-28861
|
|
|
6d5c51 |
Resolves: rhbz#1834423, rhbz#2120642
|
|
|
36ebb5 |
|
|
|
294477 |
* Thu Oct 20 2022 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-48
|
|
|
294477 |
- Release bump
|
|
|
6d5c51 |
Resolves: rhbz#2136435
|
|
|
294477 |
|
|
|
75b047 |
* Tue Jun 14 2022 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-47
|
|
|
75b047 |
- Security fix for CVE-2015-20107
|
|
|
75b047 |
Resolves: rhbz#2075390
|
|
|
75b047 |
|
|
|
75b047 |
* Wed Mar 09 2022 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-46
|
|
|
75b047 |
- Security fix for CVE-2022-0391: urlparse does not sanitize URLs containing ASCII newline and tabs
|
|
|
75b047 |
- Fix the test suite support for Expat >= 2.4.5
|
|
|
85e163 |
Resolves: rhbz#2047376, rhbz#2060435
|
|
|
75b047 |
|
|
|
9b3a7c |
* Fri Jan 07 2022 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-45
|
|
|
9b3a7c |
- Security fix for CVE-2021-4189: ftplib should not use the host from the PASV response
|
|
|
9b3a7c |
Resolves: rhbz#2036020
|
|
|
9b3a7c |
|
|
|
9b3a7c |
* Tue Oct 12 2021 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-44
|
|
|
9b3a7c |
- Use the monotonic clock for theading.Condition
|
|
|
9b3a7c |
- Use the monotonic clock for the global interpreter lock
|
|
|
9b3a7c |
Resolves: rhbz#2003758
|
|
|
9b3a7c |
|
|
|
9b3a7c |
* Mon Oct 11 2021 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-43
|
|
|
9b3a7c |
- Change shouldRollover() methods of logging.handlers to only rollover regular files
|
|
|
9b3a7c |
Resolves: rhbz#2009200
|
|
|
9b3a7c |
|
|
|
9b3a7c |
* Fri Sep 17 2021 Lumír Balhar <lbalhar@redhat.com> - 3.6.8-42
|
|
|
9b3a7c |
- Security fix for CVE-2021-3737
|
|
|
9b3a7c |
Resolves: rhbz#1995162
|
|
|
9b3a7c |
|
|
|
0fa7ed |
* Thu Sep 09 2021 Lumír Balhar <lbalhar@redhat.com> - 3.6.8-41
|
|
|
605da4 |
- Security fix for CVE-2021-3733: Denial of service when identifying crafted invalid RFCs
|
|
|
605da4 |
Resolves: rhbz#1995234
|
|
|
605da4 |
|
|
|
0fa7ed |
* Thu Jul 29 2021 Tomas Orsava <torsava@redhat.com> - 3.6.8-40
|
|
|
0fa7ed |
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
|
|
|
0fa7ed |
- Resolves: rhbz#1933055
|
|
|
0fa7ed |
|
|
|
0fa7ed |
* Fri Jul 09 2021 Victor Stinner <vstinner@redhat.com> - 3.6.8-39
|
|
|
0fa7ed |
- Fix reentrant call to threading.enumerate() (rhbz#1959459)
|
|
|
0fa7ed |
- Don't exit Python with abort() when a thread exit and there is no available
|
|
|
0fa7ed |
file descriptor to load dynamically the libgcc_s.so.1 library (rhbz#1972293)
|
|
|
0fa7ed |
|
|
|
0fa7ed |
* Fri Apr 30 2021 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-38
|
|
|
0fa7ed |
- Security fix for CVE-2021-3426: information disclosure via pydoc
|
|
|
0fa7ed |
Resolves: rhbz#1935913
|
|
|
1aa391 |
|
|
|
71f264 |
* Thu Mar 04 2021 Petr Viktorin <pviktori@redhat.com> - 3.6.8-37
|
|
|
71f264 |
- Fix for CVE-2021-23336
|
|
|
71f264 |
Resolves: rhbz#1928904
|
|
|
71f264 |
|
|
|
71f264 |
* Fri Jan 22 2021 Lumír Balhar <lbalhar@redhat.com> - 3.6.8-36
|
|
|
71f264 |
- Fix for CVE-2021-3177
|
|
|
71f264 |
Resolves: rhbz#1918168
|
|
|
71f264 |
|
|
|
71f264 |
* Mon Jan 18 2021 Lumír Balhar <lbalhar@redhat.com> - 3.6.8-35
|
|
|
71f264 |
- New options -a and -k for pathfix.py script backported from upstream
|
|
|
71f264 |
Resolves: rhbz#1917691
|
|
|
71f264 |
|
|
|
71f264 |
* Fri Dec 04 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-34
|
|
|
71f264 |
- Security fix for CVE-2020-27619: eval() call on content received via HTTP in the CJK codec tests
|
|
|
71f264 |
Resolves: rhbz#1890237
|
|
|
71f264 |
|
|
|
71f264 |
* Tue Nov 24 2020 Lumír Balhar <lbalhar@redhat.com> - 3.6.8-33
|
|
|
71f264 |
- Add support for upstream architecture names
|
|
|
71f264 |
https://fedoraproject.org/wiki/Changes/Python_Upstream_Architecture_Names
|
|
|
71f264 |
Resolves: rhbz#1868003
|
|
|
71f264 |
|
|
|
71f264 |
* Mon Nov 09 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-32
|
|
|
71f264 |
- Security fix for CVE-2020-26116: Reject control chars in HTTP method in http.client
|
|
|
71f264 |
Resolves: rhbz#1883257
|
|
|
71f264 |
|
|
|
f8e6ca |
* Mon Aug 17 2020 Tomas Orsava <torsava@redhat.com> - 3.6.8-31
|
|
|
f8e6ca |
- Avoid infinite loop when reading specially crafted TAR files (CVE-2019-20907)
|
|
|
f8e6ca |
Resolves: rhbz#1856481
|
|
|
f8e6ca |
- Resolve hash collisions for Pv4Interface and IPv6Interface (CVE-2020-14422)
|
|
|
f8e6ca |
Resolves: rhbz#1854926
|
|
|
f8e6ca |
|
|
|
f8e6ca |
* Thu Jun 25 2020 Victor Stinner <vstinner@python.org> - 3.6.8-30
|
|
|
f8e6ca |
- Remove downstream 00178-dont-duplicate-flags-in-sysconfig.patch which
|
|
|
f8e6ca |
introduced a bug on distutils.sysconfig.get_config_var('LIBPL')
|
|
|
f8e6ca |
(rhbz#1851090).
|
|
|
f8e6ca |
|
|
|
f8e6ca |
* Thu Jun 18 2020 Victor Stinner <vstinner@python.org> - 3.6.8-29
|
|
|
f8e6ca |
- Fix python3-config --configdir (rhbz#1772992).
|
|
|
f8e6ca |
|
|
|
f8e6ca |
* Fri Apr 03 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-28
|
|
|
f8e6ca |
- Security fix for CVE-2020-8492
|
|
|
f8e6ca |
Resolves: rhbz#1810618
|
|
|
f8e6ca |
|
|
|
f8e6ca |
* Tue Mar 31 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-27
|
|
|
f8e6ca |
- Add a sentinel value on the Hmac_members table of the fips compliant hmac module
|
|
|
f8e6ca |
Resolves: rhbz#1800512
|
|
|
f8e6ca |
|
|
|
f8e6ca |
* Mon Mar 23 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-26
|
|
|
f8e6ca |
- Skip test_startup_imports from test_site if we have a .pth file in sys.path
|
|
|
f8e6ca |
Resolves: rhbz#1814392
|
|
|
f8e6ca |
|
|
|
f8e6ca |
* Fri Mar 20 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-25
|
|
|
f8e6ca |
- Security fix for CVE-2019-16935
|
|
|
f8e6ca |
Resolves: rhbz#1798001
|
|
|
f8e6ca |
|
|
|
f8e6ca |
* Mon Mar 16 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-24
|
|
|
f8e6ca |
- Build Python with -fno-semantic-interposition for better performance
|
|
|
f8e6ca |
- https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup
|
|
|
f8e6ca |
- Also fix test_gdb failures with Link Time Optimizations
|
|
|
f8e6ca |
Resolves: rhbz#1724996
|
|
|
f8e6ca |
|
|
|
71928b |
* Wed Nov 27 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-23
|
|
|
71928b |
- Modify the test suite to better handle disabled SSL/TLS versions and FIPS mode
|
|
|
71928b |
- Use OpenSSL's DRBG and disable os.getrandom() function in FIPS mode
|
|
|
71928b |
Resolves: rhbz#1754028, rhbz#1754027, rhbz#1754026, rhbz#1774471
|
|
|
71928b |
|
|
|
71928b |
* Thu Oct 24 2019 Tomas Orsava <torsava@redhat.com> - 3.6.8-22
|
|
|
71928b |
- Changed Requires into Recommends for python3-pip to allow a lower RHEL8
|
|
|
71928b |
footprint for containers and other minimal environments
|
|
|
71928b |
Resolves: rhbz#1756217
|
|
|
71928b |
|
|
|
71928b |
* Wed Oct 16 2019 Tomas Orsava <torsava@redhat.com> - 3.6.8-21
|
|
|
b9ffd2 |
- Patch 329 (FIPS) modified: Added workaround for mod_ssl:
|
|
|
b9ffd2 |
Skip error checking in _Py_hashlib_fips_error
|
|
|
b9ffd2 |
Resolves: rhbz#1760106
|
|
|
b9ffd2 |
|
|
|
71928b |
* Mon Oct 14 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-20
|
|
|
71928b |
- Security fix for CVE-2019-16056
|
|
|
71928b |
Resolves: rhbz#1750776
|
|
|
71928b |
|
|
|
71928b |
* Wed Oct 09 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-19
|
|
|
71928b |
- Skip windows specific test_get_exe_bytes test case and enable test_distutils
|
|
|
71928b |
Resolves: rhbz#1754040
|
|
|
71928b |
|
|
|
71928b |
* Mon Oct 07 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-18
|
|
|
71928b |
- Reduce the number of tests running during the profile guided optimizations build
|
|
|
71928b |
- Enable profile guided optimizations for all the supported architectures
|
|
|
71928b |
Resolves: rhbz#1749576
|
|
|
71928b |
|
|
|
71928b |
* Mon Oct 07 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-17
|
|
|
71928b |
- Security fix for CVE-2018-20852
|
|
|
71928b |
Resolves: rhbz#1741553
|
|
|
71928b |
|
|
|
71928b |
* Fri Oct 04 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-16
|
|
|
71928b |
- Properly pass the -Og optimization flag to the debug build
|
|
|
71928b |
Resolves: rhbz#1712977 and rhbz#1714733
|
|
|
71928b |
|
|
|
b9ffd2 |
* Thu Aug 29 2019 Tomas Orsava <torsava@redhat.com> - 3.6.8-15
|
|
|
b9ffd2 |
- Patch 329 that adds support for OpenSSL FIPS mode has been improved and
|
|
|
b9ffd2 |
bugfixed
|
|
|
b9ffd2 |
Resolves: rhbz#1744670 rhbz#1745499 rhbz#1745685
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Tue Aug 06 2019 Tomas Orsava <torsava@redhat.com> - 3.6.8-14
|
|
|
b9ffd2 |
- Adding a new patch 329 that adds support for OpenSSL FIPS mode
|
|
|
b9ffd2 |
- Explicitly listing man pages in files section to fix an RPM warning
|
|
|
b9ffd2 |
Resolves: rhbz#1731424
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Tue Jul 02 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-13
|
|
|
b9ffd2 |
- Do not set PHA verify flag on client side (rhbz#1725721)
|
|
|
b9ffd2 |
- Enable TLS 1.3 post-handshake authentication in http.client (rhbz#1671353)
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Fri Jun 21 2019 Miro Hrončok <mhroncok@redhat.com> - 3.6.8-12
|
|
|
b9ffd2 |
- Use RPM built wheels of pip and setuptools in ensurepip instead of our rewheel patch
|
|
|
b9ffd2 |
- Require platform-python-setuptools from platform-python-devel to prevent packaging errors
|
|
|
b9ffd2 |
Resolves: rhbz#1701286
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Fri Jun 07 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-11
|
|
|
1874b9 |
- Fix for CVE-2019-10160
|
|
|
b9ffd2 |
Resolves: rhbz#1689318
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Wed May 29 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-10
|
|
|
b9ffd2 |
- Security fix for CVE-2019-9948
|
|
|
b9ffd2 |
Resolves: rhbz#1714643
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Tue May 21 2019 Miro Hrončok <mhroncok@redhat.com> - 3.6.8-9
|
|
|
b9ffd2 |
- Reduced default build flags used to build extension modules
|
|
|
b9ffd2 |
https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
|
|
|
b9ffd2 |
Resolves: rhbz#1634784
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Mon May 13 2019 Tomas Orsava <torsava@redhat.com> - 3.6.8-8
|
|
|
b9ffd2 |
- gzip the unversioned-python man page
|
|
|
b9ffd2 |
Resolves: rhbz#1665514
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Wed May 08 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-7
|
|
|
b9ffd2 |
- Disallow control chars in http URLs
|
|
|
b9ffd2 |
- Fixes CVE-2019-9740 and CVE-2019-9947
|
|
|
b9ffd2 |
Resolves: rhbz#1704365 and rhbz#1703531
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Fri May 03 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-6
|
|
|
b9ffd2 |
- Updated fix for CVE-2019-9636 (rhbz#1689318)
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Wed Apr 3 2019 Miro Hrončok <mhroncok@redhat.com> - 3.6.8-5
|
|
|
b9ffd2 |
- Security fix for CVE-2019-9636 (rhbz#1689318)
|
|
|
b9ffd2 |
|
|
|
b9ffd2 |
* Wed Mar 20 2019 Victor Stinner <vstinner@redhat.com> - 3.6.8-4
|
|
|
b9ffd2 |
- Security fix for CVE-2019-5010 (rhbz#1666789)
|
|
|
1874b9 |
|
|
|
b9ffd2 |
* Wed Mar 13 2019 Victor Stinner <vstinner@redhat.com> - 3.6.8-3
|
|
|
b9ffd2 |
- Fix test_tarfile on ppc64 (rhbz#1639490)
|
|
Pablo Greco |
95478e |
|
|
|
b9ffd2 |
* Fri Jan 18 2019 Victor Stinner <vstinner@redhat.com> - 3.6.8-2
|
|
|
b9ffd2 |
- test_ssl fixes for TLS 1.3 and OpenSSL 1.1.1 (rhbz#1639531)
|
|
|
1ba735 |
|
|
|
1163ee |
* Wed Jan 09 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.6.8-1
|
|
|
1163ee |
- Update to 3.6.8
|
|
|
1163ee |
Resolves: rhbz#1658271
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Nov 21 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.7-4
|
|
|
1163ee |
- Make sure the entire test.support module is in python3-libs
|
|
|
1163ee |
Resolves: rhbz#1651215
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Nov 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.7-3
|
|
|
1163ee |
- Add choices for sort option of cProfile for better output
|
|
|
1163ee |
Resolves: rhbz#1640151
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Nov 05 2018 Tomas Orsava <torsava@redhat.com> - 3.6.7-2
|
|
|
1163ee |
- Switch to requiring platform-python-pip/setuptools instead of the python3-
|
|
|
1163ee |
versions
|
|
|
1163ee |
- Resolves: rhbz#1638836
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Oct 25 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.7-1
|
|
|
1163ee |
- Update to 3.6.7 (rhbz#1627739)
|
|
|
1163ee |
- Re-enable test_gdb (rhbz#1639536)
|
|
|
1163ee |
- Re-enable test_faulthandler (rhbz#1640147)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Oct 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.6-19
|
|
|
1163ee |
- Add compatibility fixes for openssl 1.1.1 and tls 1.3
|
|
|
1163ee |
Resolves: rhbz#1610023
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Oct 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.6-18
|
|
|
1163ee |
- Fix test_dbm_gnu for gdbm 1.15 which fails on ppc64le
|
|
|
1163ee |
Resolves: rhbz#1638710
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Oct 14 2018 Tomas Orsava <torsava@redhat.com> - 3.6.6-17
|
|
|
1163ee |
- Add Requires (/post/postun) on /usr/sbin/alternatives
|
|
|
1163ee |
- Resolves: rhbz#1632625
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Oct 12 2018 Petr Viktorin <pviktori@redhat.com> - 3.6.6-16
|
|
|
1163ee |
- Remove Windows binaries from the source archive
|
|
|
1163ee |
- Resolves: rhbz#1633219
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Oct 10 2018 Petr Viktorin <pviktori@redhat.com> - 3.6.6-15
|
|
|
1163ee |
- Compile the debug build with -Og rather than -O0
|
|
|
1163ee |
- Resolves: rhbz#1624162
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Oct 10 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.6-14
|
|
|
1163ee |
- Security fix for CVE-2018-14647
|
|
|
1163ee |
- Resolves: rhbz#1632096
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Oct 07 2018 Tomas Orsava <torsava@redhat.com> - 3.6.6-13
|
|
|
1163ee |
- Stop providing the `python3` and `python3-debug` names from the
|
|
|
1163ee |
platform-python/-debug subpackages
|
|
|
1163ee |
- The `python3` and `python3-debug` names are now provided from the python36
|
|
|
1163ee |
component
|
|
|
1163ee |
- Conflict with older versions of `python3` and `python3-debug`
|
|
|
1163ee |
- Related: rhbz#1619153
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Oct 02 2018 Tomas Orsava <torsava@redhat.com> - 3.6.6-12.2
|
|
|
1163ee |
- Fix update of idle3's alternative symlink
|
|
|
1163ee |
- Resolves: rhbz#1632625
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Oct 01 2018 Tomas Orsava <torsava@redhat.com> - 3.6.6-12.1
|
|
|
1163ee |
- Add idle3 to the alternatives system
|
|
|
1163ee |
- Resolves: rhbz#1632625
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Sep 28 2018 Tomas Orsava <torsava@redhat.com> - 3.6.6-12
|
|
|
1163ee |
- Rename the python3-debug subpackage to platform-python-debug
|
|
|
1163ee |
- Provide the `python3-debug` name for backwards compatibility until it's taken
|
|
|
1163ee |
over by the python36 component
|
|
|
1163ee |
- Rename the python3-libs-devel subpackage to platform-python-devel for
|
|
|
1163ee |
symmetry with the `platform-python` and `platform-python-debug` package
|
|
|
1163ee |
- Add symlink /usr/libexec/platform-python-debug that was mistakenly omitted
|
|
|
1163ee |
- Related: rhbz#1619153
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Sep 28 2018 Tomas Orsava <torsava@redhat.com> - 3.6.6-11
|
|
|
1163ee |
- Implement `alternatives` for chosing /usr/bin/python
|
|
|
1163ee |
- Provide the default `no-python` alternative
|
|
|
1163ee |
- Resolves: rhbz#1632625
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Sep 19 2018 Tomas Orsava <torsava@redhat.com> - 3.6.6-10
|
|
|
1163ee |
- Provide the `python3` name with _isa until some packages can be rebuilt
|
|
|
1163ee |
- Resolves: rhbz#1619153
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Sep 11 2018 Tomas Orsava <torsava@redhat.com> - 3.6.6-9
|
|
|
1163ee |
- Rename the python3 subpackage to platform-python
|
|
|
1163ee |
- Provide the `python3` name for backwards compatibility until it's taken over
|
|
|
1163ee |
by the python36 component
|
|
|
1163ee |
- The python36 component that contains /usr/bin/python3 will Provide the
|
|
|
1163ee |
name `python3` in its upcoming update
|
|
|
1163ee |
- Resolves: rhbz#1619153
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Sep 04 2018 Lumír Balhar <lbalhar@redhat.com> - 3.6.6-8
|
|
|
1163ee |
- Remove /usr/bin/idle3 symlink
|
|
|
1163ee |
- Resolves: rhbz#1623811
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Aug 15 2018 Lumír Balhar <lbalhar@redhat.com> - 3.6.6-7
|
|
|
1163ee |
- Remove 3 > 3.6 symlinks for pydoc and python manpage
|
|
|
1163ee |
- Resolves: rhbz#1615727
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Aug 12 2018 Troy Dawson <tdawson@redhat.com>
|
|
|
1163ee |
- Disable %check so package will build for Mass Rebuild
|
|
|
1163ee |
- Related: bug#1614611
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 06 2018 Petr Viktorin <pviktori@redhat.com> - 3.6.6-6
|
|
|
1163ee |
- Make `devel` subpackage require python36-devel again
|
|
|
1163ee |
(and get /usr/bin/python3 and /usr/bin/python3-config from that).
|
|
|
1163ee |
- Remove /usr/bin/python3* executables
|
|
|
1163ee |
- Use pip36 instead of `pip3`
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Aug 03 2018 Petr Viktorin <pviktori@redhat.com> - 3.6.6-5
|
|
|
1163ee |
- Fix the `devel` subpackage to require python3, rather than python36-devel,
|
|
|
1163ee |
and provide /usr/bin/python3-config itself.
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Aug 01 2018 Tomas Orsava <torsava@redhat.com> - 3.6.6-4
|
|
|
1163ee |
- Create the `libs-devel` subpackage and move `devel` contents there
|
|
|
1163ee |
- `devel` subpackage is only for the buildroot and requires `python36-devel`
|
|
|
1163ee |
to get /usr/bin/python3{,-config} symlinks there
|
|
|
1163ee |
- `devel` subpackage will not be shipped into RHEL8, only `libs-devel` will
|
|
|
1163ee |
- `debug` subpackage now runtime requires `libs-devel` instead of `devel`
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Aug 01 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.6-3
|
|
|
1163ee |
- Disable ssl related tests for now
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jul 25 2018 Petr Kubat <pkubat@redhat.com> - 3.6.6-2
|
|
|
1163ee |
- Rebuilt for gdbm
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jul 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.6-1
|
|
|
1163ee |
- Update to Python 3.6.6
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jul 19 2018 Tomas Orsava <torsava@redhat.com> - 3.6.5-7
|
|
|
1163ee |
- Fix %%py_byte_compile macro: when invoked with a Python 2 binary it also
|
|
|
1163ee |
mistakenly ran py3_byte_compile
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jul 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.5-6
|
|
|
1163ee |
- Do not include the unversioned pyvenv binary in the rpm
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jul 03 2018 Tomas Orsava <torsava@redhat.com> - 3.6.5-5
|
|
|
1163ee |
- Remove old system-python Provides/Obsoletes/symlinks/patches from Fedora
|
|
|
1163ee |
|
|
|
1163ee |
* Wed May 09 2018 Tomas Orsava <torsava@redhat.com> - 3.6.5-4
|
|
|
1163ee |
- Switch all shebangs to point to the Platform-Python executables
|
|
|
1163ee |
|
|
|
1163ee |
* Wed May 09 2018 Tomas Orsava <torsava@redhat.com> - 3.6.5-3
|
|
|
1163ee |
- Platform-Python: Rebase implementation from RHEL8 Alpha:
|
|
|
1163ee |
- Move the main executable to /usr/libexec/platform-python
|
|
|
1163ee |
- Move /usr/bin/python*-config and /usr/bin/pythonX.Ym scripts to /usr/libexec/
|
|
|
1163ee |
- Provide symlink to the main executable and other scripts from /usr/bin/,
|
|
|
1163ee |
these will be later shipped only in the python36 module
|
|
|
1163ee |
|
|
|
1163ee |
* Wed May 09 2018 Tomas Orsava <torsava@redhat.com> - 3.6.5-2
|
|
|
1163ee |
- Remove Obsoletes and Provides that are not relevant for RHEL
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Mar 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.5-1
|
|
|
1163ee |
- Update to 3.6.5
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Mar 24 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-20
|
|
|
1163ee |
- Fix broken macro invocation and broken building of C Python extensions
|
|
|
1163ee |
Resolves: rhbz#1560103
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Mar 16 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-19
|
|
|
1163ee |
- Add -n option for pathfix.py
|
|
|
1163ee |
Resolves: rhbz#1546990
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Mar 15 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-18
|
|
|
1163ee |
- Fix the py_byte_compile macro to work on Python 2
|
|
|
1163ee |
- Remove the pybytecompile macro file from the flat package
|
|
|
1163ee |
Resolves: rhbz#1484993
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-17
|
|
|
1163ee |
- Do not send IP addresses in SNI TLS extension
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 3.6.4-16
|
|
|
1163ee |
- Rebuild with new LDFLAGS from redhat-rpm-config
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Feb 21 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-15
|
|
|
1163ee |
- Filter out automatic /usr/bin/python3.X requirement,
|
|
|
1163ee |
recommend the main package from libs instead
|
|
|
1163ee |
Resolves: rhbz#1547131
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Feb 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.4-14
|
|
|
1163ee |
- Remove the python3-tools package (#rhbz 1312030)
|
|
|
1163ee |
- Move /usr/bin/2to3 to python3-devel
|
|
|
1163ee |
- Move /usr/bin/idle and idlelib to python3-idle
|
|
|
1163ee |
- Provide python3-tools from python3-idle
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6.4-13
|
|
|
1163ee |
- Escape macros in %%changelog
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Feb 02 2018 Michal Cyprian <mcyprian@redhat.com> - 3.6.4-12
|
|
|
1163ee |
- Remove sys.executable check from change-user-install-location patch
|
|
|
1163ee |
Resolves: rhbz#1532287
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Feb 01 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-11
|
|
|
1163ee |
- Define TLS cipher suite on build time.
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jan 31 2018 Tomas Orsava <torsava@redhat.com> - 3.6.4-10
|
|
|
1163ee |
- Disable test_gdb for all arches and test_buffer for ppc64le in anticipation
|
|
|
1163ee |
of the F28 mass rebuild
|
|
|
1163ee |
- Re-enable these tests after the mass rebuild when they can be properly
|
|
|
1163ee |
addressed
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jan 23 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-9
|
|
|
1163ee |
- Restore the PyExc_RecursionErrorInst public symbol
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jan 23 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-8
|
|
|
1163ee |
- Add patch to explicitly link _ctypes module with -ldl (#1537489)
|
|
|
1163ee |
- Refactored patch for libxcrypt
|
|
|
1163ee |
- Re-enable strict symbol checks in the link editor
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 22 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-7
|
|
|
1163ee |
- Add patch for libxcrypt
|
|
|
1163ee |
- Disable strict symbol checks in the link editor
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-6
|
|
|
1163ee |
- Rebuilt for switch to libxcrypt
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jan 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-5
|
|
|
1163ee |
- Fix localeconv() encoding for LC_NUMERIC
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6.4-4
|
|
|
1163ee |
- R: gdbm-devel → R: gdbm for python3-libs
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jan 17 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-3
|
|
|
1163ee |
- Require large enough gdbm (fixup for previous bump)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jan 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-2
|
|
|
1163ee |
- Rebuild for reverted gdbm 1.13 on Fedora 27
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 15 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-1
|
|
|
1163ee |
- Update to version 3.6.4
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jan 12 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-5
|
|
|
1163ee |
- Fix the compilation of the nis module.
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Nov 21 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.3-4
|
|
|
1163ee |
- Raise the release of platform-python obsoletes for better maintainability
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Nov 15 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.3-3
|
|
|
1163ee |
- Obsolete platform-python and it's subpackages
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Oct 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-2
|
|
|
1163ee |
- Fix memory corruption due to allocator mix
|
|
|
1163ee |
Resolves: rhbz#1498207
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Oct 06 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-1
|
|
|
1163ee |
- Update to Python 3.6.3
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Sep 29 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-19
|
|
|
1163ee |
- Move pathfix.py to bindir, https://github.com/fedora-python/python-rpm-porting/issues/24
|
|
|
1163ee |
- Make the -devel package require redhat-rpm-config
|
|
|
1163ee |
Resolves: rhbz#1496757
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Sep 13 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-18
|
|
|
1163ee |
- Fix /usr/bin/env dependency from python3-tools
|
|
|
1163ee |
Resolves: rhbz#1482118
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Sep 06 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-17
|
|
|
1163ee |
- Include `-g` in the flags sent to the linker (LDFLAGS)
|
|
|
1163ee |
Resolves: rhbz#1483222
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Sep 05 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-16
|
|
|
1163ee |
- Specfile cleanup
|
|
|
1163ee |
- Make the main description also applicable to the SRPM
|
|
|
1163ee |
- Add audiotest.au to the test package
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Sep 01 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-15
|
|
|
1163ee |
- Remove %%{pylibdir}/Tools/scripts/2to3
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Sep 01 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-14
|
|
|
1163ee |
- Expat >= 2.1.0 is everywhere, remove explicit requires
|
|
|
1163ee |
- Conditionalize systemtap-devel BuildRequires
|
|
|
1163ee |
- For consistency, require /usr/sbin/ifconfig instead of net-tools
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 28 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-13
|
|
|
1163ee |
- Rename patch files to be consistent
|
|
|
1163ee |
- Run autotools to generate the configure script before building
|
|
|
1163ee |
- Merge lib64 patches (104 into 102)
|
|
|
1163ee |
- Skip test_bdist_rpm using test config rather than a patch (removes patch 137)
|
|
|
1163ee |
- Remove patches 157 and 186, which had test changes left over after upstreaming
|
|
|
1163ee |
- Remove patch 188, a temporary workaround for hashlib tests
|
|
|
1163ee |
- Merge patches 180, 206, 243, 5001 (architecture naming) into new patch 274
|
|
|
1163ee |
- Move python2-tools conflicts to tools subpackage (it was wrongly in tkinter)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 28 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.2-12
|
|
|
1163ee |
- Use python3 style of calling super() without arguments in rpath
|
|
|
1163ee |
patch to prevent recursion in UnixCCompiler subclasses
|
|
|
1163ee |
Resolves: rhbz#1458122
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 21 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-11
|
|
|
1163ee |
- Add bcond for --without optimizations
|
|
|
1163ee |
- Reword package descriptions
|
|
|
1163ee |
- Remove Group declarations
|
|
|
1163ee |
- Skip failing test_float_with_comma
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 21 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-10
|
|
|
1163ee |
- Remove system-python, see https://fedoraproject.org/wiki/Changes/Platform_Python_Stack
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Aug 16 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-9
|
|
|
1163ee |
- Use bconds for configuring the build
|
|
|
1163ee |
- Reorganize the initial sections
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Aug 16 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-8
|
|
|
1163ee |
- Have /usr/bin/2to3 (rhbz#1111275)
|
|
|
1163ee |
- Provide 2to3 and idle3, list them in summary and description (rhbz#1076401)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Aug 11 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.2-7
|
|
|
1163ee |
- Revert "Add --executable option to install.py command"
|
|
|
1163ee |
This enhancement is currently not needed and it can possibly
|
|
|
1163ee |
collide with `pip --editable`option
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 07 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-6
|
|
|
1163ee |
- Fix the "urllib FTP protocol stream injection" vulnerability
|
|
|
1163ee |
Resolves: rhbz#1478916
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Aug 01 2017 Tomas Orsava <torsava@redhat.com> - 3.6.2-5
|
|
|
1163ee |
- Dropped BuildRequires on db4-devel which was useful for Python 2 (module
|
|
|
1163ee |
bsddb), however, no longer needod for Python 3
|
|
|
1163ee |
- Tested building Python 3 with and without the dependency, all tests pass and
|
|
|
1163ee |
filelists of resulting RPMs are identical
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 3.6.2-4
|
|
|
1163ee |
- Do not generate debuginfo subpackages (#1476593)
|
|
|
1163ee |
- Rebuild with binutils fix for ppc64le (#1475636)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-3
|
|
|
1163ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jul 25 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.2-2
|
|
|
1163ee |
- Make test_asyncio to not depend on the current SIGHUP signal handler.
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jul 18 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.2-1
|
|
|
1163ee |
- Update to Python 3.6.2
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jun 27 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-10
|
|
|
1163ee |
- Update to the latest upstream implementation of PEP 538
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jun 26 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.1-9
|
|
|
1163ee |
- Make pip and distutils in user environment install into separate location
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jun 23 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-8
|
|
|
1163ee |
- Fix test_alpn_protocols from test_ssl
|
|
|
1163ee |
- Do not require rebundled setuptools dependencies
|
|
|
1163ee |
|
|
|
1163ee |
* Tue May 16 2017 Tomas Orsava <torsava@redhat.com> - 3.6.1-7
|
|
|
1163ee |
- Added a dependency to the devel subpackage on python3-rpm-generators which
|
|
|
1163ee |
have been excised out of rpm-build
|
|
|
1163ee |
- Updated notes on bootstrapping Python on top of this specfile accordingly
|
|
|
1163ee |
- Involves: rhbz#1410631, rhbz#1444925
|
|
|
1163ee |
|
|
|
1163ee |
* Tue May 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-6
|
|
|
1163ee |
- Enable profile guided optimizations for x86_64 and i686 architectures
|
|
|
1163ee |
- Update to a newer implementation of PEP 538
|
|
|
1163ee |
- Update description to reflect that Python 3 is now the default Python
|
|
|
1163ee |
|
|
|
1163ee |
* Fri May 05 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-5
|
|
|
1163ee |
- Update PEP 538 to the latest upstream implementation
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Apr 18 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-4
|
|
|
1163ee |
- Enable link time optimizations
|
|
|
1163ee |
- Move windows executables to the devel subpackage (rhbz#1426257)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Apr 13 2017 Tomas Orsava <torsava@redhat.com> - 3.6.1-3
|
|
|
1163ee |
- Rename python3.Xdm-config script from -debug to be arch specific
|
|
|
1163ee |
Resolves: rhbz#1179073
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Apr 05 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-2
|
|
|
1163ee |
- Install the Makefile in its proper location (rhbz#1438219)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Mar 22 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.1-1
|
|
|
1163ee |
- Update to version 3.6.1 final
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Mar 21 2017 Tomas Orsava <torsava@redhat.com> - 3.6.1-0.2.rc1
|
|
|
1163ee |
- Fix syntax error in %%py_byte_compile macro (rhbz#1433569)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Mar 16 2017 Iryna Shcherbina <ishcherb@redaht.com> - 3.6.1-0.1.rc1
|
|
|
1163ee |
- Update to Python 3.6.1 release candidate 1
|
|
|
1163ee |
- Add patch 264 to skip a known test failure on aarch64
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Mar 10 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-21
|
|
|
1163ee |
- Use proper command line parsing in _testembed
|
|
|
1163ee |
- Backport of PEP 538: Coercing the legacy C locale to a UTF-8 based locale
|
|
|
1163ee |
https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Feb 27 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-20
|
|
|
1163ee |
- Add desktop entry and appdata.xml file for IDLE 3 (rhbz#1392049)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Feb 24 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.0-19
|
|
|
1163ee |
- Revert "Set values of prefix and exec_prefix to /usr/local for
|
|
|
1163ee |
/usr/bin/python* executables..." to prevent build failures
|
|
|
1163ee |
of packages using alternate build tools
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Feb 21 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.0-18
|
|
|
1163ee |
- Set values of prefix and exec_prefix to /usr/local for
|
|
|
1163ee |
/usr/bin/python* executables
|
|
|
1163ee |
- Use new %%_module_build macro
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Feb 17 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.0-13
|
|
|
1163ee |
- Add --executable option to install.py command
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Feb 15 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-12
|
|
|
1163ee |
- BuildRequire the new dependencies of setuptools when rewheel mode is enabled
|
|
|
1163ee |
in order for the virtualenvs to work properly
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-11
|
|
|
1163ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 3.6.0-10
|
|
|
1163ee |
- Add missing %%license macro
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jan 26 2017 Tomas Orsava <torsava@redhat.com> - 3.6.0-9
|
|
|
1163ee |
- Modify the runtime dependency of python3-libs on system-python-libs again,
|
|
|
1163ee |
because previous attempt didn't work properly with dnf resolving mechanism
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jan 25 2017 Tomas Orsava <torsava@redhat.com> - 3.6.0-8
|
|
|
1163ee |
- Modify the runtime dependency of python3-libs on system-python-libs to use
|
|
|
1163ee |
just the version and release number, but not the dist tag due to Modularity
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 16 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-7
|
|
|
1163ee |
- Fix error check, so that Random.seed actually uses OS randomness (rhbz#1412275)
|
|
|
1163ee |
- Skip test_aead_aes_gcm during rpmbuild
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.6.0-6
|
|
|
1163ee |
- Rebuild for readline 7.x
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jan 10 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-5
|
|
|
1163ee |
- Require glibc >= 2.24.90-26 for system-python-libs (rhbz#1410644)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-4
|
|
|
1163ee |
- Define HAVE_LONG_LONG as 1 for backwards compatibility
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jan 05 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.0-3
|
|
|
1163ee |
- Don't blow up on EL7 kernel (random generator) (rhbz#1410175)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Dec 27 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-1
|
|
|
1163ee |
- Update to Python 3.6.0 final
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-0.6.rc1
|
|
|
1163ee |
- Enable rewheel
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Dec 07 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-0.5.rc1
|
|
|
1163ee |
- Update to Python 3.6.0 release candidate 1
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Dec 05 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-0.4.b4
|
|
|
1163ee |
- Update to Python 3.6.0 beta 4
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Dec 05 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-7
|
|
|
1163ee |
- Set to work with pip version 9.0.1
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Oct 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-6
|
|
|
1163ee |
- Use proper patch numbering and base upstream branch for
|
|
|
1163ee |
porting ssl and hashlib modules to OpenSSL 1.1.0
|
|
|
1163ee |
- Drop hashlib patch for now
|
|
|
1163ee |
- Add riscv64 arch to 64bit and no-valgrind arches
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Oct 11 2016 Tomáš Mráz <tmraz@redhat.com> - 3.5.2-5
|
|
|
1163ee |
- Make it build with OpenSSL-1.1.0 based on upstream patch
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Sep 14 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-4
|
|
|
1163ee |
- Obsolete and Provide python35 package
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Sep 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-3
|
|
|
1163ee |
- Update %%py_byte_compile macro
|
|
|
1163ee |
- Remove unused configure flags (rhbz#1374357)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Sep 09 2016 Tomas Orsava <torsava@redhat.com> - 3.5.2-2
|
|
|
1163ee |
- Updated .pyc 'bytecompilation with the newly installed interpreter' to also
|
|
|
1163ee |
recompile optimized .pyc files
|
|
|
1163ee |
- Removed .pyo 'bytecompilation with the newly installed interpreter', as .pyo
|
|
|
1163ee |
files are no more
|
|
|
1163ee |
- Resolves rhbz#1373635
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 15 2016 Tomas Orsava <torsava@redhat.com> - 3.5.2-1
|
|
|
1163ee |
- Rebased to version 3.5.2
|
|
|
1163ee |
- Set to work with pip version 8.1.2
|
|
|
1163ee |
- Removed patches 207, 237, 241 as fixes are already contained in Python 3.5.2
|
|
|
1163ee |
- Removed arch or environment specific patches 194, 196, 203, and 208
|
|
|
1163ee |
as test builds indicate they are no longer needed
|
|
|
1163ee |
- Updated patches 102, 146, and 242 to work with the new Python codebase
|
|
|
1163ee |
- Removed patches 200, 201, 5000 which weren't even being applied
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Aug 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-15
|
|
|
1163ee |
- Fix for CVE-2016-1000110 HTTPoxy attack
|
|
|
1163ee |
- SPEC file cleanup
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 01 2016 Michal Toman <mtoman@fedoraproject.org> - 3.5.1-14
|
|
|
1163ee |
- Build properly on MIPS
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.1-13
|
|
|
1163ee |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-12
|
|
|
1163ee |
- Refactor patch for properly fixing CVE-2016-5636
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-11
|
|
|
1163ee |
- Fix test_pyexpat failure with Expat version of 2.2.0
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 08 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-10
|
|
|
1163ee |
- Move xml module to system-python-libs
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jun 16 2016 Tomas Orsava <torsava@redhat.com> - 3.5.1-9
|
|
|
1163ee |
- Fix for: CVE-2016-0772 python: smtplib StartTLS stripping attack
|
|
|
1163ee |
- Raise an error when STARTTLS fails
|
|
|
1163ee |
- rhbz#1303647: https://bugzilla.redhat.com/show_bug.cgi?id=1303647
|
|
|
1163ee |
- rhbz#1346345: https://bugzilla.redhat.com/show_bug.cgi?id=1346345
|
|
|
1163ee |
- Fixed upstream: https://hg.python.org/cpython/rev/d590114c2394
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jun 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-8
|
|
|
1163ee |
- Added patch for fixing possible integer overflow and heap corruption in zipimporter.get_data()
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Mar 04 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-7
|
|
|
1163ee |
- Move distutils to system-python-libs
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Feb 24 2016 Robert Kuska <rkuska@redhat.com> - 3.5.1-6
|
|
|
1163ee |
- Provide python3-enum34
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Feb 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-5
|
|
|
1163ee |
- Provide System Python packages and macros
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-4
|
|
|
1163ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jan 13 2016 Orion Poplwski <orion@cora.nwra.com> - 3.5.1-2
|
|
|
1163ee |
- Drop python3 macros, require python/python3-rpm-macros
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Dec 14 2015 Robert Kuska <rkuska@redhat.com> - 3.5.1-1
|
|
|
1163ee |
- Update to 3.5.1
|
|
|
1163ee |
- Removed patch 199 and 207 (upstream)
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Nov 15 2015 Robert Kuska <rkuska@redhat.com> - 3.5.0-5
|
|
|
1163ee |
- Remove versioned libpython from devel package
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Nov 13 2015 Than Ngo <than@redhat.com> 3.5.0-4
|
|
|
1163ee |
- add correct arch for ppc64/ppc64le to fix build failure
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Nov 11 2015 Robert Kuska <rkuska@redhat.com> - 3.5.0-3
|
|
|
1163ee |
- Hide the private _Py_atomic_xxx symbols from public header
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 3.5.0-2
|
|
|
1163ee |
- Rebuild with wheel set to 1
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Sep 15 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.5.0-1
|
|
|
1163ee |
- Update to 3.5.0
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jun 29 2015 Thomas Spura <tomspur@fedoraproject.org> - 3.4.3-4
|
|
|
1163ee |
- python3-devel: Require python-macros for version independant macros such as
|
|
|
1163ee |
python_provide. See fpc#281 and fpc#534.
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.3-3
|
|
|
1163ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jun 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-4
|
|
|
1163ee |
- Use 1024bit DH key in test_ssl
|
|
|
1163ee |
- Use -O0 when compiling -debug build
|
|
|
1163ee |
- Update pip version variable to the version we actually ship
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jun 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-3
|
|
|
1163ee |
- Make relocating Python by changing _prefix actually work
|
|
|
1163ee |
Resolves: rhbz#1231801
|
|
|
1163ee |
|
|
|
1163ee |
* Mon May 4 2015 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.3-2
|
|
|
1163ee |
- Disable test_gdb on aarch64 (rhbz#1196181), it joins all other non x86 arches
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Mar 12 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-1
|
|
|
1163ee |
- Updated to 3.4.3
|
|
|
1163ee |
- BuildPython now accepts additional build options
|
|
|
1163ee |
- Temporarily disabled test_gdb on arm (rhbz#1196181)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Feb 25 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.2-7
|
|
|
1163ee |
- Fixed undefined behaviour in faulthandler which caused test to hang on x86_64
|
|
|
1163ee |
(http://bugs.python.org/issue23433)
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 3.4.2-6
|
|
|
1163ee |
- Rebuilt for Fedora 23 Change
|
|
|
1163ee |
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Feb 17 2015 Ville Skyttä <ville.skytta@iki.fi> - 3.4.2-5
|
|
|
1163ee |
- Own systemtap dirs (#710733)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 12 2015 Dan Horák <dan[at]danny.cz> - 3.4.2-4
|
|
|
1163ee |
- build with valgrind on ppc64le
|
|
|
1163ee |
- disable test_gdb on s390(x) until rhbz#1181034 is resolved
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Dec 16 2014 Robert Kuska <rkuska@redhat.com> - 3.4.2-3
|
|
|
1163ee |
- New patches: 170 (gc asserts), 200 (gettext headers),
|
|
|
1163ee |
201 (gdbm memory leak)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Dec 11 2014 Robert Kuska <rkuska@redhat.com> - 3.4.2-2
|
|
|
1163ee |
- OpenSSL disabled SSLv3 in SSLv23 method
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Nov 13 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.2-1
|
|
|
1163ee |
- Update to 3.4.2
|
|
|
1163ee |
- Refreshed patches: 156 (gdb autoload)
|
|
|
1163ee |
- Removed: 195 (Werror declaration), 197 (CVE-2014-4650)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Nov 03 2014 Slavek Kabrda <bkabrda@redhat.com> - 3.4.1-16
|
|
|
1163ee |
- Fix CVE-2014-4650 - CGIHTTPServer URL handling
|
|
|
1163ee |
Resolves: rhbz#1113529
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Sep 07 2014 Karsten Hopp <karsten@redhat.com> 3.4.1-15
|
|
|
1163ee |
- exclude test_gdb on ppc* (rhbz#1132488)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Aug 21 2014 Slavek Kabrda <bkabrda@redhat.com> - 3.4.1-14
|
|
|
1163ee |
- Update rewheel patch with fix from https://github.com/bkabrda/rewheel/pull/1
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-13
|
|
|
1163ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Jun 8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.1-12
|
|
|
1163ee |
- aarch64 has valgrind, just list those that don't support it
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-11
|
|
|
1163ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jun 04 2014 Karsten Hopp <karsten@redhat.com> 3.4.1-10
|
|
|
1163ee |
- bump release and rebuild to link with the correct tcl/tk libs on ppcle
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jun 03 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-9
|
|
|
1163ee |
- Change paths to bundled projects in rewheel patch
|
|
|
1163ee |
|
|
|
1163ee |
* Fri May 30 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-8
|
|
|
1163ee |
- In config script, use uname -m to write the arch
|
|
|
1163ee |
|
|
|
1163ee |
* Thu May 29 2014 Dan Horák <dan[at]danny.cz> - 3.4.1-7
|
|
|
1163ee |
- update the arch list where valgrind exists - %%power64 includes also
|
|
|
1163ee |
ppc64le which is not supported yet
|
|
|
1163ee |
|
|
|
1163ee |
* Thu May 29 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-6
|
|
|
1163ee |
- Forward arguments to the arch specific config script
|
|
|
1163ee |
Resolves: rhbz#1102683
|
|
|
1163ee |
|
|
|
1163ee |
* Wed May 28 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-5
|
|
|
1163ee |
- Rename python3.Xm-config script to arch specific.
|
|
|
1163ee |
Resolves: rhbz#1091815
|
|
|
1163ee |
|
|
|
1163ee |
* Tue May 27 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.1-4
|
|
|
1163ee |
- Use python3-*, not python-* runtime requires on setuptools and pip
|
|
|
1163ee |
- rebuild for tcl-8.6
|
|
|
1163ee |
|
|
|
1163ee |
* Tue May 27 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-3
|
|
|
1163ee |
- Update the rewheel module
|
|
|
1163ee |
|
|
|
1163ee |
* Mon May 26 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-2
|
|
|
1163ee |
- Fix multilib dependencies.
|
|
|
1163ee |
Resolves: rhbz#1091815
|
|
|
1163ee |
|
|
|
1163ee |
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-1
|
|
|
1163ee |
- Update to Python 3.4.1
|
|
|
1163ee |
|
|
|
1163ee |
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-8
|
|
|
1163ee |
- Fix test_gdb failure on ppc64le
|
|
|
1163ee |
Resolves: rhbz#1095355
|
|
|
1163ee |
|
|
|
1163ee |
* Thu May 22 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.0-7
|
|
|
1163ee |
- Add macro %%python3_version_nodots
|
|
|
1163ee |
|
|
|
1163ee |
* Sun May 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-6
|
|
|
1163ee |
- Disable test_faulthandler, test_gdb on aarch64
|
|
|
1163ee |
Resolves: rhbz#1045193
|
|
|
1163ee |
|
|
|
1163ee |
* Fri May 16 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-5
|
|
|
1163ee |
- Don't add Werror=declaration-after-statement for extension
|
|
|
1163ee |
modules through setup.py (PyBT#21121)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon May 12 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-4
|
|
|
1163ee |
- Add setuptools and pip to Requires
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Apr 29 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-3
|
|
|
1163ee |
- Point __os_install_post to correct brp-* files
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Apr 15 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-2
|
|
|
1163ee |
- Temporarily disable tests requiring SIGHUP (rhbz#1088233)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Apr 15 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-1
|
|
|
1163ee |
- Update to Python 3.4 final
|
|
|
1163ee |
- Add patch adding the rewheel module
|
|
|
1163ee |
- Merge patches from master
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jan 08 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-0.1.b2
|
|
|
1163ee |
- Update to Python 3.4 beta 2.
|
|
|
1163ee |
- Refreshed patches: 55 (systemtap), 146 (hashlib-fips), 154 (test_gdb noise)
|
|
|
1163ee |
- Dropped patches: 114 (statvfs constants), 177 (platform unicode)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Nov 25 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-0.1.b1
|
|
|
1163ee |
- Update to Python 3.4 beta 1.
|
|
|
1163ee |
- Refreshed patches: 102 (lib64), 111 (no static lib), 125 (less verbose COUNT
|
|
|
1163ee |
ALLOCS), 141 (fix COUNT_ALLOCS in test_module), 146 (hashlib fips),
|
|
|
1163ee |
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port)
|
|
|
1163ee |
- Removed patch 00187 (remove pthread atfork; upstreamed)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Nov 04 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-0.1.a4
|
|
|
1163ee |
- Update to Python 3.4 alpha 4.
|
|
|
1163ee |
- Refreshed patches: 55 (systemtap), 102 (lib64), 111 (no static lib),
|
|
|
1163ee |
114 (statvfs flags), 132 (unittest rpmbuild hooks), 134 (fix COUNT_ALLOCS in
|
|
|
1163ee |
test_sys), 143 (tsc on ppc64), 146 (hashlib fips), 153 (test gdb noise),
|
|
|
1163ee |
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port), 186 (dont raise
|
|
|
1163ee |
from py_compile)
|
|
|
1163ee |
- Removed patches: 129 (test_subprocess nonreadable dir - no longer fails in
|
|
|
1163ee |
Koji), 142 (the mock issue that caused this is fixed)
|
|
|
1163ee |
- Added patch 187 (remove thread atfork) - will be in next version
|
|
|
1163ee |
- Refreshed script for checking pyc and pyo timestamps with new ignored files.
|
|
|
1163ee |
- The fips patch is disabled for now until upstream makes a final decision
|
|
|
1163ee |
what to do with sha3 implementation for 3.4.0.
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Oct 30 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-7
|
|
|
1163ee |
- Bytecompile all *.py files properly during build (rhbz#1023607)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Aug 23 2013 Matej Stuchlik <mstuchli@redhat.com> - 3.3.2-6
|
|
|
1163ee |
- Added fix for CVE-2013-4238 (rhbz#996399)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> - 3.3.2-5
|
|
|
1163ee |
- fix up indentation in arm patch
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> - 3.3.2-4
|
|
|
1163ee |
- disable a test that fails on arm
|
|
|
1163ee |
- enable valgrind support on arm arches
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jul 02 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-3
|
|
|
1163ee |
- Fix build with libffi containing multilib wrapper for ffi.h (rhbz#979696).
|
|
|
1163ee |
|
|
|
1163ee |
* Mon May 20 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-2
|
|
|
1163ee |
- Add patch for CVE-2013-2099 (rhbz#963261).
|
|
|
1163ee |
|
|
|
1163ee |
* Thu May 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-1
|
|
|
1163ee |
- Updated to Python 3.3.2.
|
|
|
1163ee |
- Refreshed patches: 153 (gdb test noise)
|
|
|
1163ee |
- Dropped patches: 175 (configure -Wformat, fixed upstream), 182 (gdb
|
|
|
1163ee |
test threads)
|
|
|
1163ee |
- Synced patch numbers with python.spec.
|
|
|
1163ee |
|
|
|
1163ee |
* Thu May 9 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.1-4
|
|
|
1163ee |
- fix test.test_gdb.PyBtTests.test_threads on ppc64 (patch 181; rhbz#960010)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu May 02 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.1-3
|
|
|
1163ee |
- Add patch that enables building on ppc64p7 (replace the sed, so that
|
|
|
1163ee |
we get consistent with python2 spec and it's more obvious that we're doing it.
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Apr 24 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.1-2
|
|
|
1163ee |
- Add fix for gdb tests failing on arm, rhbz#951802.
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Apr 09 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.1-1
|
|
|
1163ee |
- Updated to Python 3.3.1.
|
|
|
1163ee |
- Refreshed patches: 55 (systemtap), 111 (no static lib), 146 (hashlib fips),
|
|
|
1163ee |
153 (fix test_gdb noise), 157 (uid, gid overflow - fixed upstream, just
|
|
|
1163ee |
keeping few more downstream tests)
|
|
|
1163ee |
- Removed patches: 3 (audiotest.au made it to upstream tarball)
|
|
|
1163ee |
- Removed workaround for http://bugs.python.org/issue14774, discussed in
|
|
|
1163ee |
http://bugs.python.org/issue15298 and fixed in revision 24d52d3060e8.
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-10
|
|
|
1163ee |
- fix gcc 4.8 incompatibility (rhbz#927358); regenerate autotool intermediates
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-9
|
|
|
1163ee |
- renumber patches to keep them in sync with python.spec
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Mar 15 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-8
|
|
|
1163ee |
- Fix error in platform.platform() when non-ascii byte strings are decoded to
|
|
|
1163ee |
unicode (rhbz#922149)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Mar 14 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-7
|
|
|
1163ee |
- Fix up shared library extension (rhbz#889784)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Mar 07 2013 Karsten Hopp <karsten@redhat.com> 3.3.0-6
|
|
|
1163ee |
- add ppc64p7 build target, optimized for Power7
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Mar 4 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-5
|
|
|
1163ee |
- add workaround for ENOPROTOOPT seen running selftests in Koji
|
|
|
1163ee |
(rhbz#913732)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Mar 4 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-4
|
|
|
1163ee |
- remove config flag from /etc/rpm/macros.{python3|pybytecompile}
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Feb 11 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-3
|
|
|
1163ee |
- add aarch64 (rhbz#909783)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Nov 29 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-2
|
|
|
1163ee |
- add BR on bluez-libs-devel (rhbz#879720)
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Sep 29 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-1
|
|
|
1163ee |
- 3.3.0rc3 -> 3.3.0; drop alphatag
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Sep 24 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.6.rc3
|
|
|
1163ee |
- 3.3.0rc2 -> 3.3.0rc3
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Sep 10 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.5.rc2
|
|
|
1163ee |
- 3.3.0rc1 -> 3.3.0rc2; refresh patch 55
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 27 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.4.rc1
|
|
|
1163ee |
- 3.3.0b2 -> 3.3.0rc1; refresh patches 3, 55
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 13 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.3.b2
|
|
|
1163ee |
- 3.3b1 -> 3.3b2; drop upstreamed patch 152; refresh patches 3, 102, 111,
|
|
|
1163ee |
134, 153, 160; regenenerate autotools patch; rework systemtap patch to work
|
|
|
1163ee |
correctly when LANG=C (patch 55); importlib.test was moved to
|
|
|
1163ee |
test.test_importlib upstream
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Aug 13 2012 Karsten Hopp <karsten@redhat.com> 3.3.0-0.2.b1
|
|
|
1163ee |
- disable some failing checks on PPC* (rhbz#846849)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.1.b1
|
|
|
1163ee |
- 3.2 -> 3.3: https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
1163ee |
- 3.3.0b1: refresh patches 3, 55, 102, 111, 113, 114, 134, 157; drop upstream
|
|
|
1163ee |
patch 147; regenenerate autotools patch; drop "--with-wide-unicode" from
|
|
|
1163ee |
configure (PEP 393); "plat-linux2" -> "plat-linux" (upstream issue 12326);
|
|
|
1163ee |
"bz2" -> "_bz2" and "crypt" -> "_crypt"; egg-info files are no longer shipped
|
|
|
1163ee |
for stdlib (upstream issues 10645 and 12218); email/test moved to
|
|
|
1163ee |
test/test_email; add /usr/bin/pyvenv[-3.3] and venv module (PEP 405); add
|
|
|
1163ee |
_decimal and _lzma modules; make collections modules explicit in payload again
|
|
|
1163ee |
(upstream issue 11085); add _testbuffer module to tests subpackage (added in
|
|
|
1163ee |
upstream commit 3f9b3b6f7ff0); fix test failures (patches 160 and 161);
|
|
|
1163ee |
workaround erroneously shared _sysconfigdata.py upstream issue #14774; fix
|
|
|
1163ee |
distutils.sysconfig traceback (patch 162); add BuildRequires: xz-devel (for
|
|
|
1163ee |
_lzma module); skip some tests within test_socket (patch 163)
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-11
|
|
|
1163ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.1.b1
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jun 22 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-10
|
|
|
1163ee |
- use macro for power64 (rhbz#834653)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jun 18 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-9
|
|
|
1163ee |
- fix missing include in uid/gid handling patch (patch 157; rhbz#830405)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed May 30 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 3.2.3-8
|
|
|
1163ee |
- fix tapset for debug build
|
|
|
1163ee |
|
|
|
1163ee |
* Tue May 15 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-7
|
|
|
1163ee |
- update uid/gid handling to avoid int overflows seen with uid/gid
|
|
|
1163ee |
values >= 2^31 on 32-bit architectures (patch 157; rhbz#697470)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri May 4 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-6
|
|
|
1163ee |
- renumber autotools patch from 300 to 5000
|
|
|
1163ee |
- specfile cleanups
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-5
|
|
|
1163ee |
- fix test_gdb.py (patch 156; rhbz#817072)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-4
|
|
|
1163ee |
- avoid allocating thunks in ctypes unless absolutely necessary, to avoid
|
|
|
1163ee |
generating SELinux denials on "import ctypes" and "import uuid" when embedding
|
|
|
1163ee |
Python within httpd (patch 155; rhbz#814391)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-3
|
|
|
1163ee |
- add explicit version requirements on expat to avoid linkage problems with
|
|
|
1163ee |
XML_SetHashSalt
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Apr 12 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-2
|
|
|
1163ee |
- fix test_gdb (patch 153)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Apr 11 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
|
|
|
1163ee |
- 3.2.3; refresh patch 102 (lib64); drop upstream patches 148 (gdbm magic
|
|
|
1163ee |
values), 149 (__pycache__ fix); add patch 152 (test_gdb regex)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Feb 9 2012 Thomas Spura <tomspur@fedoraproject.org> - 3.2.2-13
|
|
|
1163ee |
- use newly installed python for byte compiling (now for real)
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Feb 5 2012 Thomas Spura <tomspur@fedoraproject.org> - 3.2.2-12
|
|
|
1163ee |
- use newly installed python for byte compiling (#787498)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jan 4 2012 Ville Skyttä <ville.skytta@iki.fi> - 3.2.2-11
|
|
|
1163ee |
- Build with $RPM_LD_FLAGS (#756863).
|
|
|
1163ee |
- Use xz-compressed source tarball.
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Dec 07 2011 Karsten Hopp <karsten@redhat.com> 3.2.2-10
|
|
|
1163ee |
- disable rAssertAlmostEqual in test_cmath on PPC (#750811)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Oct 17 2011 Rex Dieter <rdieter@fedoraproject.org> - 3.2.2-9
|
|
|
1163ee |
- python3-devel missing autogenerated pkgconfig() provides (#746751)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Oct 10 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-8
|
|
|
1163ee |
- cherrypick fix for distutils not using __pycache__ when byte-compiling
|
|
|
1163ee |
files (rhbz#722578)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Sep 30 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-7
|
|
|
1163ee |
- re-enable gdbm (patch 148; rhbz#742242)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Sep 16 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-6
|
|
|
1163ee |
- add a sys._debugmallocstats() function (patch 147)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-5
|
|
|
1163ee |
- support OpenSSL FIPS mode in _hashlib and hashlib; don't build the _md5 and
|
|
|
1163ee |
_sha* modules, relying on _hashlib in hashlib (rhbz#563986; patch 146)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Sep 13 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-4
|
|
|
1163ee |
- disable gdbm module to prepare for gdbm soname bump
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Sep 12 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-3
|
|
|
1163ee |
- renumber and rename patches for consistency with python.spec (8 to 55, 106
|
|
|
1163ee |
to 104, 6 to 111, 104 to 113, 105 to 114, 125, 131, 130 to 143)
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Sep 10 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-2
|
|
|
1163ee |
- rewrite of "check", introducing downstream-only hooks for skipping specific
|
|
|
1163ee |
cases in an rpmbuild (patch 132), and fixing/skipping failing tests in a more
|
|
|
1163ee |
fine-grained manner than before; (patches 106, 133-142 sparsely, moving
|
|
|
1163ee |
patches for consistency with python.spec: 128 to 134, 126 to 135, 127 to 141)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Sep 6 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-1
|
|
|
1163ee |
- 3.2.2
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Sep 1 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-7
|
|
|
1163ee |
- run selftests with "--verbose"
|
|
|
1163ee |
- disable parts of test_io on ppc (rhbz#732998)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Aug 31 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-6
|
|
|
1163ee |
- use "--findleaks --verbose3" when running test suite
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-5
|
|
|
1163ee |
- re-enable and fix the --with-tsc option on ppc64, and rework it on 32-bit
|
|
|
1163ee |
ppc to avoid aliasing violations (patch 130; rhbz#698726)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-4
|
|
|
1163ee |
- don't use --with-tsc on ppc64 debug builds (rhbz#698726)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Aug 18 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-3
|
|
|
1163ee |
- add %%python3_version to the rpm macros (rhbz#719082)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jul 11 2011 Dennis Gilmore <dennis@ausil.us> - 3.2.1-2
|
|
|
1163ee |
- disable some tests on sparc arches
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jul 11 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-1
|
|
|
1163ee |
- 3.2.1; refresh lib64 patch (102), subprocess unit test patch (129), disabling
|
|
|
1163ee |
of static library build (due to Modules/_testembed; patch 6), autotool
|
|
|
1163ee |
intermediates (patch 300)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 8 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-5
|
|
|
1163ee |
- use the gdb hooks from the upstream tarball, rather than keeping our own copy
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 8 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-4
|
|
|
1163ee |
- don't run test_openpty and test_pty in %%check
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 8 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-3
|
|
|
1163ee |
- cleanup of BuildRequires; add comment headings to specfile sections
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Apr 19 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-2
|
|
|
1163ee |
- fix the libpython.stp systemtap tapset (rhbz#697730)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Feb 21 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-1
|
|
|
1163ee |
- 3.2
|
|
|
1163ee |
- drop alphatag
|
|
|
1163ee |
- regenerate autotool patch
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Feb 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.13.rc3
|
|
|
1163ee |
- add a /usr/bin/python3-debug symlink within the debug subpackage
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Feb 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.12.rc3
|
|
|
1163ee |
- 3.2rc3
|
|
|
1163ee |
- regenerate autotool patch
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-0.11.rc2
|
|
|
1163ee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 31 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.10.rc2
|
|
|
1163ee |
- 3.2rc2
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 17 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.9.rc1
|
|
|
1163ee |
- 3.2rc1
|
|
|
1163ee |
- rework patch 6 (static lib removal)
|
|
|
1163ee |
- remove upstreamed patch 130 (ppc debug build)
|
|
|
1163ee |
- regenerate patch 300 (autotool intermediates)
|
|
|
1163ee |
- updated packaging to reflect upstream rewrite of "Demo" (issue 7962)
|
|
|
1163ee |
- added libpython3.so and 2to3-3.2
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jan 5 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.8.b2
|
|
|
1163ee |
- set EXTRA_CFLAGS to our CFLAGS, rather than overriding OPT, fixing a linker
|
|
|
1163ee |
error with dynamic annotations (when configured using --with-valgrind)
|
|
|
1163ee |
- fix the ppc build of the debug configuration (patch 130; rhbz#661510)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Jan 4 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.7.b2
|
|
|
1163ee |
- add --with-valgrind to configuration (on architectures that support this)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Dec 29 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.6.b2
|
|
|
1163ee |
- work around test_subprocess failure seen in koji (patch 129)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Dec 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.b2
|
|
|
1163ee |
- 3.2b2
|
|
|
1163ee |
- rework patch 3 (removal of mimeaudio tests), patch 6 (no static libs),
|
|
|
1163ee |
patch 8 (systemtap), patch 102 (lib64)
|
|
|
1163ee |
- remove patch 4 (rendered redundant by upstream r85537), patch 103 (PEP 3149),
|
|
|
1163ee |
patch 110 (upstreamed expat fix), patch 111 (parallel build fix for grammar
|
|
|
1163ee |
fixed upstream)
|
|
|
1163ee |
- regenerate patch 300 (autotool intermediates)
|
|
|
1163ee |
- workaround COUNT_ALLOCS weakref issues in test suite (patch 126, patch 127,
|
|
|
1163ee |
patch 128)
|
|
|
1163ee |
- stop using runtest.sh in %%check (dropped by upstream), replacing with
|
|
|
1163ee |
regrtest; fixup list of failing tests
|
|
|
1163ee |
- introduce "pyshortver", "SOABI_optimized" and "SOABI_debug" macros
|
|
|
1163ee |
- rework manifests of shared libraries to use "SOABI_" macros, reflecting
|
|
|
1163ee |
PEP 3149
|
|
|
1163ee |
- drop itertools, operator and _collections modules from the manifests as py3k
|
|
|
1163ee |
commit r84058 moved these inside libpython; json/tests moved to test/json_tests
|
|
|
1163ee |
- move turtle code into the tkinter subpackage
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Nov 17 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.a1
|
|
|
1163ee |
- fix sysconfig to not rely on the -devel subpackage (rhbz#653058)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Sep 9 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.4.a1
|
|
|
1163ee |
- move most of the content of the core package to the libs subpackage, given
|
|
|
1163ee |
that the libs aren't meaningfully usable without the standard libraries
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Sep 8 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.3.a1
|
|
|
1163ee |
- Move test.support to core package (rhbz#596258)
|
|
|
1163ee |
- Add various missing __pycache__ directories to payload
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Aug 22 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2-0.2.a1
|
|
|
1163ee |
- Add __pycache__ directory for site-packages
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Aug 22 2010 Thomas Spura <tomspur@fedoraproject.org> - 3.2-0.1.a1
|
|
|
1163ee |
- on 64bit "stdlib" was still "/usr/lib/python*" (modify *lib64.patch)
|
|
|
1163ee |
- make find-provides-without-python-sonames.sh 64bit aware
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
|
|
|
1163ee |
- 3.2a1; add alphatag
|
|
|
1163ee |
- rework %%files in the light of PEP 3147 (__pycache__)
|
|
|
1163ee |
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
|
|
|
1163ee |
better job of things, and the %%files explicitly lists our modules (r82746
|
|
|
1163ee |
appears to break the old way of doing things). This leads to various modules
|
|
|
1163ee |
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
|
|
|
1163ee |
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
|
|
|
1163ee |
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
|
|
|
1163ee |
testing/devel purposes)
|
|
|
1163ee |
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
|
|
|
1163ee |
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
|
|
|
1163ee |
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
|
|
|
1163ee |
- add machinery for rebuilding "configure" and friends, using the correct
|
|
|
1163ee |
version of autoconf (patch 300)
|
|
|
1163ee |
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
|
|
|
1163ee |
- "modulator" was removed upstream
|
|
|
1163ee |
- drop "-b" from patch applications affecting .py files to avoid littering the
|
|
|
1163ee |
installation tree
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Aug 19 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-13
|
|
|
1163ee |
- Turn on computed-gotos.
|
|
|
1163ee |
- Fix for parallel make and graminit.c
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 2 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-12
|
|
|
1163ee |
- rebuild
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jul 2 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-11
|
|
|
1163ee |
- Fix an incompatibility between pyexpat and the system expat-2.0.1 that led to
|
|
|
1163ee |
a segfault running test_pyexpat.py (patch 110; upstream issue 9054; rhbz#610312)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jun 4 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-10
|
|
|
1163ee |
- ensure that the compiler is invoked with "-fwrapv" (rhbz#594819)
|
|
|
1163ee |
- reformat whitespace in audioop.c (patch 106)
|
|
|
1163ee |
- CVE-2010-1634: fix various integer overflow checks in the audioop
|
|
|
1163ee |
module (patch 107)
|
|
|
1163ee |
- CVE-2010-2089: further checks within the audioop module (patch 108)
|
|
|
1163ee |
- CVE-2008-5983: the new PySys_SetArgvEx entry point from r81399 (patch 109)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu May 27 2010 Dan Horák <dan[at]danny.cz> - 3.1.2-9
|
|
|
1163ee |
- reading the timestamp counter is available only on some arches (see Python/ceval.c)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed May 26 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-8
|
|
|
1163ee |
- add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
|
|
|
1163ee |
(patch 105)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue May 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-7
|
|
|
1163ee |
- add configure-time support for COUNT_ALLOCS and CALL_PROFILE debug options
|
|
|
1163ee |
(patch 104); enable them and the WITH_TSC option within the debug build
|
|
|
1163ee |
|
|
|
1163ee |
* Mon May 24 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-6
|
|
|
1163ee |
- build and install two different configurations of Python 3: debug and
|
|
|
1163ee |
standard, packaging the debug build in a new "python3-debug" subpackage
|
|
|
1163ee |
(patch 103)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Apr 13 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-5
|
|
|
1163ee |
- exclude test_http_cookies when running selftests, due to hang seen on
|
|
|
1163ee |
http://koji.fedoraproject.org/koji/taskinfo?taskID=2088463 (cancelled after
|
|
|
1163ee |
11 hours)
|
|
|
1163ee |
- update python-gdb.py from v5 to py3k version submitted upstream
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Mar 31 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-4
|
|
|
1163ee |
- update python-gdb.py from v4 to v5 (improving performance and stability,
|
|
|
1163ee |
adding commands)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Mar 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-3
|
|
|
1163ee |
- update python-gdb.py from v3 to v4 (fixing infinite recursion on reference
|
|
|
1163ee |
cycles and tracebacks on bytes 0x80-0xff in strings, adding handlers for sets
|
|
|
1163ee |
and exceptions)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Mar 24 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-2
|
|
|
1163ee |
- refresh gdb hooks to v3 (reworking how they are packaged)
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Mar 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-1
|
|
|
1163ee |
- update to 3.1.2: http://www.python.org/download/releases/3.1.2/
|
|
|
1163ee |
- drop upstreamed patch 2 (.pyc permissions handling)
|
|
|
1163ee |
- drop upstream patch 5 (fix for the test_tk and test_ttk_* selftests)
|
|
|
1163ee |
- drop upstreamed patch 200 (path-fixing script)
|
|
|
1163ee |
|
|
|
1163ee |
* Sat Mar 20 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-28
|
|
|
1163ee |
- fix typo in libpython.stp (rhbz:575336)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Mar 12 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-27
|
|
|
1163ee |
- add pyfuntop.stp example (source 7)
|
|
|
1163ee |
- convert usage of $$RPM_BUILD_ROOT to %%{buildroot} throughout, for
|
|
|
1163ee |
consistency with python.spec
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Feb 15 2010 Thomas Spura <tomspur@fedoraproject.org> - 3.1.1-26
|
|
|
1163ee |
- rebuild for new package of redhat-rpm-config (rhbz:564527)
|
|
|
1163ee |
- use 'install -p' when running 'make install'
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Feb 12 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-25
|
|
|
1163ee |
- split configure options into multiple lines for easy of editing
|
|
|
1163ee |
- add systemtap static markers (wcohen, mjw, dmalcolm; patch 8), a systemtap
|
|
|
1163ee |
tapset defining "python.function.entry" and "python.function.return" to make
|
|
|
1163ee |
the markers easy to use (dmalcolm; source 5), and an example of using the
|
|
|
1163ee |
tapset to the docs (dmalcolm; source 6) (rhbz:545179)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Feb 8 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-24
|
|
|
1163ee |
- move the -gdb.py file from %%{_libdir}/INSTSONAME-gdb.py to
|
|
|
1163ee |
%%{_prefix}/lib/debug/%%{_libdir}/INSTSONAME.debug-gdb.py to avoid noise from
|
|
|
1163ee |
ldconfig (bug 562980), and which should also ensure it becomes part of the
|
|
|
1163ee |
debuginfo subpackage, rather than the libs subpackage
|
|
|
1163ee |
- introduce %%{py_SOVERSION} and %%{py_INSTSONAME} to reflect the upstream
|
|
|
1163ee |
configure script, and to avoid fragile scripts that try to figure this out
|
|
|
1163ee |
dynamically (e.g. for the -gdb.py change)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Feb 8 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-23
|
|
|
1163ee |
- add gdb hooks for easier debugging (Source 4)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jan 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-22
|
|
|
1163ee |
- update python-3.1.1-config.patch to remove downstream customization of build
|
|
|
1163ee |
of pyexpat and elementtree modules
|
|
|
1163ee |
- add patch adapted from upstream (patch 7) to add support for building against
|
|
|
1163ee |
system expat; add --with-system-expat to "configure" invocation
|
|
|
1163ee |
- remove embedded copies of expat and zlib from source tree during "prep"
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-21
|
|
|
1163ee |
- introduce %%{dynload_dir} macro
|
|
|
1163ee |
- explicitly list all lib-dynload files, rather than dynamically gathering the
|
|
|
1163ee |
payload into a temporary text file, so that we can be sure what we are
|
|
|
1163ee |
shipping
|
|
|
1163ee |
- introduce a macros.pybytecompile source file, to help with packaging python3
|
|
|
1163ee |
modules (Source3; written by Toshio)
|
|
|
1163ee |
- rename "2to3-3" to "python3-2to3" to better reflect python 3 module packaging
|
|
|
1163ee |
plans
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-20
|
|
|
1163ee |
- change python-3.1.1-config.patch to remove our downstream change to curses
|
|
|
1163ee |
configuration in Modules/Setup.dist, so that the curses modules are built using
|
|
|
1163ee |
setup.py with the downstream default (linking against libncursesw.so, rather
|
|
|
1163ee |
than libncurses.so), rather than within the Makefile; add a test to %%install
|
|
|
1163ee |
to verify the dso files that the curses module is linked against the correct
|
|
|
1163ee |
DSO (bug 539917; changes _cursesmodule.so -> _curses.so)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jan 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-19
|
|
|
1163ee |
- add %%py3dir macro to macros.python3 (to be used during unified python 2/3
|
|
|
1163ee |
builds for setting up the python3 copy of the source tree)
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jan 20 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-18
|
|
|
1163ee |
- move lib2to3 from -tools subpackage to main package (bug 556667)
|
|
|
1163ee |
|
|
|
1163ee |
* Sun Jan 17 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-17
|
|
|
1163ee |
- patch Makefile.pre.in to avoid building static library (patch 6, bug 556092)
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jan 15 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-16
|
|
|
1163ee |
- use the %%{_isa} macro to ensure that the python-devel dependency on python
|
|
|
1163ee |
is for the correct multilib arch (#555943)
|
|
|
1163ee |
- delete bundled copy of libffi to make sure we use the system one
|
|
|
1163ee |
|
|
|
1163ee |
* Fri Jan 15 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-15
|
|
|
1163ee |
- fix the URLs output by pydoc so they point at python.org's 3.1 build of the
|
|
|
1163ee |
docs, rather than the 2.6 build
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Jan 13 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-14
|
|
|
1163ee |
- replace references to /usr with %%{_prefix}; replace references to
|
|
|
1163ee |
/usr/include with %%{_includedir} (Toshio)
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 11 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-13
|
|
|
1163ee |
- fix permission on find-provides-without-python-sonames.sh from 775 to 755
|
|
|
1163ee |
|
|
|
1163ee |
* Mon Jan 11 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-12
|
|
|
1163ee |
- remove build-time requirements on tix and tk, since we already have
|
|
|
1163ee |
build-time requirements on the -devel subpackages for each of these (Thomas
|
|
|
1163ee |
Spura)
|
|
|
1163ee |
- replace usage of %%define with %%global (Thomas Spura)
|
|
|
1163ee |
- remove forcing of CC=gcc as this old workaround for bug 109268 appears to
|
|
|
1163ee |
longer be necessary
|
|
|
1163ee |
- move various test files from the "tools"/"tkinter" subpackages to the "test"
|
|
|
1163ee |
subpackage
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Jan 7 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-11
|
|
|
1163ee |
- add %%check section (thanks to Thomas Spura)
|
|
|
1163ee |
- update patch 4 to use correct shebang line
|
|
|
1163ee |
- get rid of stray patch file from buildroot
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Nov 17 2009 Andrew McNabb <amcnabb@mcnabbs.org> - 3.1.1-10
|
|
|
1163ee |
- switched a few instances of "find |xargs" to "find -exec" for consistency.
|
|
|
1163ee |
- made the description of __os_install_post more accurate.
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Nov 4 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-9
|
|
|
1163ee |
- add macros.python3 to the -devel subpackage, containing common macros for use
|
|
|
1163ee |
when packaging python3 modules
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Nov 3 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-8
|
|
|
1163ee |
- add a provides of "python(abi)" (see bug 532118)
|
|
|
1163ee |
- fix issues identified by a.badger in package review (bug 526126, comment 39):
|
|
|
1163ee |
- use "3" thoughout metadata, rather than "3.*"
|
|
|
1163ee |
- remove conditional around "pkg-config openssl"
|
|
|
1163ee |
- use standard cleanup of RPM_BUILD_ROOT
|
|
|
1163ee |
- replace hardcoded references to /usr with _prefix macro
|
|
|
1163ee |
- stop removing egg-info files
|
|
|
1163ee |
- use /usr/bin/python3.1 rather than /use/bin/env python3.1 when fixing
|
|
|
1163ee |
up shebang lines
|
|
|
1163ee |
- stop attempting to remove no-longer-present .cvsignore files
|
|
|
1163ee |
- move the post/postun sections above the "files" sections
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Oct 29 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-7
|
|
|
1163ee |
- remove commented-away patch 51 (python-2.6-distutils_rpm.patch): the -O1
|
|
|
1163ee |
flag is used by default in the upstream code
|
|
|
1163ee |
- "Makefile" and the config-32/64.h file are needed by distutils/sysconfig.py
|
|
|
1163ee |
_init_posix(), so we include them in the core package, along with their parent
|
|
|
1163ee |
directories (bug 531901)
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Oct 27 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-6
|
|
|
1163ee |
- reword description, based on suggestion by amcnabb
|
|
|
1163ee |
- fix the test_email and test_imp selftests (patch 3 and patch 4 respectively)
|
|
|
1163ee |
- fix the test_tk and test_ttk_* selftests (patch 5)
|
|
|
1163ee |
- fix up the specfile's handling of shebang/perms to avoid corrupting
|
|
|
1163ee |
test_httpservers.py (sed command suggested by amcnabb)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Oct 22 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-5
|
|
|
1163ee |
- fixup importlib/_bootstrap.py so that it correctly handles being unable to
|
|
|
1163ee |
open .pyc files for writing (patch 2, upstream issue 7187)
|
|
|
1163ee |
- actually apply the rpath patch (patch 1)
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Oct 22 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-4
|
|
|
1163ee |
- update patch0's setup of the crypt module to link it against libcrypt
|
|
|
1163ee |
- update patch0 to comment "datetimemodule" back out, so that it is built
|
|
|
1163ee |
using setup.py (see Setup, option 3), thus linking it statically against
|
|
|
1163ee |
timemodule.c and thus avoiding a run-time "undefined symbol:
|
|
|
1163ee |
_PyTime_DoubleToTimet" failure on "import datetime"
|
|
|
1163ee |
|
|
|
1163ee |
* Wed Oct 21 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-3
|
|
|
1163ee |
- remove executable flag from various files that shouldn't have it
|
|
|
1163ee |
- fix end-of-line encodings
|
|
|
1163ee |
- fix a character encoding
|
|
|
1163ee |
|
|
|
1163ee |
* Tue Oct 20 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-2
|
|
|
1163ee |
- disable invocation of brp-python-bytecompile in postprocessing, since
|
|
|
1163ee |
it would be with the wrong version of python (adapted from ivazquez'
|
|
|
1163ee |
python3000 specfile)
|
|
|
1163ee |
- use a custom implementation of __find_provides in order to filter out bogus
|
|
|
1163ee |
provides lines for the various .so modules
|
|
|
1163ee |
- fixup distutils/unixccompiler.py to remove standard library path from rpath
|
|
|
1163ee |
(patch 1, was Patch0 in ivazquez' python3000 specfile)
|
|
|
1163ee |
- split out libraries into a -libs subpackage
|
|
|
1163ee |
- update summaries and descriptions, basing content on ivazquez' specfile
|
|
|
1163ee |
- fixup executable permissions on .py, .xpm and .xbm files, based on work in
|
|
|
1163ee |
ivazquez's specfile
|
|
|
1163ee |
- get rid of DOS batch files
|
|
|
1163ee |
- fixup permissions for shared libraries from non-standard 555 to standard 755
|
|
|
1163ee |
- move /usr/bin/python*-config to the -devel subpackage
|
|
|
1163ee |
- mark various directories as being documentation
|
|
|
1163ee |
|
|
|
1163ee |
* Thu Sep 24 2009 Andrew McNabb <amcnabb@mcnabbs.org> 3.1.1-1
|
|
|
1163ee |
- Initial package for Python 3.
|
|
|
1163ee |
|