Blame SPECS/python38.spec

6551b0
# ==================
6551b0
# Top-level metadata
6551b0
# ==================
6551b0
6551b0
%global pybasever 3.8
6551b0
6551b0
# pybasever without the dot:
6551b0
%global pyshortver 38
6551b0
6551b0
Name: python38
6551b0
Summary: Interpreter of the Python programming language
6551b0
URL: https://www.python.org/
6551b0
6551b0
#  WARNING  When rebasing to a new Python version,
6551b0
#           remember to update the python3-docs package as well
6551b0
%global general_version %{pybasever}.0
6551b0
#global prerel ...
6551b0
%global upstream_version %{general_version}%{?prerel}
6551b0
Version: %{general_version}%{?prerel:~%{prerel}}
6551b0
Release: 10%{?dist}
6551b0
License: Python
6551b0
6551b0
# Exclude i686 arch. Due to a modularity issue it's being added to the
6551b0
# x86_64 compose of CRB, but we don't want to ship it at all.
6551b0
# See: https://projects.engineering.redhat.com/browse/RCM-72605
6551b0
ExcludeArch: i686
6551b0
6551b0
# ==================================
6551b0
# Conditionals controlling the build
6551b0
# ==================================
6551b0
6551b0
# Note that the bcond macros are named for the CLI option they create.
6551b0
# "%%bcond_without" means "ENABLE by default and create a --without option"
6551b0
6551b0
6551b0
# Flat package, i.e. python36, python37, python38 for tox etc.
6551b0
# WARNING: This also influences the main_python bcond below.
6551b0
# in Fedora, never turn this on for the python3 package
6551b0
# and always keep it on for python37 etc.
6551b0
# WARNING: This does not change the package name and summary above.
6551b0
%bcond_with flatpackage
6551b0
6551b0
# Main Python, i.e. whether this is the main Python version in the distribution
6551b0
# that owns /usr/bin/python3 and other unique paths
6551b0
%bcond_with main_python
6551b0
6551b0
# When bootstrapping python3, we need to build setuptools.
6551b0
# but setuptools BR python3-devel and that brings in python3-rpm-generators;
6551b0
# python3-rpm-generators needs python3-setuptools, so we cannot have it yet.
6551b0
#
6551b0
# Procedure: https://fedoraproject.org/wiki/SIGs/Python/UpgradingPython
6551b0
#
6551b0
#   IMPORTANT: When bootstrapping, it's very likely the wheels for pip and
6551b0
#   setuptools are not available. Turn off the rpmwheels bcond until
6551b0
#   the two packages are built with wheels to get around the issue.
6551b0
%bcond_with bootstrap
6551b0
6551b0
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
6551b0
# Uses upstream bundled prebuilt wheels otherwise
6551b0
%bcond_without rpmwheels
6551b0
6551b0
# Expensive optimizations (mainly, profile-guided optimizations)
6551b0
%bcond_without optimizations
6551b0
6551b0
# Run the test suite in %%check
6551b0
%bcond_without tests
6551b0
6551b0
# Extra build for debugging the interpreter or C-API extensions
6551b0
# (the -debug subpackages)
6551b0
%if %{with flatpackage}
6551b0
%bcond_with debug_build
6551b0
%else
6551b0
%bcond_without debug_build
6551b0
%endif
6551b0
6551b0
# Support for the GDB debugger
6551b0
%bcond_without gdb_hooks
6551b0
6551b0
# The dbm.gnu module (key-value database)
6551b0
%bcond_without gdbm
6551b0
6551b0
# Main interpreter loop optimization
6551b0
%bcond_without computed_gotos
6551b0
6551b0
# Support for the Valgrind debugger/profiler
6551b0
%ifarch %{valgrind_arches}
6551b0
%bcond_without valgrind
6551b0
%else
6551b0
%bcond_with valgrind
6551b0
%endif
6551b0
6551b0
6551b0
# =====================
6551b0
# General global macros
6551b0
# =====================
6551b0
6551b0
# Set python3_pkgversion so that python_provide macro works for python38-
6551b0
# prefixes in this spec file
6551b0
# This is also set in the python38-rpm-macros package so that it works in other
6551b0
# packages of this module.
6551b0
%global python3_pkgversion 38
6551b0
6551b0
%global pylibdir %{_libdir}/python%{pybasever}
6551b0
%global dynload_dir %{pylibdir}/lib-dynload
6551b0
6551b0
# ABIFLAGS, LDVERSION and SOABI are in the upstream configure.ac
6551b0
# See PEP 3149 for some background: http://www.python.org/dev/peps/pep-3149/
6551b0
%global ABIFLAGS_optimized %{nil}
6551b0
%global ABIFLAGS_debug     d
6551b0
6551b0
%global LDVERSION_optimized %{pybasever}%{ABIFLAGS_optimized}
6551b0
%global LDVERSION_debug     %{pybasever}%{ABIFLAGS_debug}
6551b0
6551b0
%global SOABI_optimized cpython-%{pyshortver}%{ABIFLAGS_optimized}-%{_arch}-linux%{_gnu}
6551b0
%global SOABI_debug     cpython-%{pyshortver}%{ABIFLAGS_debug}-%{_arch}-linux%{_gnu}
6551b0
6551b0
# All bytecode files are in a __pycache__ subdirectory, with a name
6551b0
# reflecting the version of the bytecode.
6551b0
# See PEP 3147: http://www.python.org/dev/peps/pep-3147/
6551b0
# For example,
6551b0
#   foo/bar.py
6551b0
# has bytecode at:
6551b0
#   foo/__pycache__/bar.cpython-%%{pyshortver}.pyc
6551b0
#   foo/__pycache__/bar.cpython-%%{pyshortver}.opt-1.pyc
6551b0
#   foo/__pycache__/bar.cpython-%%{pyshortver}.opt-2.pyc
6551b0
%global bytecode_suffixes .cpython-%{pyshortver}*.pyc
6551b0
6551b0
# Python's configure script defines SOVERSION, and this is used in the Makefile
6551b0
# to determine INSTSONAME, the name of the libpython DSO:
6551b0
#   LDLIBRARY='libpython$(VERSION).so'
6551b0
#   INSTSONAME="$LDLIBRARY".$SOVERSION
6551b0
# We mirror this here in order to make it easier to add the -gdb.py hooks.
6551b0
# (if these get out of sync, the payload of the libs subpackage will fail
6551b0
# and halt the build)
6551b0
%global py_SOVERSION 1.0
6551b0
%global py_INSTSONAME_optimized libpython%{LDVERSION_optimized}.so.%{py_SOVERSION}
6551b0
%global py_INSTSONAME_debug     libpython%{LDVERSION_debug}.so.%{py_SOVERSION}
6551b0
6551b0
# Disable automatic bytecompilation. The python3 binary is not yet be
6551b0
# available in /usr/bin when Python is built. Also, the bytecompilation fails
6551b0
# on files that test invalid syntax.
6551b0
%undefine py_auto_byte_compile
6551b0
6551b0
# For multilib support, files that are different between 32- and 64-bit arches
6551b0
# need different filenames. Use "64" or "32" according to the word size.
6551b0
# Currently, the best way to determine an architecture's word size happens to
6551b0
# be checking %%{_lib}.
6551b0
%if "%{_lib}" == "lib64"
6551b0
%global wordsize 64
6551b0
%else
6551b0
%global wordsize 32
6551b0
%endif
6551b0
6551b0
6551b0
# =======================
6551b0
# Build-time requirements
6551b0
# =======================
6551b0
6551b0
# (keep this list alphabetized)
6551b0
6551b0
BuildRequires: autoconf
6551b0
BuildRequires: bluez-libs-devel
6551b0
BuildRequires: bzip2
6551b0
BuildRequires: bzip2-devel
6551b0
BuildRequires: desktop-file-utils
6551b0
BuildRequires: expat-devel
6551b0
6551b0
BuildRequires: findutils
6551b0
BuildRequires: gcc-c++
6551b0
%if %{with gdbm}
6551b0
BuildRequires: gdbm-devel
6551b0
%endif
6551b0
BuildRequires: glibc-all-langpacks
6551b0
BuildRequires: glibc-devel
6551b0
BuildRequires: gmp-devel
6551b0
BuildRequires: libappstream-glib
6551b0
BuildRequires: libffi-devel
6551b0
BuildRequires: libnsl2-devel
6551b0
BuildRequires: libtirpc-devel
6551b0
BuildRequires: libGL-devel
6551b0
BuildRequires: libuuid-devel
6551b0
BuildRequires: libX11-devel
6551b0
BuildRequires: ncurses-devel
6551b0
6551b0
BuildRequires: openssl-devel
6551b0
BuildRequires: pkgconfig
6551b0
BuildRequires: readline-devel
6551b0
BuildRequires: redhat-rpm-config
6551b0
BuildRequires: sqlite-devel
6551b0
BuildRequires: gdb
6551b0
6551b0
BuildRequires: tar
6551b0
BuildRequires: tcl-devel
6551b0
BuildRequires: tix-devel
6551b0
BuildRequires: tk-devel
6551b0
6551b0
%if %{with valgrind}
6551b0
BuildRequires: valgrind-devel
6551b0
%endif
6551b0
6551b0
BuildRequires: xz-devel
6551b0
BuildRequires: zlib-devel
6551b0
6551b0
BuildRequires: /usr/bin/dtrace
6551b0
6551b0
# workaround http://bugs.python.org/issue19804 (test_uuid requires ifconfig)
6551b0
BuildRequires: /usr/sbin/ifconfig
6551b0
6551b0
# For %%python_provide
6551b0
BuildRequires: python-rpm-macros
6551b0
6551b0
%if %{with rpmwheels}
6551b0
BuildRequires: python38-setuptools-wheel
6551b0
BuildRequires: python38-pip-wheel
6551b0
%endif
6551b0
6551b0
%if %{without bootstrap}
6551b0
# for make regen-all and distutils.tests.test_bdist_rpm
6551b0
BuildRequires: python%{pyshortver}
6551b0
%endif
6551b0
6551b0
# =======================
6551b0
# Source code and patches
6551b0
# =======================
6551b0
6551b0
Source0: %{url}ftp/python/%{general_version}/Python-%{upstream_version}.tar.xz
6551b0
Source1: %{url}ftp/python/%{general_version}/Python-%{upstream_version}.tar.xz.asc
6551b0
Source2: %{url}static/files/pubkeys.txt
6551b0
Source3: macros.python38
6551b0
6551b0
# A simple script to check timestamps of bytecode files
6551b0
# Run in check section with Python that is currently being built
6551b0
# Originally written by bkabrda
6551b0
Source8: check-pyc-timestamps.py
6551b0
6551b0
# Desktop menu entry for idle3
6551b0
Source10: idle3.desktop
6551b0
6551b0
# AppData file for idle3
6551b0
Source11: idle3.appdata.xml
6551b0
6551b0
# 00001 #
6551b0
# Fixup distutils/unixccompiler.py to remove standard library path from rpath:
6551b0
# Was Patch0 in ivazquez' python3000 specfile:
6551b0
Patch1:         00001-rpath.patch
6551b0
6551b0
# 00102 #
6551b0
# Change the various install paths to use /usr/lib64/ instead or /usr/lib
6551b0
# Only used when "%%{_lib}" == "lib64"
6551b0
# Not yet sent upstream.
6551b0
Patch102: 00102-lib64.patch
6551b0
6551b0
# 00111 #
6551b0
# Patch the Makefile.pre.in so that the generated Makefile doesn't try to build
6551b0
# a libpythonMAJOR.MINOR.a
6551b0
# See https://bugzilla.redhat.com/show_bug.cgi?id=556092
6551b0
# Downstream only: not appropriate for upstream
6551b0
Patch111: 00111-no-static-lib.patch
6551b0
6551b0
# 00189 #
6551b0
# Instead of bundled wheels, use our RPM packaged wheels from
6551b0
# /usr/share/python38-wheels
6551b0
Patch189: 00189-use-rpm-wheels.patch
6551b0
6551b0
# 00251
6551b0
# Set values of prefix and exec_prefix in distutils install command
6551b0
# to /usr/local if executable is /usr/bin/python* and RPM build
6551b0
# is not detected to make pip and distutils install into separate location
6551b0
# Fedora Change: https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
6551b0
Patch251: 00251-change-user-install-location.patch
6551b0
6551b0
# 00274 #
6551b0
# Upstream uses Debian-style architecture naming. Change to match Fedora.
6551b0
Patch274: 00274-fix-arch-names.patch
6551b0
6551b0
# 00328 #
6551b0
# Restore pyc to TIMESTAMP invalidation mode as default in rpmbubild
6551b0
# See https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/57#comment-27426
6551b0
Patch328: 00328-pyc-timestamp-invalidation-mode.patch
6551b0
6551b0
# 00329 #
6551b0
# Support OpenSSL FIPS mode
6551b0
# - Fallback implementations md5, sha1, sha256, sha512 are removed in favor of OpenSSL wrappers
6551b0
# - In FIPS mode, OpenSSL wrappers are always used in hashlib
6551b0
# - add a new "usedforsecurity" keyword argument to the various digest
6551b0
#   algorithms in hashlib so that you can whitelist a callsite with
6551b0
#   "usedforsecurity=False"
6551b0
#   The change has been implemented upstream since Python 3.9:
6551b0
#   https://bugs.python.org/issue9216
6551b0
# - OpenSSL wrappers for the hashes blake2{b512,s256},
6551b0
#     sha3_{224,256,384,512}, shake_{128,256} are now exported from _hashlib
6551b0
# - In FIPS mode, the blake2, sha3 and shake hashes use OpenSSL wrappers
6551b0
#   and do not offer extended functionality (keys, tree hashing, custom digest size)
6551b0
# - In FIPS mode, hmac.HMAC can only be instantiated with an OpenSSL wrapper
6551b0
#   or an string with OpenSSL hash name as the "digestmod" argument.
6551b0
#   The argument must be specified (instead of defaulting to ‘md5’).
6551b0
#
6551b0
# - Also while in FIPS mode, we utilize OpenSSL's DRBG and disable the
6551b0
#   os.getrandom() function.
6551b0
#
6551b0
# Resolves: rhbz#1731424
6551b0
Patch329: 00329-fips.patch
6551b0
6551b0
# 00337 #
6551b0
# Adjust the test_min_max_version in test_ssl to accept the new settings in
6551b0
# RHEL 8.2 where maximum_version is set to TLS 1.3
6551b0
Patch337: 00337-test_ssl-test_min_max_version-add-range.patch
6551b0
6551b0
# 00345 #
6551b0
# Skip from test_site the test_startup_imports case if a path of sys.path
6551b0
# contains a .pth file
6551b0
# Fixed upstream: https://bugs.python.org/issue27807
6551b0
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1815643
6551b0
Patch345: 00345-fix-test_site-with-extra-pth-files.patch
6551b0
6551b0
# 00346 #
6551b0
# Fix CVE-2020-8492: wrong backtracking in urllib.request.AbstractBasicAuthHandler allows for a ReDoS
6551b0
# Fixed upstream: https://bugs.python.org/issue39503
6551b0
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1810622
6551b0
Patch346: 00346-CVE-2020-8492.patch
6551b0
6551b0
# 00347 #
6551b0
# The ensurepip module now invokes pip via the runpy module.
6551b0
# Hence it is no longer tightly coupled with the internal API of the bundled
6551b0
# pip version, allowing easier updates to a newer pip version both
6551b0
# internally and for distributors.
6551b0
# Backported from upstream during an update of pip from 19.2.3 to 19.3.1
6551b0
# https://github.com/python/cpython/commit/88f82b2b9ea3514359cb6e3218121f75334063ac
6551b0
Patch347: 00347-ensurepip-invokes-pip-via-runpy.patch
6551b0
6551b0
# (New patches go here ^^^)
6551b0
#
6551b0
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
6551b0
# please try to keep the patch numbers in-sync between all specfiles.
6551b0
#
6551b0
# More information, and a patch number catalog, is at:
6551b0
#
6551b0
#     https://fedoraproject.org/wiki/SIGs/Python/PythonPatches
6551b0
#
6551b0
# The patches are stored and rebased at:
6551b0
#
6551b0
#     https://github.com/fedora-python/cpython
6551b0
6551b0
6551b0
# ==========================================
6551b0
# Descriptions, and metadata for subpackages
6551b0
# ==========================================
6551b0
6551b0
# People might want to dnf install pythonX.Y instead of pythonXY;
6551b0
# we enable this in both flat and nonflat package.
6551b0
Provides: python%{pybasever} = %{version}-%{release}
6551b0
6551b0
# When the user tries to `yum install python`, yum will list this package among
6551b0
# the possible alternatives
6551b0
Provides: alternative-for(python)
6551b0
6551b0
# Runtime require alternatives
6551b0
Requires:         %{_sbindir}/alternatives
6551b0
Requires(post):   %{_sbindir}/alternatives
6551b0
Requires(postun): %{_sbindir}/alternatives
6551b0
6551b0
%if %{without flatpackage}
6551b0
6551b0
# Packages with Python modules in standard locations automatically
6551b0
# depend on python(abi). Provide that here.
6551b0
Provides: python(abi) = %{pybasever}
6551b0
6551b0
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
6551b0
6551b0
# In order to support multiple Python interpreters for development purposes,
6551b0
# packages with the naming scheme flatpackage (e.g. python35) exist for
6551b0
# non-default versions of Python 3.
6551b0
# For consistency, and to keep the upgrade path clean, we Provide/Obsolete
6551b0
# these names here.
6551b0
Provides: python%{pyshortver} = %{version}-%{release}
6551b0
6551b0
%if %{with main_python}
6551b0
# https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
6551b0
# https://fedoraproject.org/wiki/Changes/Python_means_Python3
6551b0
# We recommend /usr/bin/python so users get it by default
6551b0
# Versioned recommends are problematic, and we know that the package requires
6551b0
# python3 back with fixed version, so we just use the path here:
6551b0
Recommends: %{_bindir}/python
6551b0
%endif
6551b0
6551b0
# In Fedora 31, /usr/bin/pydoc was moved here from Python 2.
6551b0
# Ideally we'd have an explicit conflict with "/usr/bin/pydoc < 3",
6551b0
# but file provides aren't versioned and the file moved across packages.
6551b0
# Instead, we rely on the conflict in python3-libs.
6551b0
6551b0
# Previously, this was required for our rewheel patch to work.
6551b0
# This is technically no longer needed, but we keep it recommended
6551b0
# for the developer experience.
6551b0
Recommends: python38-setuptools
6551b0
Recommends: python38-pip
6551b0
6551b0
# This prevents ALL subpackages built from this spec to require
6551b0
# /usr/bin/python3*. Granularity per subpackage is impossible.
6551b0
# It's intended for the libs package not to drag in the interpreter, see
6551b0
# https://bugzilla.redhat.com/show_bug.cgi?id=1547131
6551b0
# All others require %%{name} anyway.
6551b0
%global __requires_exclude ^/usr/bin/python3
6551b0
6551b0
6551b0
# The description used both for the SRPM and the main `python3` subpackage:
6551b0
%description
6551b0
Python is an accessible, high-level, dynamically typed, interpreted programming
6551b0
language, designed with an emphasis on code readability.
6551b0
It includes an extensive standard library, and has a vast ecosystem of
6551b0
third-party libraries.
6551b0
6551b0
The %{name} package provides the "python3" executable: the reference
6551b0
interpreter for the Python language, version 3.
6551b0
The majority of its standard library is provided in the %{name}-libs package,
6551b0
which should be installed automatically along with %{name}.
6551b0
The remaining parts of the Python standard library are broken out into the
6551b0
%{name}-tkinter and %{name}-test packages, which may need to be installed
6551b0
separately.
6551b0
6551b0
Documentation for Python is provided in the %{name}-docs package.
6551b0
6551b0
Packages containing additional libraries for Python are generally named with
6551b0
the "%{name}-" prefix.
6551b0
6551b0
For the unversioned "python" executable, see manual page "unversioned-python".
6551b0
6551b0
6551b0
%if %{with main_python}
6551b0
# https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
6551b0
# https://fedoraproject.org/wiki/Changes/Python_means_Python3
6551b0
%package -n python-unversioned-command
6551b0
Summary: The "python" command that runs Python 3
6551b0
BuildArch: noarch
6551b0
6551b0
# In theory this could require any python3 version
6551b0
Requires: python3 == %{version}-%{release}
6551b0
# But since we want to provide versioned python, we require exact version
6551b0
Provides: python = %{version}-%{release}
6551b0
# This also save us an explicit conflict for older python3 builds
6551b0
6551b0
%description -n python-unversioned-command
6551b0
This package contains /usr/bin/python - the "python" command that runs Python 3.
6551b0
6551b0
%endif # with main_python
6551b0
6551b0
6551b0
%package libs
6551b0
Summary:        Python runtime libraries
6551b0
6551b0
%if %{with rpmwheels}
6551b0
Requires: python38-setuptools-wheel
6551b0
Requires: python38-pip-wheel
6551b0
%else
6551b0
Provides: bundled(python38-pip) = 19.2.3
6551b0
Provides: bundled(python38-setuptools) = 41.2.0
6551b0
%endif
6551b0
6551b0
%{?python_provide:%python_provide python38-libs}
6551b0
6551b0
# There are files in the standard library that have python shebang.
6551b0
# We've filtered the automatic requirement out so libs are installable without
6551b0
# the main package. This however makes it pulled in by default.
6551b0
# See https://bugzilla.redhat.com/show_bug.cgi?id=1547131
6551b0
Recommends: %{name}%{?_isa} = %{version}-%{release}
6551b0
6551b0
6551b0
%description libs
6551b0
This package contains runtime libraries for use by Python:
6551b0
- the majority of the Python standard library
6551b0
- a dynamically linked library for use by applications that embed Python as
6551b0
  a scripting language, and by the main "python3" executable
6551b0
6551b0
6551b0
%package devel
6551b0
Summary: Libraries and header files needed for Python development
6551b0
Requires: %{name} = %{version}-%{release}
6551b0
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
6551b0
BuildRequires: python-rpm-macros
6551b0
# The RPM related dependencies bring nothing to a non-RPM Python developer
6551b0
# But we want them when packages BuildRequire python3-devel
6551b0
Requires: (python-rpm-macros if rpm-build)
6551b0
Requires: (python3-rpm-macros if rpm-build)
6551b0
# python38 installs the alternatives master symlink to which we attach a slave
6551b0
Requires(post): python38
6551b0
Requires(postun): python38
6551b0
6551b0
%if %{without bootstrap}
6551b0
# This is not "API" (packages that need setuptools should still BuildRequire it)
6551b0
# However some packages apparently can build both with and without setuptools
6551b0
# producing egg-info as file or directory (depending on setuptools presence).
6551b0
# Directory-to-file updates are problematic in RPM, so we ensure setuptools is
6551b0
# installed when -devel is required.
6551b0
# See https://bugzilla.redhat.com/show_bug.cgi?id=1623914
6551b0
# See https://fedoraproject.org/wiki/Packaging:Directory_Replacement
6551b0
Requires: (python38-setuptools if rpm-build)
6551b0
%endif
6551b0
6551b0
Requires: (python3-rpm-generators if rpm-build)
6551b0
6551b0
%{?python_provide:%python_provide python38-devel}
6551b0
6551b0
%description devel
6551b0
This package contains the header files and configuration needed to compile
6551b0
Python extension modules (typically written in C or C++), to embed Python
6551b0
into other programs, and to make binary distributions for Python libraries.
6551b0
6551b0
It also contains the necessary macros to build RPM packages with Python modules
6551b0
and 2to3 tool, an automatic source converter from Python 2.X.
6551b0
6551b0
If you want to build an RPM against the python38 module, you also need to
6551b0
install the python38-rpm-macros package.
6551b0
6551b0
6551b0
%package idle
6551b0
Summary: A basic graphical development environment for Python
6551b0
Requires: %{name} = %{version}-%{release}
6551b0
Requires: %{name}-tkinter = %{version}-%{release}
6551b0
6551b0
%{?python_provide:%python_provide python38-idle}
6551b0
6551b0
# python38 installs the alternatives master symlink to which we attach a slave
6551b0
Requires(post): python38
6551b0
Requires(postun): python38
6551b0
6551b0
%description idle
6551b0
IDLE is Python’s Integrated Development and Learning Environment.
6551b0
6551b0
IDLE has the following features: Python shell window (interactive
6551b0
interpreter) with colorizing of code input, output, and error messages;
6551b0
multi-window text editor with multiple undo, Python colorizing,
6551b0
smart indent, call tips, auto completion, and other features;
6551b0
search within any window, replace within editor windows, and
6551b0
search through multiple files (grep); debugger with persistent
6551b0
breakpoints, stepping, and viewing of global and local namespaces;
6551b0
configuration, browsers, and other dialogs.
6551b0
6551b0
6551b0
%package tkinter
6551b0
Summary: A GUI toolkit for Python
6551b0
Requires: %{name} = %{version}-%{release}
6551b0
6551b0
%{?python_provide:%python_provide python38-tkinter}
6551b0
6551b0
%description tkinter
6551b0
The Tkinter (Tk interface) library is a graphical user interface toolkit for
6551b0
the Python programming language.
6551b0
6551b0
6551b0
%package test
6551b0
Summary: The self-test suite for the main python3 package
6551b0
Requires: %{name} = %{version}-%{release}
6551b0
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
6551b0
6551b0
%{?python_provide:%python_provide python38-test}
6551b0
6551b0
%description test
6551b0
The self-test suite for the Python interpreter.
6551b0
6551b0
This is only useful to test Python itself. For testing general Python code,
6551b0
you should use the unittest module from %{name}-libs, or a library such as
6551b0
%{name}-pytest or %{name}-nose.
6551b0
6551b0
6551b0
%if %{with debug_build}
6551b0
%package debug
6551b0
Summary: Debug version of the Python runtime
6551b0
6551b0
# The debug build is an all-in-one package version of the regular build, and
6551b0
# shares the same .py/.pyc files and directories as the regular build. Hence
6551b0
# we depend on all of the subpackages of the regular build:
6551b0
Requires: %{name}%{?_isa} = %{version}-%{release}
6551b0
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
6551b0
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
6551b0
Requires: %{name}-test%{?_isa} = %{version}-%{release}
6551b0
Requires: %{name}-tkinter%{?_isa} = %{version}-%{release}
6551b0
Requires: %{name}-idle%{?_isa} = %{version}-%{release}
6551b0
# python38 installs the alternatives master symlink to which we attach a slave
6551b0
Requires(post): python38
6551b0
Requires(postun): python38
6551b0
6551b0
%{?python_provide:%python_provide python38-debug}
6551b0
6551b0
%description debug
6551b0
python38-debug provides a version of the Python runtime with numerous debugging
6551b0
features enabled, aimed at advanced Python users such as developers of Python
6551b0
extension modules.
6551b0
6551b0
This version uses more memory and will be slower than the regular Python build,
6551b0
but is useful for tracking down reference-counting issues and other bugs.
6551b0
6551b0
The debug build shares installation directories with the standard Python
6551b0
runtime. Python modules -- source (.py), bytecode (.pyc), and C-API extensions
6551b0
(.cpython*.so) -- are compatible between this and the standard version
6551b0
of Python.
6551b0
6551b0
The debug runtime additionally supports debug builds of C-API extensions
6551b0
(with the "d" ABI flag) for debugging issues in those extensions.
6551b0
%endif # with debug_build
6551b0
6551b0
%else  # with flatpackage
6551b0
6551b0
# We'll not provide this, on purpose
6551b0
# No package in Fedora shall ever depend on flatpackage via this
6551b0
%global __requires_exclude ^python\\(abi\\) = 3\\..$
6551b0
%global __provides_exclude ^python\\(abi\\) = 3\\..$
6551b0
6551b0
%if %{with rpmwheels}
6551b0
Requires: python38-setuptools-wheel
6551b0
Requires: python38-pip-wheel
6551b0
%else
6551b0
Provides: bundled(python38-pip) = 19.2.3
6551b0
Provides: bundled(python38-setuptools) = 41.2.0
6551b0
%endif
6551b0
6551b0
# The description for the flat package
6551b0
%description
6551b0
Python %{pybasever} package for developers.
6551b0
6551b0
This package exists to allow developers to test their code against a newer
6551b0
version of Python. This is not a full Python stack and if you wish to run
6551b0
your applications with Python %{pybasever}, update your Fedora to a newer
6551b0
version once Python %{pybasever} is stable.
6551b0
6551b0
%endif # with flatpackage
6551b0
6551b0
6551b0
%package -n python38-rpm-macros
6551b0
Summary:    RPM macros for building RPMs with Python 3.8
6551b0
Provides:   python38-modular-devel = %{version}-%{release}
6551b0
Provides:   python-modular-rpm-macros == 3.8
6551b0
Conflicts:  python-modular-rpm-macros > 3.8
6551b0
Requires:   python3-rpm-macros
6551b0
BuildArch:  noarch
6551b0
6551b0
%description -n python38-rpm-macros
6551b0
RPM macros for building RPMs with Python 3.8 from the python38 module.
6551b0
If you want to build an RPM against the python38 module, you need to
6551b0
BuildRequire: python38-rpm-macros.
6551b0
6551b0
6551b0
# ======================================================
6551b0
# The prep phase of the build:
6551b0
# ======================================================
6551b0
6551b0
%prep
6551b0
%setup -q -n Python-%{upstream_version}
6551b0
# Remove all exe files to ensure we are not shipping prebuilt binaries
6551b0
# note that those are only used to create Microsoft Windows installers
6551b0
# and that functionality is broken on Linux anyway
6551b0
find -name '*.exe' -print -delete
6551b0
6551b0
# Remove bundled libraries to ensure that we're using the system copy.
6551b0
rm -r Modules/expat
6551b0
6551b0
#
6551b0
# Apply patches:
6551b0
#
6551b0
%patch1 -p1
6551b0
6551b0
%if "%{_lib}" == "lib64"
6551b0
%patch102 -p1
6551b0
%endif
6551b0
%patch111 -p1
6551b0
6551b0
%if %{with rpmwheels}
6551b0
%patch189 -p1
6551b0
rm Lib/ensurepip/_bundled/*.whl
6551b0
%endif
6551b0
6551b0
%patch251 -p1
6551b0
%patch274 -p1
6551b0
%patch328 -p1
6551b0
%patch329 -p1
6551b0
%patch337 -p1
6551b0
%patch345 -p1
6551b0
%patch346 -p1
6551b0
%patch347 -p1
6551b0
6551b0
6551b0
# Remove files that should be generated by the build
6551b0
# (This is after patching, so that we can use patches directly from upstream)
6551b0
rm configure pyconfig.h.in
6551b0
6551b0
6551b0
# ======================================================
6551b0
# Configuring and building the code:
6551b0
# ======================================================
6551b0
6551b0
%build
6551b0
6551b0
# Regenerate the configure script and pyconfig.h.in
6551b0
autoconf
6551b0
autoheader
6551b0
6551b0
# Remember the current directory (which has sources and the configure script),
6551b0
# so we can refer to it after we "cd" elsewhere.
6551b0
topdir=$(pwd)
6551b0
6551b0
# Get proper option names from bconds
6551b0
%if %{with computed_gotos}
6551b0
%global computed_gotos_flag yes
6551b0
%else
6551b0
%global computed_gotos_flag no
6551b0
%endif
6551b0
6551b0
%if %{with optimizations}
6551b0
%global optimizations_flag "--enable-optimizations"
6551b0
%else
6551b0
%global optimizations_flag "--disable-optimizations"
6551b0
%endif
6551b0
6551b0
# Set common compiler/linker flags
6551b0
# We utilize the %%extension_...flags macros here so users building C/C++
6551b0
# extensions with our python won't get all the compiler/linker flags used
6551b0
# in Fedora RPMs.
6551b0
# Standard library built here will still use the %%build_...flags,
6551b0
# Fedora packages utilizing %%py3_build will use them as well
6551b0
# https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
6551b0
export CFLAGS="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
6551b0
export CFLAGS_NODIST="%{build_cflags} -D_GNU_SOURCE -fPIC -fwrapv -fno-semantic-interposition"
6551b0
export CXXFLAGS="%{extension_cxxflags} -D_GNU_SOURCE -fPIC -fwrapv"
6551b0
export CPPFLAGS="$(pkg-config --cflags-only-I libffi)"
6551b0
export OPT="%{extension_cflags} -D_GNU_SOURCE -fPIC -fwrapv"
6551b0
export LINKCC="gcc"
6551b0
export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
6551b0
export LDFLAGS="%{extension_ldflags} -g $(pkg-config --libs-only-L openssl)"
6551b0
export LDFLAGS_NODIST="%{build_ldflags} -fno-semantic-interposition -g $(pkg-config --libs-only-L openssl)"
6551b0
6551b0
# We can build several different configurations of Python: regular and debug.
6551b0
# Define a common function that does one build:
6551b0
BuildPython() {
6551b0
  ConfName=$1
6551b0
  ExtraConfigArgs=$2
6551b0
  MoreCFlags=$3
6551b0
6551b0
  # Each build is done in its own directory
6551b0
  ConfDir=build/$ConfName
6551b0
  echo STARTING: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
6551b0
  mkdir -p $ConfDir
6551b0
  pushd $ConfDir
6551b0
6551b0
  # Normally, %%configure looks for the "configure" script in the current
6551b0
  # directory.
6551b0
  # Since we changed directories, we need to tell %%configure where to look.
6551b0
  %global _configure $topdir/configure
6551b0
6551b0
%configure \
6551b0
  --enable-ipv6 \
6551b0
  --enable-shared \
6551b0
  --with-computed-gotos=%{computed_gotos_flag} \
6551b0
  --with-dbmliborder=gdbm:ndbm:bdb \
6551b0
  --with-system-expat \
6551b0
  --with-system-ffi \
6551b0
  --enable-loadable-sqlite-extensions \
6551b0
  --with-dtrace \
6551b0
  --with-lto \
6551b0
  --with-ssl-default-suites=openssl \
6551b0
%if %{with valgrind}
6551b0
  --with-valgrind \
6551b0
%endif
6551b0
  $ExtraConfigArgs \
6551b0
  %{nil}
6551b0
6551b0
%global flags_override EXTRA_CFLAGS="$MoreCFlags" CFLAGS_NODIST="$CFLAGS_NODIST $MoreCFlags"
6551b0
6551b0
%if %{without bootstrap}
6551b0
  # Regenerate generated files (needs python3)
6551b0
  %make_build %{flags_override} regen-all PYTHON_FOR_REGEN="python%{pybasever}"
6551b0
%endif
6551b0
6551b0
  # Invoke the build
6551b0
  %make_build %{flags_override}
6551b0
6551b0
  popd
6551b0
  echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
6551b0
}
6551b0
6551b0
# Call the above to build each configuration.
6551b0
6551b0
%if %{with debug_build}
6551b0
BuildPython debug \
6551b0
  "--without-ensurepip --with-pydebug" \
6551b0
  "-Og"
6551b0
%endif # with debug_build
6551b0
6551b0
BuildPython optimized \
6551b0
  "--without-ensurepip %{optimizations_flag}" \
6551b0
  ""
6551b0
6551b0
# ======================================================
6551b0
# Installing the built code:
6551b0
# ======================================================
6551b0
6551b0
%install
6551b0
6551b0
# As in %%build, remember the current directory
6551b0
topdir=$(pwd)
6551b0
6551b0
# We install a collection of hooks for gdb that make it easier to debug
6551b0
# executables linked against libpython3* (such as /usr/bin/python3 itself)
6551b0
#
6551b0
# These hooks are implemented in Python itself (though they are for the version
6551b0
# of python that gdb is linked with)
6551b0
#
6551b0
# gdb-archer looks for them in the same path as the ELF file or its .debug
6551b0
# file, with a -gdb.py suffix.
6551b0
# We put them next to the debug file, because ldconfig would complain if
6551b0
# it found non-library files directly in /usr/lib/
6551b0
# (see https://bugzilla.redhat.com/show_bug.cgi?id=562980)
6551b0
#
6551b0
# We'll put these files in the debuginfo package by installing them to e.g.:
6551b0
#  /usr/lib/debug/usr/lib/libpython3.2.so.1.0.debug-gdb.py
6551b0
# (note that the debug path is /usr/lib/debug for both 32/64 bit)
6551b0
#
6551b0
# See https://fedoraproject.org/wiki/Features/EasierPythonDebugging for more
6551b0
# information
6551b0
6551b0
%if %{with gdb_hooks}
6551b0
DirHoldingGdbPy=%{_usr}/lib/debug/%{_libdir}
6551b0
mkdir -p %{buildroot}$DirHoldingGdbPy
6551b0
%endif # with gdb_hooks
6551b0
6551b0
# Multilib support for pyconfig.h
6551b0
# 32- and 64-bit versions of pyconfig.h are different. For multilib support
6551b0
# (making it possible to install 32- and 64-bit versions simultaneously),
6551b0
# we need to install them under different filenames, and to make the common
6551b0
# "pyconfig.h" include the right file based on architecture.
6551b0
# See https://bugzilla.redhat.com/show_bug.cgi?id=192747
6551b0
# Filanames are defined here:
6551b0
%global _pyconfig32_h pyconfig-32.h
6551b0
%global _pyconfig64_h pyconfig-64.h
6551b0
%global _pyconfig_h pyconfig-%{wordsize}.h
6551b0
6551b0
# Use a common function to do an install for all our configurations:
6551b0
InstallPython() {
6551b0
6551b0
  ConfName=$1
6551b0
  PyInstSoName=$2
6551b0
  MoreCFlags=$3
6551b0
  LDVersion=$4
6551b0
6551b0
  # Switch to the directory with this configuration's built files
6551b0
  ConfDir=build/$ConfName
6551b0
  echo STARTING: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName
6551b0
  mkdir -p $ConfDir
6551b0
  pushd $ConfDir
6551b0
6551b0
  make \
6551b0
    DESTDIR=%{buildroot} \
6551b0
    INSTALL="install -p" \
6551b0
    EXTRA_CFLAGS="$MoreCFlags" \
6551b0
    install
6551b0
6551b0
  popd
6551b0
6551b0
%if %{with gdb_hooks}
6551b0
  # See comment on $DirHoldingGdbPy above
6551b0
  PathOfGdbPy=$DirHoldingGdbPy/$PyInstSoName-%{version}-%{release}.%{_arch}.debug-gdb.py
6551b0
  cp Tools/gdb/libpython.py %{buildroot}$PathOfGdbPy
6551b0
%endif # with gdb_hooks
6551b0
6551b0
  # Rename the -devel script that differs on different arches to arch specific name
6551b0
  mv %{buildroot}%{_bindir}/python${LDVersion}-{,`uname -m`-}config
6551b0
  echo -e '#!/bin/sh\nexec `dirname $0`/python'${LDVersion}'-`uname -m`-config "$@"' > \
6551b0
    %{buildroot}%{_bindir}/python${LDVersion}-config
6551b0
  echo '[ $? -eq 127 ] && echo "Could not find python'${LDVersion}'-`uname -m`-config. Look around to see available arches." >&2' >> \
6551b0
    %{buildroot}%{_bindir}/python${LDVersion}-config
6551b0
    chmod +x %{buildroot}%{_bindir}/python${LDVersion}-config
6551b0
6551b0
  # Make python3-devel multilib-ready
6551b0
  mv %{buildroot}%{_includedir}/python${LDVersion}/pyconfig.h \
6551b0
     %{buildroot}%{_includedir}/python${LDVersion}/%{_pyconfig_h}
6551b0
  cat > %{buildroot}%{_includedir}/python${LDVersion}/pyconfig.h << EOF
6551b0
#include <bits/wordsize.h>
6551b0
6551b0
#if __WORDSIZE == 32
6551b0
#include "%{_pyconfig32_h}"
6551b0
#elif __WORDSIZE == 64
6551b0
#include "%{_pyconfig64_h}"
6551b0
#else
6551b0
#error "Unknown word size"
6551b0
#endif
6551b0
EOF
6551b0
6551b0
  echo FINISHED: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName
6551b0
}
6551b0
6551b0
# Install the "debug" build first; any common files will be overridden with
6551b0
# later builds
6551b0
%if %{with debug_build}
6551b0
InstallPython debug \
6551b0
  %{py_INSTSONAME_debug} \
6551b0
  -O0 \
6551b0
  %{LDVERSION_debug}
6551b0
%endif # with debug_build
6551b0
6551b0
# Now the optimized build:
6551b0
InstallPython optimized \
6551b0
  %{py_INSTSONAME_optimized} \
6551b0
  "" \
6551b0
  %{LDVERSION_optimized}
6551b0
6551b0
# Install directories for additional packages
6551b0
install -d -m 0755 %{buildroot}%{pylibdir}/site-packages/__pycache__
6551b0
%if "%{_lib}" == "lib64"
6551b0
# The 64-bit version needs to create "site-packages" in /usr/lib/ (for
6551b0
# pure-Python modules) as well as in /usr/lib64/ (for packages with extension
6551b0
# modules).
6551b0
# Note that rpmlint will complain about hardcoded library path;
6551b0
# this is intentional.
6551b0
install -d -m 0755 %{buildroot}%{_prefix}/lib/python%{pybasever}/site-packages/__pycache__
6551b0
%endif
6551b0
6551b0
%if %{with main_python}
6551b0
# add idle3 to menu
6551b0
install -D -m 0644 Lib/idlelib/Icons/idle_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/idle3.png
6551b0
install -D -m 0644 Lib/idlelib/Icons/idle_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/idle3.png
6551b0
install -D -m 0644 Lib/idlelib/Icons/idle_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/idle3.png
6551b0
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE10}
6551b0
6551b0
# Install and validate appdata file
6551b0
mkdir -p %{buildroot}%{_metainfodir}
6551b0
cp -a %{SOURCE11} %{buildroot}%{_metainfodir}
6551b0
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/idle3.appdata.xml
6551b0
%endif
6551b0
6551b0
# Make sure distutils looks at the right pyconfig.h file
6551b0
# See https://bugzilla.redhat.com/show_bug.cgi?id=201434
6551b0
# Similar for sysconfig: sysconfig.get_config_h_filename tries to locate
6551b0
# pyconfig.h so it can be parsed, and needs to do this at runtime in site.py
6551b0
# when python starts up (see https://bugzilla.redhat.com/show_bug.cgi?id=653058)
6551b0
#
6551b0
# Split this out so it goes directly to the pyconfig-32.h/pyconfig-64.h
6551b0
# variants:
6551b0
sed -i -e "s/'pyconfig.h'/'%{_pyconfig_h}'/" \
6551b0
  %{buildroot}%{pylibdir}/distutils/sysconfig.py \
6551b0
  %{buildroot}%{pylibdir}/sysconfig.py
6551b0
6551b0
# Install pathfix.py to bindir
6551b0
# See https://github.com/fedora-python/python-rpm-porting/issues/24
6551b0
cp -p Tools/scripts/pathfix.py %{buildroot}%{_bindir}/pathfix%{pybasever}.py
6551b0
ln -s pathfix%{pybasever}.py %{buildroot}%{_bindir}/pathfix.py
6551b0
6551b0
# Install i18n tools to bindir
6551b0
# They are also in python2, so we version them
6551b0
# https://bugzilla.redhat.com/show_bug.cgi?id=1571474
6551b0
for tool in pygettext msgfmt; do
6551b0
  cp -p Tools/i18n/${tool}.py %{buildroot}%{_bindir}/${tool}%{pybasever}.py
6551b0
  ln -s ${tool}%{pybasever}.py %{buildroot}%{_bindir}/${tool}3.py
6551b0
done
6551b0
6551b0
# Switch all shebangs to refer to the specific Python version.
6551b0
# This currently only covers files matching ^[a-zA-Z0-9_]+\.py$,
6551b0
# so handle files named using other naming scheme separately.
6551b0
LD_LIBRARY_PATH=./build/optimized ./build/optimized/python \
6551b0
  Tools/scripts/pathfix.py \
6551b0
  -i "%{_bindir}/python%{pybasever}" -pn \
6551b0
  %{buildroot} \
6551b0
  %{buildroot}%{_bindir}/*%{pybasever}.py \
6551b0
  %{?with_gdb_hooks:%{buildroot}$DirHoldingGdbPy/*.py}
6551b0
6551b0
# Remove tests for python3-tools which was removed in
6551b0
# https://bugzilla.redhat.com/show_bug.cgi?id=1312030
6551b0
rm -rf %{buildroot}%{pylibdir}/test/test_tools
6551b0
6551b0
# Remove shebang lines from .py files that aren't executable, and
6551b0
# remove executability from .py files that don't have a shebang line:
6551b0
find %{buildroot} -name \*.py \
6551b0
  \( \( \! -perm /u+x,g+x,o+x -exec sed -e '/^#!/Q 0' -e 'Q 1' {} \; \
6551b0
  -print -exec sed -i '1d' {} \; \) -o \( \
6551b0
  -perm /u+x,g+x,o+x ! -exec grep -m 1 -q '^#!' {} \; \
6551b0
  -exec chmod a-x {} \; \) \)
6551b0
6551b0
# Get rid of DOS batch files:
6551b0
find %{buildroot} -name \*.bat -exec rm {} \;
6551b0
6551b0
# Get rid of backup files:
6551b0
find %{buildroot}/ -name "*~" -exec rm -f {} \;
6551b0
find . -name "*~" -exec rm -f {} \;
6551b0
6551b0
# Do bytecompilation with the newly installed interpreter.
6551b0
# This is similar to the script in macros.pybytecompile
6551b0
# compile *.pyc
6551b0
find %{buildroot} -type f -a -name "*.py" -print0 | \
6551b0
    LD_LIBRARY_PATH="%{buildroot}%{dynload_dir}/:%{buildroot}%{_libdir}" \
6551b0
    PYTHONPATH="%{buildroot}%{_libdir}/python%{pybasever} %{buildroot}%{_libdir}/python%{pybasever}/site-packages" \
6551b0
    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:]]' || :
6551b0
6551b0
# Since we have pathfix.py in bindir, this is created, but we don't want it
6551b0
rm -rf %{buildroot}%{_bindir}/__pycache__
6551b0
6551b0
# Fixup permissions for shared libraries from non-standard 555 to standard 755:
6551b0
find %{buildroot} -perm 555 -exec chmod 755 {} \;
6551b0
6551b0
# Create "/usr/bin/python3-debug", a symlink to the python3 debug binary, to
6551b0
# avoid the user having to know the precise version and ABI flags.
6551b0
# See e.g. https://bugzilla.redhat.com/show_bug.cgi?id=676748
6551b0
%if %{with debug_build} && %{with main_python}
6551b0
ln -s \
6551b0
  %{_bindir}/python%{LDVERSION_debug} \
6551b0
  %{buildroot}%{_bindir}/python3-debug
6551b0
%endif
6551b0
6551b0
%if %{without main_python}
6551b0
# Remove stuff that would conflict with python3 package
6551b0
rm %{buildroot}%{_bindir}/python3
6551b0
rm %{buildroot}%{_bindir}/pydoc3
6551b0
rm %{buildroot}%{_bindir}/pathfix.py
6551b0
rm %{buildroot}%{_bindir}/pygettext3.py
6551b0
rm %{buildroot}%{_bindir}/msgfmt3.py
6551b0
rm %{buildroot}%{_bindir}/idle3
6551b0
rm %{buildroot}%{_bindir}/python3-*
6551b0
rm %{buildroot}%{_bindir}/2to3
6551b0
rm %{buildroot}%{_libdir}/libpython3.so
6551b0
rm %{buildroot}%{_mandir}/man1/python3.1*
6551b0
rm %{buildroot}%{_libdir}/pkgconfig/python3.pc
6551b0
rm %{buildroot}%{_libdir}/pkgconfig/python3-embed.pc
6551b0
%else # main_python
6551b0
# Link the unversioned stuff
6551b0
# https://fedoraproject.org/wiki/Changes/Python_means_Python3
6551b0
ln -s ./python3 %{buildroot}%{_bindir}/python
6551b0
ln -s ./pydoc3 %{buildroot}%{_bindir}/pydoc
6551b0
ln -s ./pygettext3.py %{buildroot}%{_bindir}/pygettext.py
6551b0
ln -s ./msgfmt3.py %{buildroot}%{_bindir}/msgfmt.py
6551b0
ln -s ./idle3 %{buildroot}%{_bindir}/idle
6551b0
ln -s ./python3-config %{buildroot}%{_bindir}/python-config
6551b0
ln -s ./python3.1 %{buildroot}%{_mandir}/man1/python.1
6551b0
ln -s ./python3.pc %{buildroot}%{_libdir}/pkgconfig/python.pc
6551b0
%if %{with debug_build}
6551b0
ln -s ./python3-debug %{buildroot}%{_bindir}/python-debug
6551b0
%endif
6551b0
%endif # main_python
6551b0
6551b0
6551b0
# Python RPM macros
6551b0
mkdir -p %{buildroot}/%{rpmmacrodir}/
6551b0
install -m 644 %{SOURCE3} \
6551b0
    %{buildroot}/%{rpmmacrodir}/
6551b0
6551b0
# All ghost files controlled by alternatives need to exist for the files
6551b0
# section check to succeed
6551b0
# - Don't list /usr/bin/python as a ghost file so `yum install /usr/bin/python`
6551b0
#   doesn't install this package
6551b0
touch %{buildroot}%{_bindir}/unversioned-python
6551b0
touch %{buildroot}%{_mandir}/man1/python.1.gz
6551b0
touch %{buildroot}%{_bindir}/python3
6551b0
touch %{buildroot}%{_mandir}/man1/python3.1.gz
6551b0
touch %{buildroot}%{_bindir}/pydoc3
6551b0
touch %{buildroot}%{_bindir}/pydoc-3
6551b0
touch %{buildroot}%{_bindir}/idle3
6551b0
touch %{buildroot}%{_bindir}/python3-config
6551b0
touch %{buildroot}%{_bindir}/python3-debug
6551b0
touch %{buildroot}%{_bindir}/python3-debug-config
6551b0
6551b0
6551b0
# ======================================================
6551b0
# Checks for packaging issues
6551b0
# ======================================================
6551b0
6551b0
%check
6551b0
6551b0
# first of all, check timestamps of bytecode files
6551b0
find %{buildroot} -type f -a -name "*.py" -print0 | \
6551b0
    LD_LIBRARY_PATH="%{buildroot}%{dynload_dir}/:%{buildroot}%{_libdir}" \
6551b0
    PYTHONPATH="%{buildroot}%{_libdir}/python%{pybasever} %{buildroot}%{_libdir}/python%{pybasever}/site-packages" \
6551b0
    xargs -0 %{buildroot}%{_bindir}/python%{pybasever} %{SOURCE8}
6551b0
6551b0
# Ensure that the curses module was linked against libncursesw.so, rather than
6551b0
# libncurses.so
6551b0
# See https://bugzilla.redhat.com/show_bug.cgi?id=539917
6551b0
ldd %{buildroot}/%{dynload_dir}/_curses*.so \
6551b0
    | grep curses \
6551b0
    | grep libncurses.so && (echo "_curses.so linked against libncurses.so" ; exit 1)
6551b0
6551b0
# Ensure that the debug modules are linked against the debug libpython, and
6551b0
# likewise for the optimized modules and libpython:
6551b0
for Module in %{buildroot}/%{dynload_dir}/*.so ; do
6551b0
    case $Module in
6551b0
    *.%{SOABI_debug})
6551b0
        ldd $Module | grep %{py_INSTSONAME_optimized} &&
6551b0
            (echo Debug module $Module linked against optimized %{py_INSTSONAME_optimized} ; exit 1)
6551b0
6551b0
        ;;
6551b0
    *.%{SOABI_optimized})
6551b0
        ldd $Module | grep %{py_INSTSONAME_debug} &&
6551b0
            (echo Optimized module $Module linked against debug %{py_INSTSONAME_debug} ; exit 1)
6551b0
        ;;
6551b0
    esac
6551b0
done
6551b0
6551b0
6551b0
# ======================================================
6551b0
# Running the upstream test suite
6551b0
# ======================================================
6551b0
6551b0
topdir=$(pwd)
6551b0
CheckPython() {
6551b0
  ConfName=$1
6551b0
  ConfDir=$(pwd)/build/$ConfName
6551b0
6551b0
  echo STARTING: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
6551b0
6551b0
  # Note that we're running the tests using the version of the code in the
6551b0
  # builddir, not in the buildroot.
6551b0
6551b0
  # Show some info, helpful for debugging test failures
6551b0
  LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.pythoninfo
6551b0
6551b0
  # Run the upstream test suite
6551b0
  # test_gdb skipped on s390x:
6551b0
  #   https://bugzilla.redhat.com/show_bug.cgi?id=1678277
6551b0
  # test_gdb skipped everywhere:
6551b0
  #   https://bugzilla.redhat.com/show_bug.cgi?id=1734327
6551b0
  # test_distutils
6551b0
  #   distutils.tests.test_bdist_rpm tests fail when bootstraping the Python
6551b0
  #   package: rpmbuild requires /usr/bin/pythonX.Y to be installed
6551b0
  LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
6551b0
    -wW --slowest -j0 \
6551b0
    %if %{with bootstrap}
6551b0
    -x test_distutils \
6551b0
    %endif
6551b0
    -x test_gdb \
6551b0
    %ifarch %{mips64}
6551b0
    -x test_ctypes \
6551b0
    %endif
6551b0
6551b0
  echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
6551b0
6551b0
}
6551b0
6551b0
%if %{with tests}
6551b0
6551b0
# Check each of the configurations:
6551b0
%if %{with debug_build}
6551b0
CheckPython debug
6551b0
%endif # with debug_build
6551b0
CheckPython optimized
6551b0
6551b0
%endif # with tests
6551b0
6551b0
6551b0
%post
6551b0
# Alternative for /usr/bin/python -> /usr/bin/python3 + man page
6551b0
alternatives --install %{_bindir}/unversioned-python \
6551b0
                       python \
6551b0
                       %{_bindir}/python3 \
6551b0
                       300 \
6551b0
             --slave   %{_bindir}/python \
6551b0
                       unversioned-python \
6551b0
                       %{_bindir}/python3 \
6551b0
             --slave   %{_mandir}/man1/python.1.gz \
6551b0
                       unversioned-python-man \
6551b0
                       %{_mandir}/man1/python3.1.gz
6551b0
6551b0
# Alternative for /usr/bin/python -> /usr/bin/python3.8 + man page
6551b0
alternatives --install %{_bindir}/unversioned-python \
6551b0
                       python \
6551b0
                       %{_bindir}/python3.8 \
6551b0
                       208 \
6551b0
             --slave   %{_bindir}/python \
6551b0
                       unversioned-python \
6551b0
                       %{_bindir}/python3.8 \
6551b0
             --slave   %{_mandir}/man1/python.1.gz \
6551b0
                       unversioned-python-man \
6551b0
                       %{_mandir}/man1/python3.8.1.gz
6551b0
6551b0
# Alternative for /usr/bin/python3 -> /usr/bin/python3.8 + related files
6551b0
# Create only if it doesn't exist already
6551b0
EXISTS=`alternatives --display python3 | \
6551b0
        grep -c "^/usr/bin/python3.8 - priority [0-9]*"`
6551b0
6551b0
if [ $EXISTS -eq 0 ]; then
6551b0
    alternatives --install %{_bindir}/python3 \
6551b0
                           python3 \
6551b0
                           %{_bindir}/python3.8 \
6551b0
                           3800 \
6551b0
                 --slave   %{_mandir}/man1/python3.1.gz \
6551b0
                           python3-man \
6551b0
                           %{_mandir}/man1/python3.8.1.gz \
6551b0
                 --slave   %{_bindir}/pydoc3 \
6551b0
                           pydoc3 \
6551b0
                           %{_bindir}/pydoc3.8 \
6551b0
                 --slave   %{_bindir}/pydoc-3 \
6551b0
                           pydoc-3 \
6551b0
                           %{_bindir}/pydoc3.8
6551b0
fi
6551b0
6551b0
%postun
6551b0
# Do this only during uninstall process (not during update)
6551b0
if [ $1 -eq 0 ]; then
6551b0
    alternatives --remove python \
6551b0
                        %{_bindir}/python3.8
6551b0
6551b0
    alternatives --remove python3 \
6551b0
                        %{_bindir}/python3.8
6551b0
6551b0
    # Remove link python → python3 if no other python3.* exists
6551b0
    if ! alternatives --display python3 > /dev/null; then
6551b0
        alternatives --remove python \
6551b0
                            %{_bindir}/python3
6551b0
    fi
6551b0
fi
6551b0
6551b0
6551b0
%post devel
6551b0
alternatives --add-slave python3 %{_bindir}/python3.8 \
6551b0
    %{_bindir}/python3-config \
6551b0
    python3-config \
6551b0
    %{_bindir}/python3.8-config
6551b0
6551b0
%postun devel
6551b0
# Do this only during uninstall process (not during update)
6551b0
if [ $1 -eq 0 ]; then
6551b0
    alternatives --remove-slave python3 %{_bindir}/python3.8 \
6551b0
        python3-config
6551b0
fi
6551b0
6551b0
6551b0
%post debug
6551b0
alternatives --add-slave python3 %{_bindir}/python3.8 \
6551b0
    %{_bindir}/python3-debug \
6551b0
    python3-debug \
6551b0
    %{_bindir}/python3.8d
6551b0
alternatives --add-slave python3 %{_bindir}/python3.8 \
6551b0
    %{_bindir}/python3-debug-config \
6551b0
    python3-debug-config \
6551b0
    %{_bindir}/python3.8d-config
6551b0
6551b0
%postun debug
6551b0
# Do this only during uninstall process (not during update)
6551b0
if [ $1 -eq 0 ]; then
6551b0
    alternatives --remove-slave python3 %{_bindir}/python3.8 \
6551b0
        python3-debug
6551b0
    alternatives --remove-slave python3 %{_bindir}/python3.8 \
6551b0
        python3-debug-config
6551b0
fi
6551b0
6551b0
6551b0
%post idle
6551b0
alternatives --add-slave python3 %{_bindir}/python3.8 \
6551b0
    %{_bindir}/idle3 \
6551b0
    idle3 \
6551b0
    %{_bindir}/idle3.8
6551b0
6551b0
%postun idle
6551b0
# Do this only during uninstall process (not during update)
6551b0
if [ $1 -eq 0 ]; then
6551b0
    alternatives --remove-slave python3 %{_bindir}/python3.8 \
6551b0
       idle3
6551b0
fi
6551b0
6551b0
6551b0
%files -n python38-rpm-macros
6551b0
%license LICENSE
6551b0
%doc README.rst
6551b0
%{rpmmacrodir}/macros.python38
6551b0
6551b0
%files
6551b0
%doc README.rst
6551b0
6551b0
# Alternatives
6551b0
%ghost %{_bindir}/unversioned-python
6551b0
%ghost %{_mandir}/man1/python.1.gz
6551b0
%ghost %{_bindir}/python3
6551b0
%ghost %{_mandir}/man1/python3.1.gz
6551b0
%ghost %{_bindir}/pydoc3
6551b0
%ghost %{_bindir}/pydoc-3
6551b0
6551b0
6551b0
%if %{with main_python}
6551b0
%{_bindir}/pydoc*
6551b0
%{_bindir}/python3
6551b0
%else
6551b0
%{_bindir}/pydoc%{pybasever}
6551b0
%endif
6551b0
6551b0
%{_bindir}/python%{pybasever}
6551b0
%{_bindir}/python%{LDVERSION_optimized}
6551b0
%{_mandir}/*/*3*
6551b0
6551b0
6551b0
%if %{with main_python}
6551b0
%if %{without flatpackage}
6551b0
%files -n python-unversioned-command
6551b0
%endif
6551b0
%{_bindir}/python
6551b0
%{_mandir}/*/python.1*
6551b0
%endif
6551b0
6551b0
%if %{without flatpackage}
6551b0
%files libs
6551b0
%doc README.rst
6551b0
%endif
6551b0
6551b0
%dir %{pylibdir}
6551b0
%dir %{dynload_dir}
6551b0
6551b0
%license %{pylibdir}/LICENSE.txt
6551b0
6551b0
%{pylibdir}/lib2to3
6551b0
%if %{without flatpackage}
6551b0
%exclude %{pylibdir}/lib2to3/tests
6551b0
%endif
6551b0
6551b0
%dir %{pylibdir}/unittest/
6551b0
%dir %{pylibdir}/unittest/__pycache__/
6551b0
%{pylibdir}/unittest/*.py
6551b0
%{pylibdir}/unittest/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%dir %{pylibdir}/asyncio/
6551b0
%dir %{pylibdir}/asyncio/__pycache__/
6551b0
%{pylibdir}/asyncio/*.py
6551b0
%{pylibdir}/asyncio/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%dir %{pylibdir}/venv/
6551b0
%dir %{pylibdir}/venv/__pycache__/
6551b0
%{pylibdir}/venv/*.py
6551b0
%{pylibdir}/venv/__pycache__/*%{bytecode_suffixes}
6551b0
%{pylibdir}/venv/scripts
6551b0
6551b0
%{pylibdir}/wsgiref
6551b0
%{pylibdir}/xmlrpc
6551b0
6551b0
%dir %{pylibdir}/ensurepip/
6551b0
%dir %{pylibdir}/ensurepip/__pycache__/
6551b0
%{pylibdir}/ensurepip/*.py
6551b0
%{pylibdir}/ensurepip/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%if %{with rpmwheels}
6551b0
%exclude %{pylibdir}/ensurepip/_bundled
6551b0
%else
6551b0
%dir %{pylibdir}/ensurepip/_bundled
6551b0
%{pylibdir}/ensurepip/_bundled/*.whl
6551b0
%endif
6551b0
6551b0
%dir %{pylibdir}/concurrent/
6551b0
%dir %{pylibdir}/concurrent/__pycache__/
6551b0
%{pylibdir}/concurrent/*.py
6551b0
%{pylibdir}/concurrent/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%dir %{pylibdir}/concurrent/futures/
6551b0
%dir %{pylibdir}/concurrent/futures/__pycache__/
6551b0
%{pylibdir}/concurrent/futures/*.py
6551b0
%{pylibdir}/concurrent/futures/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%{pylibdir}/pydoc_data
6551b0
6551b0
%{dynload_dir}/_blake2.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_sha3.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_hmacopenssl.%{SOABI_optimized}.so
6551b0
6551b0
%{dynload_dir}/_asyncio.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_bisect.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_bz2.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_codecs_cn.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_codecs_hk.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_codecs_iso2022.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_codecs_jp.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_codecs_kr.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_codecs_tw.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_contextvars.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_crypt.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_csv.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_ctypes.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_curses.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_curses_panel.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_dbm.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_decimal.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_elementtree.%{SOABI_optimized}.so
6551b0
%if %{with gdbm}
6551b0
%{dynload_dir}/_gdbm.%{SOABI_optimized}.so
6551b0
%endif
6551b0
%{dynload_dir}/_hashlib.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_heapq.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_json.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_lsprof.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_lzma.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_multibytecodec.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_multiprocessing.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_opcode.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_pickle.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_posixsubprocess.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_queue.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_random.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_socket.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_sqlite3.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_ssl.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_statistics.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_struct.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/array.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/audioop.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/binascii.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/cmath.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_datetime.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/fcntl.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/grp.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/math.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/mmap.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/nis.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/ossaudiodev.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/parser.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_posixshmem.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/pyexpat.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/readline.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/resource.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/select.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/spwd.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/syslog.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/termios.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/unicodedata.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_uuid.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/xxlimited.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_xxsubinterpreters.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/zlib.%{SOABI_optimized}.so
6551b0
6551b0
%dir %{pylibdir}/site-packages/
6551b0
%dir %{pylibdir}/site-packages/__pycache__/
6551b0
%{pylibdir}/site-packages/README.txt
6551b0
%{pylibdir}/*.py
6551b0
%dir %{pylibdir}/__pycache__/
6551b0
%{pylibdir}/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%dir %{pylibdir}/collections/
6551b0
%dir %{pylibdir}/collections/__pycache__/
6551b0
%{pylibdir}/collections/*.py
6551b0
%{pylibdir}/collections/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%dir %{pylibdir}/ctypes/
6551b0
%dir %{pylibdir}/ctypes/__pycache__/
6551b0
%{pylibdir}/ctypes/*.py
6551b0
%{pylibdir}/ctypes/__pycache__/*%{bytecode_suffixes}
6551b0
%{pylibdir}/ctypes/macholib
6551b0
6551b0
%{pylibdir}/curses
6551b0
6551b0
%dir %{pylibdir}/dbm/
6551b0
%dir %{pylibdir}/dbm/__pycache__/
6551b0
%{pylibdir}/dbm/*.py
6551b0
%{pylibdir}/dbm/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%dir %{pylibdir}/distutils/
6551b0
%dir %{pylibdir}/distutils/__pycache__/
6551b0
%{pylibdir}/distutils/*.py
6551b0
%{pylibdir}/distutils/__pycache__/*%{bytecode_suffixes}
6551b0
%{pylibdir}/distutils/README
6551b0
%{pylibdir}/distutils/command
6551b0
6551b0
%dir %{pylibdir}/email/
6551b0
%dir %{pylibdir}/email/__pycache__/
6551b0
%{pylibdir}/email/*.py
6551b0
%{pylibdir}/email/__pycache__/*%{bytecode_suffixes}
6551b0
%{pylibdir}/email/mime
6551b0
%doc %{pylibdir}/email/architecture.rst
6551b0
6551b0
%{pylibdir}/encodings
6551b0
6551b0
%{pylibdir}/html
6551b0
%{pylibdir}/http
6551b0
6551b0
%dir %{pylibdir}/importlib/
6551b0
%dir %{pylibdir}/importlib/__pycache__/
6551b0
%{pylibdir}/importlib/*.py
6551b0
%{pylibdir}/importlib/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%dir %{pylibdir}/json/
6551b0
%dir %{pylibdir}/json/__pycache__/
6551b0
%{pylibdir}/json/*.py
6551b0
%{pylibdir}/json/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%{pylibdir}/logging
6551b0
%{pylibdir}/multiprocessing
6551b0
6551b0
%dir %{pylibdir}/sqlite3/
6551b0
%dir %{pylibdir}/sqlite3/__pycache__/
6551b0
%{pylibdir}/sqlite3/*.py
6551b0
%{pylibdir}/sqlite3/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
%if %{without flatpackage}
6551b0
%exclude %{pylibdir}/turtle.py
6551b0
%exclude %{pylibdir}/__pycache__/turtle*%{bytecode_suffixes}
6551b0
%endif
6551b0
6551b0
%{pylibdir}/urllib
6551b0
%{pylibdir}/xml
6551b0
6551b0
%if "%{_lib}" == "lib64"
6551b0
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}
6551b0
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages
6551b0
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages/__pycache__/
6551b0
%endif
6551b0
6551b0
# "Makefile" and the config-32/64.h file are needed by
6551b0
# distutils/sysconfig.py:_init_posix(), so we include them in the core
6551b0
# package, along with their parent directories (bug 531901):
6551b0
%dir %{pylibdir}/config-%{LDVERSION_optimized}-%{_arch}-linux%{_gnu}/
6551b0
%{pylibdir}/config-%{LDVERSION_optimized}-%{_arch}-linux%{_gnu}/Makefile
6551b0
%dir %{_includedir}/python%{LDVERSION_optimized}/
6551b0
%{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
6551b0
6551b0
%{_libdir}/%{py_INSTSONAME_optimized}
6551b0
%if %{with main_python}
6551b0
%{_libdir}/libpython3.so
6551b0
%endif
6551b0
6551b0
6551b0
%if %{without flatpackage}
6551b0
%files devel
6551b0
%endif
6551b0
6551b0
%if %{with main_python}
6551b0
%{_bindir}/2to3
6551b0
%endif
6551b0
6551b0
%{pylibdir}/config-%{LDVERSION_optimized}-%{_arch}-linux%{_gnu}/*
6551b0
%if %{without flatpackage}
6551b0
%exclude %{pylibdir}/config-%{LDVERSION_optimized}-%{_arch}-linux%{_gnu}/Makefile
6551b0
%exclude %{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
6551b0
%endif
6551b0
%{_includedir}/python%{LDVERSION_optimized}/*.h
6551b0
%{_includedir}/python%{LDVERSION_optimized}/internal/
6551b0
%{_includedir}/python%{LDVERSION_optimized}/cpython/
6551b0
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
6551b0
6551b0
%if %{with main_python}
6551b0
%{_bindir}/python3-config
6551b0
%{_bindir}/python-config
6551b0
%{_libdir}/pkgconfig/python3.pc
6551b0
%{_libdir}/pkgconfig/python.pc
6551b0
%{_libdir}/pkgconfig/python3-embed.pc
6551b0
%{_bindir}/pathfix.py
6551b0
%{_bindir}/pygettext3.py
6551b0
%{_bindir}/pygettext.py
6551b0
%{_bindir}/msgfmt3.py
6551b0
%{_bindir}/msgfmt.py
6551b0
%endif
6551b0
6551b0
%{_bindir}/2to3-%{pybasever}
6551b0
%{_bindir}/pathfix%{pybasever}.py
6551b0
%{_bindir}/pygettext%{pybasever}.py
6551b0
%{_bindir}/msgfmt%{pybasever}.py
6551b0
6551b0
%{_bindir}/python%{pybasever}-config
6551b0
%{_bindir}/python%{LDVERSION_optimized}-config
6551b0
%{_bindir}/python%{LDVERSION_optimized}-*-config
6551b0
# Alternatives
6551b0
%ghost %{_bindir}/python3-config
6551b0
6551b0
%{_libdir}/libpython%{LDVERSION_optimized}.so
6551b0
%{_libdir}/pkgconfig/python-%{LDVERSION_optimized}.pc
6551b0
%{_libdir}/pkgconfig/python-%{LDVERSION_optimized}-embed.pc
6551b0
%{_libdir}/pkgconfig/python-%{pybasever}.pc
6551b0
%{_libdir}/pkgconfig/python-%{pybasever}-embed.pc
6551b0
6551b0
6551b0
%if %{without flatpackage}
6551b0
%files idle
6551b0
%endif
6551b0
6551b0
%if %{with main_python}
6551b0
%{_bindir}/idle*
6551b0
%else
6551b0
%{_bindir}/idle%{pybasever}
6551b0
# Alternatives
6551b0
%ghost %{_bindir}/idle3
6551b0
%endif
6551b0
6551b0
%{pylibdir}/idlelib
6551b0
6551b0
%if %{with main_python}
6551b0
%{_metainfodir}/idle3.appdata.xml
6551b0
%{_datadir}/applications/idle3.desktop
6551b0
%{_datadir}/icons/hicolor/*/apps/idle3.*
6551b0
%endif
6551b0
6551b0
%if %{without flatpackage}
6551b0
%files tkinter
6551b0
%endif
6551b0
6551b0
%{pylibdir}/tkinter
6551b0
%if %{without flatpackage}
6551b0
%exclude %{pylibdir}/tkinter/test
6551b0
%endif
6551b0
%{dynload_dir}/_tkinter.%{SOABI_optimized}.so
6551b0
%{pylibdir}/turtle.py
6551b0
%{pylibdir}/__pycache__/turtle*%{bytecode_suffixes}
6551b0
%dir %{pylibdir}/turtledemo
6551b0
%{pylibdir}/turtledemo/*.py
6551b0
%{pylibdir}/turtledemo/*.cfg
6551b0
%dir %{pylibdir}/turtledemo/__pycache__/
6551b0
%{pylibdir}/turtledemo/__pycache__/*%{bytecode_suffixes}
6551b0
6551b0
6551b0
%if %{without flatpackage}
6551b0
%files test
6551b0
%endif
6551b0
6551b0
%{pylibdir}/ctypes/test
6551b0
%{pylibdir}/distutils/tests
6551b0
%{pylibdir}/sqlite3/test
6551b0
%{pylibdir}/test
6551b0
%{dynload_dir}/_ctypes_test.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_testbuffer.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_testcapi.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_testimportmultiple.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_testinternalcapi.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_testmultiphase.%{SOABI_optimized}.so
6551b0
%{dynload_dir}/_xxtestfuzz.%{SOABI_optimized}.so
6551b0
%{pylibdir}/lib2to3/tests
6551b0
%{pylibdir}/tkinter/test
6551b0
%{pylibdir}/unittest/test
6551b0
6551b0
# We don't bother splitting the debug build out into further subpackages:
6551b0
# if you need it, you're probably a developer.
6551b0
6551b0
# Hence the manifest is the combination of analogous files in the manifests of
6551b0
# all of the other subpackages
6551b0
6551b0
%if %{with debug_build}
6551b0
%if %{without flatpackage}
6551b0
%files debug
6551b0
%endif
6551b0
6551b0
%if %{with main_python}
6551b0
%{_bindir}/python3-debug
6551b0
%{_bindir}/python-debug
6551b0
%endif
6551b0
6551b0
# Analog of the core subpackage's files:
6551b0
%{_bindir}/python%{LDVERSION_debug}
6551b0
# Alternatives
6551b0
%ghost %{_bindir}/python3-debug
6551b0
6551b0
# Analog of the -libs subpackage's files:
6551b0
# ...with debug builds of the built-in "extension" modules:
6551b0
6551b0
%{dynload_dir}/_blake2.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_sha3.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_hmacopenssl.%{SOABI_debug}.so
6551b0
6551b0
%{dynload_dir}/_asyncio.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_bisect.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_bz2.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_codecs_cn.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_codecs_hk.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_codecs_iso2022.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_codecs_jp.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_codecs_kr.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_codecs_tw.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_contextvars.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_crypt.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_csv.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_ctypes.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_curses.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_curses_panel.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_dbm.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_decimal.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_elementtree.%{SOABI_debug}.so
6551b0
%if %{with gdbm}
6551b0
%{dynload_dir}/_gdbm.%{SOABI_debug}.so
6551b0
%endif
6551b0
%{dynload_dir}/_hashlib.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_heapq.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_json.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_lsprof.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_lzma.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_multibytecodec.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_multiprocessing.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_opcode.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_pickle.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_posixsubprocess.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_queue.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_random.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_socket.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_sqlite3.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_ssl.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_statistics.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_struct.%{SOABI_debug}.so
6551b0
%{dynload_dir}/array.%{SOABI_debug}.so
6551b0
%{dynload_dir}/audioop.%{SOABI_debug}.so
6551b0
%{dynload_dir}/binascii.%{SOABI_debug}.so
6551b0
%{dynload_dir}/cmath.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_datetime.%{SOABI_debug}.so
6551b0
%{dynload_dir}/fcntl.%{SOABI_debug}.so
6551b0
%{dynload_dir}/grp.%{SOABI_debug}.so
6551b0
%{dynload_dir}/math.%{SOABI_debug}.so
6551b0
%{dynload_dir}/mmap.%{SOABI_debug}.so
6551b0
%{dynload_dir}/nis.%{SOABI_debug}.so
6551b0
%{dynload_dir}/ossaudiodev.%{SOABI_debug}.so
6551b0
%{dynload_dir}/parser.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_posixshmem.%{SOABI_debug}.so
6551b0
%{dynload_dir}/pyexpat.%{SOABI_debug}.so
6551b0
%{dynload_dir}/readline.%{SOABI_debug}.so
6551b0
%{dynload_dir}/resource.%{SOABI_debug}.so
6551b0
%{dynload_dir}/select.%{SOABI_debug}.so
6551b0
%{dynload_dir}/spwd.%{SOABI_debug}.so
6551b0
%{dynload_dir}/syslog.%{SOABI_debug}.so
6551b0
%{dynload_dir}/termios.%{SOABI_debug}.so
6551b0
%{dynload_dir}/unicodedata.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_uuid.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_xxsubinterpreters.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_xxtestfuzz.%{SOABI_debug}.so
6551b0
%{dynload_dir}/zlib.%{SOABI_debug}.so
6551b0
6551b0
# No need to split things out the "Makefile" and the config-32/64.h file as we
6551b0
# do for the regular build above (bug 531901), since they're all in one package
6551b0
# now; they're listed below, under "-devel":
6551b0
6551b0
%{_libdir}/%{py_INSTSONAME_debug}
6551b0
6551b0
# Analog of the -devel subpackage's files:
6551b0
%{pylibdir}/config-%{LDVERSION_debug}-%{_arch}-linux%{_gnu}
6551b0
%{_includedir}/python%{LDVERSION_debug}
6551b0
%{_bindir}/python%{LDVERSION_debug}-config
6551b0
%{_bindir}/python%{LDVERSION_debug}-*-config
6551b0
%ghost %{_bindir}/python3-debug-config
6551b0
6551b0
%{_libdir}/libpython%{LDVERSION_debug}.so
6551b0
%{_libdir}/libpython%{LDVERSION_debug}.so.1.0
6551b0
%{_libdir}/pkgconfig/python-%{LDVERSION_debug}.pc
6551b0
%{_libdir}/pkgconfig/python-%{LDVERSION_debug}-embed.pc
6551b0
6551b0
# Analog of the -tools subpackage's files:
6551b0
#  None for now; we could build precanned versions that have the appropriate
6551b0
# shebang if needed
6551b0
6551b0
# Analog  of the tkinter subpackage's files:
6551b0
%{dynload_dir}/_tkinter.%{SOABI_debug}.so
6551b0
6551b0
# Analog  of the -test subpackage's files:
6551b0
%{dynload_dir}/_ctypes_test.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_testbuffer.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_testcapi.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_testimportmultiple.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_testinternalcapi.%{SOABI_debug}.so
6551b0
%{dynload_dir}/_testmultiphase.%{SOABI_debug}.so
6551b0
6551b0
%endif # with debug_build
6551b0
6551b0
# We put the debug-gdb.py file inside /usr/lib/debug to avoid noise from ldconfig
6551b0
# See https://bugzilla.redhat.com/show_bug.cgi?id=562980
6551b0
#
6551b0
# The /usr/lib/rpm/redhat/macros defines %%__debug_package to use
6551b0
# debugfiles.list, and it appears that everything below /usr/lib/debug and
6551b0
# (/usr/src/debug) gets added to this file (via LISTFILES) in
6551b0
# /usr/lib/rpm/find-debuginfo.sh
6551b0
#
6551b0
# Hence by installing it below /usr/lib/debug we ensure it is added to the
6551b0
# -debuginfo subpackage
6551b0
# (if it doesn't, then the rpmbuild ought to fail since the debug-gdb.py
6551b0
# payload file would be unpackaged)
6551b0
6551b0
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1476593
6551b0
%undefine _debuginfo_subpackages
6551b0
6551b0
# ======================================================
6551b0
# Finally, the changelog:
6551b0
# ======================================================
6551b0
6551b0
%changelog
6551b0
* Thu May 07 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.8.0-10
6551b0
- Fix test_hashlib and test_hmac under FIPS mode
6551b0
Resolves: rhbz#1812477
6551b0
6551b0
* Thu Apr 23 2020 Lumír Balhar <lbalhar@redhat.com> - 3.8.0-9
6551b0
- Fix ensurepip to run pip via runpy to fix compatibility with pip 19.3.1
6551b0
Resolves: rhbz#1827623
6551b0
6551b0
* Wed Apr 22 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.8.0-8
6551b0
- Skip test_startup_imports from test_site if we have a .pth file in sys.path
6551b0
Resolves: rhbz#1815643
6551b0
6551b0
* Fri Apr 03 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.8.0-7
6551b0
- Security fix for CVE-2020-8492
6551b0
Resolves: rhbz#1810622
6551b0
6551b0
* Mon Feb 24 2020 Tomas Orsava <torsava@redhat.com> - 3.8.0-6
6551b0
- Implement alternatives for /usr/bin/python, python3 and related executables
6551b0
- Resolves: rhbz#1807041
6551b0
6551b0
* Fri Jan 10 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.8.0-5
6551b0
- Add support for FIPS mode
6551b0
- Resolves: rhbz#1793589
6551b0
6551b0
* Thu Dec 12 2019 Tomas Orsava <torsava@redhat.com> - 3.8.0-4
6551b0
- Exclude unsupported i686 arch
6551b0
6551b0
* Mon Nov 25 2019 Tomas Orsava <torsava@redhat.com> - 3.8.0-3
6551b0
- Build Python with -fno-semantic-interposition for better performance
6551b0
  https://fedoraproject.org/wiki/Changes/PythonNoSemanticInterpositionSpeedup
6551b0
6551b0
* Wed Nov 13 2019 Tomas Orsava <torsava@redhat.com> - 3.8.0-2
6551b0
- Converting to RHEL8
6551b0
- Changes from Fedora
6551b0
  - Removed gpgverifycation as the tool used in Fedora is not present in RHEL8
6551b0
  - Added versioned pathfix.py and 2to3 scripts into bindir
6551b0
  - Depend on python3-rpm-generators always, because they run on Python 3.6
6551b0
- Added python38-rpm-macros subpackage
6551b0
  - Fixed py3_install_wheel macro because python38-pip does not have
6551b0
    the --strip-prefix patch
6551b0
6551b0
* Mon Oct 14 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0-1
6551b0
- Update to Python 3.8.0 final
6551b0
6551b0
* Tue Oct 01 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~rc1-1
6551b0
- Rebased to Python 3.8.0rc1
6551b0
6551b0
* Fri Aug 30 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~b4-1
6551b0
- Rebased to Python 3.8.0b4
6551b0
6551b0
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~b3-4
6551b0
- Enable Profile-guided optimization for all arches, not just x86 (#1741015)
6551b0
6551b0
* Wed Aug 14 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~b3-3
6551b0
- Rebuilt for Python 3.8
6551b0
6551b0
* Wed Aug 14 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~b3-2
6551b0
- Bootstrap for Python 3.8
6551b0
6551b0
* Tue Aug 13 2019 Miro Hrončok <mhroncok@redhat.com> - 3.8.0~b3-1
6551b0
- Update to 3.8.0b3
6551b0
6551b0
* Sun Aug 11 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-5
6551b0
- Conditionalize python3-devel runtime dependencies on RPM packages and setuptools
6551b0
6551b0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.4-4
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6551b0
6551b0
* Mon Jul 15 2019 Lumír Balhar <lbalhar@redhat.com> - 3.7.4-3
6551b0
- Move test.support module to python3-test subpackage
6551b0
  https://fedoraproject.org/wiki/Changes/Move_test.support_module_to_python3-test_subpackage
6551b0
- Restore pyc to TIMESTAMP invalidation mode as default in rpmbubild
6551b0
6551b0
* Fri Jul 12 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-2
6551b0
- https://fedoraproject.org/wiki/Changes/Python_means_Python3
6551b0
- The python-unversioned-command package is no longer Python 2, but 3
6551b0
- The python, pydoc, python-config, python-debug, idle, pygettext.py and
6551b0
  msgfmt.py commands are now in python3
6551b0
6551b0
* Tue Jul 09 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4-1
6551b0
- Update to 3.7.4
6551b0
6551b0
* Tue Jul 02 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4~rc2-1
6551b0
- Update to 3.7.4rc2
6551b0
6551b0
* Tue Jun 25 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.4~rc1-1
6551b0
- Update to 3.7.4rc1
6551b0
6551b0
* Tue May 07 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.7.3-3
6551b0
- Fix handling of pre-normalization characters in urlsplit
6551b0
- Disallow control chars in http URLs (#1695572, #1700684, #1688169, #1706851)
6551b0
6551b0
* Wed Apr 17 2019 Patrik Kopkan <pkopkan@redhat.com> - 3.7.3-2
6551b0
- Makes man python3.7m show python3.7 man pages (#1612241)
6551b0
6551b0
* Wed Mar 27 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.3-1
6551b0
- Update to 3.7.3
6551b0
6551b0
* Thu Mar 21 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.3~rc1-1
6551b0
- Update to 3.7.3rc1
6551b0
6551b0
* Thu Mar 14 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.2-8
6551b0
- Security fix for CVE-2019-9636 (#1688543, #1688546)
6551b0
6551b0
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.7.2-7
6551b0
- Rebuild for readline 8.0
6551b0
6551b0
* Tue Feb 12 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.2-6
6551b0
- Reduced default build flags used to build extension modules
6551b0
  https://fedoraproject.org/wiki/Changes/Python_Extension_Flags
6551b0
6551b0
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-5
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
6551b0
6551b0
* Wed Jan 16 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.2-4
6551b0
- Security fix for CVE-2019-5010 (#1666519, #1666522)
6551b0
6551b0
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 3.7.2-3
6551b0
- Rebuilt for libcrypt.so.2 (#1666033)
6551b0
6551b0
* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.2-2
6551b0
- No longer revert upstream commit 3b699932e5ac3e7
6551b0
- This was a dirty workaround for (#1644936)
6551b0
6551b0
* Tue Dec 25 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.2-1
6551b0
- Update to 3.7.2
6551b0
6551b0
* Fri Dec 07 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-5
6551b0
- Make sure we don't ship any exe files (not needed an prebuilt)
6551b0
6551b0
* Wed Nov 21 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-4
6551b0
- Make sure the entire test.support module is in python3-libs (#1651245)
6551b0
6551b0
* Tue Nov 06 2018 Victor Stinner <vstinner@redhat.com> - 3.7.1-3
6551b0
- Verify the value of '-s' when execute the CLI of cProfile (rhbz#1160640)
6551b0
6551b0
* Sun Nov 04 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-2
6551b0
- Temporarily revert upstream commit 3b699932e5ac3e7
6551b0
- This is dirty workaround for (#1644936)
6551b0
6551b0
* Mon Oct 22 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-1
6551b0
- Update to 3.7.1
6551b0
6551b0
* Thu Sep 27 2018 Petr Viktorin <pviktori@redhat.com> - 3.7.0-10
6551b0
- Compile the debug build with -Og rather than -O0
6551b0
6551b0
* Thu Aug 30 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-9
6551b0
- Require python3-setuptools from python3-devel to prevent packaging errors (#1623914)
6551b0
6551b0
* Fri Aug 17 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-8
6551b0
- Add /usr/bin/pygettext3.py and msgfmt3.py to python3-devel
6551b0
Resolves: rhbz#1571474
6551b0
6551b0
* Fri Aug 17 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-7
6551b0
- Backport TLS 1.3 related fixes to fix FTBFS
6551b0
Resolves: rhbz#1609291
6551b0
6551b0
* Wed Aug 15 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-6
6551b0
- Use RPM built wheels of pip and setuptools in ensurepip instead of our rewheel patch
6551b0
6551b0
* Fri Aug 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.7.0-5
6551b0
- Fix wrong requirement on gdbm
6551b0
6551b0
* Fri Jul 20 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-4
6551b0
- Allow to call Py_Main() after Py_Initialize()
6551b0
Resolves: rhbz#1595421
6551b0
6551b0
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6551b0
6551b0
* Thu Jul 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.7.0-2
6551b0
- Rebuild for new gdbm
6551b0
6551b0
* Wed Jun 27 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-1
6551b0
- Update to 3.7.0 final
6551b0
6551b0
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-0.21.rc1
6551b0
- Finish bootstrapping, enable rewheel, tests, optimizations
6551b0
6551b0
* Tue Jun 12 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-0.20.rc1
6551b0
- Update to 3.7.0rc1
6551b0
- Bootstrap, disable rewheel, tests, optimizations
6551b0
6551b0
* Mon Apr 23 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.5-4
6551b0
- Fix multiprocessing regression on newer glibcs
6551b0
- Enable test_multiprocessing_fork(server) and _spawn again
6551b0
Resolves: rhbz#1569933
6551b0
6551b0
* Thu Apr 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.5-3
6551b0
- Skip test_multiprocessing_fork(server) and _spawn for now
6551b0
6551b0
* Wed Apr 18 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.5-2
6551b0
- Add flatpackage conditionals
6551b0
6551b0
* Thu Mar 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.5-1
6551b0
- Update to 3.6.5
6551b0
6551b0
* Sat Mar 24 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-20
6551b0
- Fix broken macro invocation and broken building of C Python extensions
6551b0
Resolves: rhbz#1560103
6551b0
6551b0
* Fri Mar 16 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-19
6551b0
- Add -n option for pathfix.py
6551b0
Resolves: rhbz#1546990
6551b0
6551b0
* Thu Mar 15 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-18
6551b0
- Fix the py_byte_compile macro to work on Python 2
6551b0
- Remove the pybytecompile macro file from the flat package
6551b0
Resolves: rhbz#1484993
6551b0
6551b0
* Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-17
6551b0
- Do not send IP addresses in SNI TLS extension
6551b0
6551b0
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 3.6.4-16
6551b0
- Rebuild with new LDFLAGS from redhat-rpm-config
6551b0
6551b0
* Wed Feb 21 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-15
6551b0
- Filter out automatic /usr/bin/python3.X requirement,
6551b0
  recommend the main package from libs instead
6551b0
Resolves: rhbz#1547131
6551b0
6551b0
* Thu Feb 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.4-14
6551b0
- Remove the python3-tools package (#rhbz 1312030)
6551b0
- Move /usr/bin/2to3 to python3-devel
6551b0
- Move /usr/bin/idle and idlelib to python3-idle
6551b0
- Provide python3-tools from python3-idle
6551b0
6551b0
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6.4-13
6551b0
- Escape macros in %%changelog
6551b0
6551b0
* Fri Feb 02 2018 Michal Cyprian <mcyprian@redhat.com> - 3.6.4-12
6551b0
- Remove sys.executable check from change-user-install-location patch
6551b0
Resolves: rhbz#1532287
6551b0
6551b0
* Thu Feb 01 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-11
6551b0
- Define TLS cipher suite on build time.
6551b0
6551b0
* Wed Jan 31 2018 Tomas Orsava <torsava@redhat.com> - 3.6.4-10
6551b0
- Disable test_gdb for all arches and test_buffer for ppc64le in anticipation
6551b0
  of the F28 mass rebuild
6551b0
- Re-enable these tests after the mass rebuild when they can be properly
6551b0
  addressed
6551b0
6551b0
* Tue Jan 23 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-9
6551b0
- Restore the PyExc_RecursionErrorInst public symbol
6551b0
6551b0
* Tue Jan 23 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-8
6551b0
- Add patch to explicitly link _ctypes module with -ldl (#1537489)
6551b0
- Refactored patch for libxcrypt
6551b0
- Re-enable strict symbol checks in the link editor
6551b0
6551b0
* Mon Jan 22 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-7
6551b0
- Add patch for libxcrypt
6551b0
- Disable strict symbol checks in the link editor
6551b0
6551b0
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-6
6551b0
- Rebuilt for switch to libxcrypt
6551b0
6551b0
* Fri Jan 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-5
6551b0
- Fix localeconv() encoding for LC_NUMERIC
6551b0
6551b0
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6.4-4
6551b0
- R: gdbm-devel → R: gdbm for python3-libs
6551b0
6551b0
* Wed Jan 17 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-3
6551b0
- Require large enough gdbm (fixup for previous bump)
6551b0
6551b0
* Tue Jan 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-2
6551b0
- Rebuild for reverted gdbm 1.13 on Fedora 27
6551b0
6551b0
* Mon Jan 15 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-1
6551b0
- Update to version 3.6.4
6551b0
6551b0
* Fri Jan 12 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-5
6551b0
- Fix the compilation of the nis module.
6551b0
6551b0
* Tue Nov 21 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.3-4
6551b0
- Raise the release of platform-python obsoletes for better maintainability
6551b0
6551b0
* Wed Nov 15 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.3-3
6551b0
- Obsolete platform-python and it's subpackages
6551b0
6551b0
* Mon Oct 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-2
6551b0
- Fix memory corruption due to allocator mix
6551b0
Resolves: rhbz#1498207
6551b0
6551b0
* Fri Oct 06 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-1
6551b0
- Update to Python 3.6.3
6551b0
6551b0
* Fri Sep 29 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-19
6551b0
- Move pathfix.py to bindir, https://github.com/fedora-python/python-rpm-porting/issues/24
6551b0
- Make the -devel package require redhat-rpm-config
6551b0
Resolves: rhbz#1496757
6551b0
6551b0
* Wed Sep 13 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-18
6551b0
- Fix /usr/bin/env dependency from python3-tools
6551b0
Resolves: rhbz#1482118
6551b0
6551b0
* Wed Sep 06 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-17
6551b0
- Include `-g` in the flags sent to the linker (LDFLAGS)
6551b0
Resolves: rhbz#1483222
6551b0
6551b0
* Tue Sep 05 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-16
6551b0
- Specfile cleanup
6551b0
- Make the main description also applicable to the SRPM
6551b0
- Add audiotest.au to the test package
6551b0
6551b0
* Fri Sep 01 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-15
6551b0
- Remove %%{pylibdir}/Tools/scripts/2to3
6551b0
6551b0
* Fri Sep 01 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-14
6551b0
- Expat >= 2.1.0 is everywhere, remove explicit requires
6551b0
- Conditionalize systemtap-devel BuildRequires
6551b0
- For consistency, require /usr/sbin/ifconfig instead of net-tools
6551b0
6551b0
* Mon Aug 28 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-13
6551b0
- Rename patch files to be consistent
6551b0
- Run autotools to generate the configure script before building
6551b0
- Merge lib64 patches (104 into 102)
6551b0
- Skip test_bdist_rpm using test config rather than a patch (removes patch 137)
6551b0
- Remove patches 157 and 186, which had test changes left over after upstreaming
6551b0
- Remove patch 188, a temporary workaround for hashlib tests
6551b0
- Merge patches 180, 206, 243, 5001 (architecture naming) into new patch 274
6551b0
- Move python2-tools conflicts to tools subpackage (it was wrongly in tkinter)
6551b0
6551b0
* Mon Aug 28 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.2-12
6551b0
- Use python3 style of calling super() without arguments in rpath
6551b0
  patch to prevent recursion in UnixCCompiler subclasses
6551b0
Resolves: rhbz#1458122
6551b0
6551b0
* Mon Aug 21 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-11
6551b0
- Add bcond for --without optimizations
6551b0
- Reword package descriptions
6551b0
- Remove Group declarations
6551b0
- Skip failing test_float_with_comma
6551b0
6551b0
* Mon Aug 21 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-10
6551b0
- Remove system-python, see https://fedoraproject.org/wiki/Changes/Platform_Python_Stack
6551b0
6551b0
* Wed Aug 16 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-9
6551b0
- Use bconds for configuring the build
6551b0
- Reorganize the initial sections
6551b0
6551b0
* Wed Aug 16 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-8
6551b0
- Have /usr/bin/2to3 (rhbz#1111275)
6551b0
- Provide 2to3 and idle3, list them in summary and description (rhbz#1076401)
6551b0
6551b0
* Fri Aug 11 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.2-7
6551b0
- Revert "Add --executable option to install.py command"
6551b0
  This enhancement is currently not needed and it can possibly
6551b0
  collide with `pip --editable`option
6551b0
6551b0
* Mon Aug 07 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-6
6551b0
- Fix the "urllib FTP protocol stream injection" vulnerability
6551b0
Resolves: rhbz#1478916
6551b0
6551b0
* Tue Aug 01 2017 Tomas Orsava <torsava@redhat.com> - 3.6.2-5
6551b0
- Dropped BuildRequires on db4-devel which was useful for Python 2 (module
6551b0
  bsddb), however, no longer needod for Python 3
6551b0
- Tested building Python 3 with and without the dependency, all tests pass and
6551b0
  filelists of resulting RPMs are identical
6551b0
6551b0
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 3.6.2-4
6551b0
- Do not generate debuginfo subpackages (#1476593)
6551b0
- Rebuild with binutils fix for ppc64le (#1475636)
6551b0
6551b0
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-3
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6551b0
6551b0
* Tue Jul 25 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.2-2
6551b0
- Make test_asyncio to not depend on the current SIGHUP signal handler.
6551b0
6551b0
* Tue Jul 18 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.2-1
6551b0
- Update to Python 3.6.2
6551b0
6551b0
* Tue Jun 27 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-10
6551b0
- Update to the latest upstream implementation of PEP 538
6551b0
6551b0
* Mon Jun 26 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.1-9
6551b0
- Make pip and distutils in user environment install into separate location
6551b0
6551b0
* Fri Jun 23 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-8
6551b0
- Fix test_alpn_protocols from test_ssl
6551b0
- Do not require rebundled setuptools dependencies
6551b0
6551b0
* Tue May 16 2017 Tomas Orsava <torsava@redhat.com> - 3.6.1-7
6551b0
- Added a dependency to the devel subpackage on python3-rpm-generators which
6551b0
  have been excised out of rpm-build
6551b0
- Updated notes on bootstrapping Python on top of this specfile accordingly
6551b0
- Involves: rhbz#1410631, rhbz#1444925
6551b0
6551b0
* Tue May 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-6
6551b0
- Enable profile guided optimizations for x86_64 and i686 architectures
6551b0
- Update to a newer implementation of PEP 538
6551b0
- Update description to reflect that Python 3 is now the default Python
6551b0
6551b0
* Fri May 05 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-5
6551b0
- Update PEP 538 to the latest upstream implementation
6551b0
6551b0
* Tue Apr 18 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-4
6551b0
- Enable link time optimizations
6551b0
- Move windows executables to the devel subpackage (rhbz#1426257)
6551b0
6551b0
* Thu Apr 13 2017 Tomas Orsava <torsava@redhat.com> - 3.6.1-3
6551b0
- Rename python3.Xdm-config script from -debug to be arch specific
6551b0
Resolves: rhbz#1179073
6551b0
6551b0
* Wed Apr 05 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-2
6551b0
- Install the Makefile in its proper location (rhbz#1438219)
6551b0
6551b0
* Wed Mar 22 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.1-1
6551b0
- Update to version 3.6.1 final
6551b0
6551b0
* Tue Mar 21 2017 Tomas Orsava <torsava@redhat.com> - 3.6.1-0.2.rc1
6551b0
- Fix syntax error in %%py_byte_compile macro (rhbz#1433569)
6551b0
6551b0
* Thu Mar 16 2017 Iryna Shcherbina <ishcherb@redaht.com> - 3.6.1-0.1.rc1
6551b0
- Update to Python 3.6.1 release candidate 1
6551b0
- Add patch 264 to skip a known test failure on aarch64
6551b0
6551b0
* Fri Mar 10 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-21
6551b0
- Use proper command line parsing in _testembed
6551b0
- Backport of PEP 538: Coercing the legacy C locale to a UTF-8 based locale
6551b0
  https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale
6551b0
6551b0
* Mon Feb 27 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-20
6551b0
- Add desktop entry and appdata.xml file for IDLE 3 (rhbz#1392049)
6551b0
6551b0
* Fri Feb 24 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.0-19
6551b0
- Revert "Set values of prefix and exec_prefix to /usr/local for
6551b0
  /usr/bin/python* executables..." to prevent build failures
6551b0
  of packages using alternate build tools
6551b0
6551b0
* Tue Feb 21 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.0-18
6551b0
- Set values of prefix and exec_prefix to /usr/local for
6551b0
  /usr/bin/python* executables
6551b0
- Use new %%_module_build macro
6551b0
6551b0
* Fri Feb 17 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.0-13
6551b0
- Add --executable option to install.py command
6551b0
6551b0
* Wed Feb 15 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-12
6551b0
- BuildRequire the new dependencies of setuptools when rewheel mode is enabled
6551b0
in order for the virtualenvs to work properly
6551b0
6551b0
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-11
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6551b0
6551b0
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 3.6.0-10
6551b0
- Add missing %%license macro
6551b0
6551b0
* Thu Jan 26 2017 Tomas Orsava <torsava@redhat.com> - 3.6.0-9
6551b0
- Modify the runtime dependency of python3-libs on system-python-libs again,
6551b0
  because previous attempt didn't work properly with dnf resolving mechanism
6551b0
6551b0
* Wed Jan 25 2017 Tomas Orsava <torsava@redhat.com> - 3.6.0-8
6551b0
- Modify the runtime dependency of python3-libs on system-python-libs to use
6551b0
  just the version and release number, but not the dist tag due to Modularity
6551b0
6551b0
* Mon Jan 16 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-7
6551b0
- Fix error check, so that Random.seed actually uses OS randomness (rhbz#1412275)
6551b0
- Skip test_aead_aes_gcm during rpmbuild
6551b0
6551b0
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.6.0-6
6551b0
- Rebuild for readline 7.x
6551b0
6551b0
* Tue Jan 10 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-5
6551b0
- Require glibc >= 2.24.90-26 for system-python-libs (rhbz#1410644)
6551b0
6551b0
* Mon Jan 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-4
6551b0
- Define HAVE_LONG_LONG as 1 for backwards compatibility
6551b0
6551b0
* Thu Jan 05 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.0-3
6551b0
- Don't blow up on EL7 kernel (random generator) (rhbz#1410175)
6551b0
6551b0
* Tue Dec 27 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-1
6551b0
- Update to Python 3.6.0 final
6551b0
6551b0
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-0.6.rc1
6551b0
- Enable rewheel
6551b0
6551b0
* Wed Dec 07 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-0.5.rc1
6551b0
- Update to Python 3.6.0 release candidate 1
6551b0
6551b0
* Mon Dec 05 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-0.4.b4
6551b0
- Update to Python 3.6.0 beta 4
6551b0
6551b0
* Mon Dec 05 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-7
6551b0
- Set to work with pip version 9.0.1
6551b0
6551b0
* Wed Oct 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-6
6551b0
- Use proper patch numbering and base upstream branch for
6551b0
porting ssl and hashlib modules to OpenSSL 1.1.0
6551b0
- Drop hashlib patch for now
6551b0
- Add riscv64 arch to 64bit and no-valgrind arches
6551b0
6551b0
* Tue Oct 11 2016 Tomáš Mráz <tmraz@redhat.com> - 3.5.2-5
6551b0
- Make it build with OpenSSL-1.1.0 based on upstream patch
6551b0
6551b0
* Wed Sep 14 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-4
6551b0
- Obsolete and Provide python35 package
6551b0
6551b0
* Mon Sep 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-3
6551b0
- Update %%py_byte_compile macro
6551b0
- Remove unused configure flags (rhbz#1374357)
6551b0
6551b0
* Fri Sep 09 2016 Tomas Orsava <torsava@redhat.com> - 3.5.2-2
6551b0
- Updated .pyc 'bytecompilation with the newly installed interpreter' to also
6551b0
  recompile optimized .pyc files
6551b0
- Removed .pyo 'bytecompilation with the newly installed interpreter', as .pyo
6551b0
  files are no more
6551b0
- Resolves rhbz#1373635
6551b0
6551b0
* Mon Aug 15 2016 Tomas Orsava <torsava@redhat.com> - 3.5.2-1
6551b0
- Rebased to version 3.5.2
6551b0
- Set to work with pip version 8.1.2
6551b0
- Removed patches 207, 237, 241 as fixes are already contained in Python 3.5.2
6551b0
- Removed arch or environment specific patches 194, 196, 203, and 208
6551b0
  as test builds indicate they are no longer needed
6551b0
- Updated patches 102, 146, and 242 to work with the new Python codebase
6551b0
- Removed patches 200, 201, 5000 which weren't even being applied
6551b0
6551b0
* Tue Aug 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-15
6551b0
- Fix for CVE-2016-1000110 HTTPoxy attack
6551b0
- SPEC file cleanup
6551b0
6551b0
* Mon Aug 01 2016 Michal Toman <mtoman@fedoraproject.org> - 3.5.1-14
6551b0
- Build properly on MIPS
6551b0
6551b0
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.1-13
6551b0
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
6551b0
6551b0
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-12
6551b0
- Refactor patch for properly fixing CVE-2016-5636
6551b0
6551b0
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-11
6551b0
- Fix test_pyexpat failure with Expat version of 2.2.0
6551b0
6551b0
* Fri Jul 08 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-10
6551b0
- Move xml module to system-python-libs
6551b0
6551b0
* Thu Jun 16 2016 Tomas Orsava <torsava@redhat.com> - 3.5.1-9
6551b0
- Fix for: CVE-2016-0772 python: smtplib StartTLS stripping attack
6551b0
- Raise an error when STARTTLS fails
6551b0
- rhbz#1303647: https://bugzilla.redhat.com/show_bug.cgi?id=1303647
6551b0
- rhbz#1346345: https://bugzilla.redhat.com/show_bug.cgi?id=1346345
6551b0
- Fixed upstream: https://hg.python.org/cpython/rev/d590114c2394
6551b0
6551b0
* Mon Jun 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-8
6551b0
- Added patch for fixing possible integer overflow and heap corruption in zipimporter.get_data()
6551b0
6551b0
* Fri Mar 04 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-7
6551b0
- Move distutils to system-python-libs
6551b0
6551b0
* Wed Feb 24 2016 Robert Kuska <rkuska@redhat.com> - 3.5.1-6
6551b0
- Provide python3-enum34
6551b0
6551b0
* Fri Feb 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-5
6551b0
- Provide System Python packages and macros
6551b0
6551b0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-4
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6551b0
6551b0
* Wed Jan 13 2016 Orion Poplwski <orion@cora.nwra.com> - 3.5.1-2
6551b0
- Drop python3 macros, require python/python3-rpm-macros
6551b0
6551b0
* Mon Dec 14 2015 Robert Kuska <rkuska@redhat.com> - 3.5.1-1
6551b0
- Update to 3.5.1
6551b0
- Removed patch 199 and 207 (upstream)
6551b0
6551b0
* Sun Nov 15 2015 Robert Kuska <rkuska@redhat.com> - 3.5.0-5
6551b0
- Remove versioned libpython from devel package
6551b0
6551b0
* Fri Nov 13 2015 Than Ngo <than@redhat.com> 3.5.0-4
6551b0
- add correct arch for ppc64/ppc64le to fix build failure
6551b0
6551b0
* Wed Nov 11 2015 Robert Kuska <rkuska@redhat.com> - 3.5.0-3
6551b0
- Hide the private _Py_atomic_xxx symbols from public header
6551b0
6551b0
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 3.5.0-2
6551b0
- Rebuild with wheel set to 1
6551b0
6551b0
* Tue Sep 15 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.5.0-1
6551b0
- Update to 3.5.0
6551b0
6551b0
* Mon Jun 29 2015 Thomas Spura <tomspur@fedoraproject.org> - 3.4.3-4
6551b0
- python3-devel: Require python-macros for version independant macros such as
6551b0
  python_provide. See fpc#281 and fpc#534.
6551b0
6551b0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.3-3
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6551b0
6551b0
* Wed Jun 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-4
6551b0
- Use 1024bit DH key in test_ssl
6551b0
- Use -O0 when compiling -debug build
6551b0
- Update pip version variable to the version we actually ship
6551b0
6551b0
* Wed Jun 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-3
6551b0
- Make relocating Python by changing _prefix actually work
6551b0
Resolves: rhbz#1231801
6551b0
6551b0
* Mon May  4 2015 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.3-2
6551b0
- Disable test_gdb on aarch64 (rhbz#1196181), it joins all other non x86 arches
6551b0
6551b0
* Thu Mar 12 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-1
6551b0
- Updated to 3.4.3
6551b0
- BuildPython now accepts additional build options
6551b0
- Temporarily disabled test_gdb on arm (rhbz#1196181)
6551b0
6551b0
* Wed Feb 25 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.2-7
6551b0
- Fixed undefined behaviour in faulthandler which caused test to hang on x86_64
6551b0
  (http://bugs.python.org/issue23433)
6551b0
6551b0
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 3.4.2-6
6551b0
- Rebuilt for Fedora 23 Change
6551b0
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
6551b0
6551b0
* Tue Feb 17 2015 Ville Skyttä <ville.skytta@iki.fi> - 3.4.2-5
6551b0
- Own systemtap dirs (#710733)
6551b0
6551b0
* Mon Jan 12 2015 Dan Horák <dan[at]danny.cz> - 3.4.2-4
6551b0
- build with valgrind on ppc64le
6551b0
- disable test_gdb on s390(x) until rhbz#1181034 is resolved
6551b0
6551b0
* Tue Dec 16 2014 Robert Kuska <rkuska@redhat.com> - 3.4.2-3
6551b0
- New patches: 170 (gc asserts), 200 (gettext headers),
6551b0
  201 (gdbm memory leak)
6551b0
6551b0
* Thu Dec 11 2014 Robert Kuska <rkuska@redhat.com> - 3.4.2-2
6551b0
- OpenSSL disabled SSLv3 in SSLv23 method
6551b0
6551b0
* Thu Nov 13 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.2-1
6551b0
- Update to 3.4.2
6551b0
- Refreshed patches: 156 (gdb autoload)
6551b0
- Removed: 195 (Werror declaration), 197 (CVE-2014-4650)
6551b0
6551b0
* Mon Nov 03 2014 Slavek Kabrda <bkabrda@redhat.com> - 3.4.1-16
6551b0
- Fix CVE-2014-4650 - CGIHTTPServer URL handling
6551b0
Resolves: rhbz#1113529
6551b0
6551b0
* Sun Sep 07 2014 Karsten Hopp <karsten@redhat.com> 3.4.1-15
6551b0
- exclude test_gdb on ppc* (rhbz#1132488)
6551b0
6551b0
* Thu Aug 21 2014 Slavek Kabrda <bkabrda@redhat.com> - 3.4.1-14
6551b0
- Update rewheel patch with fix from https://github.com/bkabrda/rewheel/pull/1
6551b0
6551b0
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-13
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6551b0
6551b0
* Sun Jun  8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.1-12
6551b0
- aarch64 has valgrind, just list those that don't support it
6551b0
6551b0
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-11
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6551b0
6551b0
* Wed Jun 04 2014 Karsten Hopp <karsten@redhat.com> 3.4.1-10
6551b0
- bump release and rebuild to link with the correct tcl/tk libs on ppcle
6551b0
6551b0
* Tue Jun 03 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-9
6551b0
- Change paths to bundled projects in rewheel patch
6551b0
6551b0
* Fri May 30 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-8
6551b0
- In config script, use uname -m to write the arch
6551b0
6551b0
* Thu May 29 2014 Dan Horák <dan[at]danny.cz> - 3.4.1-7
6551b0
- update the arch list where valgrind exists - %%power64 includes also
6551b0
    ppc64le which is not supported yet
6551b0
6551b0
* Thu May 29 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-6
6551b0
- Forward arguments to the arch specific config script
6551b0
Resolves: rhbz#1102683
6551b0
6551b0
* Wed May 28 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-5
6551b0
- Rename python3.Xm-config script to arch specific.
6551b0
Resolves: rhbz#1091815
6551b0
6551b0
* Tue May 27 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.1-4
6551b0
- Use python3-*, not python-* runtime requires on setuptools and pip
6551b0
- rebuild for tcl-8.6
6551b0
6551b0
* Tue May 27 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-3
6551b0
- Update the rewheel module
6551b0
6551b0
* Mon May 26 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-2
6551b0
- Fix multilib dependencies.
6551b0
Resolves: rhbz#1091815
6551b0
6551b0
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-1
6551b0
- Update to Python 3.4.1
6551b0
6551b0
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-8
6551b0
- Fix test_gdb failure on ppc64le
6551b0
Resolves: rhbz#1095355
6551b0
6551b0
* Thu May 22 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.0-7
6551b0
- Add macro %%python3_version_nodots
6551b0
6551b0
* Sun May 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-6
6551b0
- Disable test_faulthandler, test_gdb on aarch64
6551b0
Resolves: rhbz#1045193
6551b0
6551b0
* Fri May 16 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-5
6551b0
- Don't add Werror=declaration-after-statement for extension
6551b0
  modules through setup.py (PyBT#21121)
6551b0
6551b0
* Mon May 12 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-4
6551b0
- Add setuptools and pip to Requires
6551b0
6551b0
* Tue Apr 29 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-3
6551b0
- Point __os_install_post to correct brp-* files
6551b0
6551b0
* Tue Apr 15 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-2
6551b0
- Temporarily disable tests requiring SIGHUP (rhbz#1088233)
6551b0
6551b0
* Tue Apr 15 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-1
6551b0
- Update to Python 3.4 final
6551b0
- Add patch adding the rewheel module
6551b0
- Merge patches from master
6551b0
6551b0
* Wed Jan 08 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-0.1.b2
6551b0
- Update to Python 3.4 beta 2.
6551b0
- Refreshed patches: 55 (systemtap), 146 (hashlib-fips), 154 (test_gdb noise)
6551b0
- Dropped patches: 114 (statvfs constants), 177 (platform unicode)
6551b0
6551b0
* Mon Nov 25 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-0.1.b1
6551b0
- Update to Python 3.4 beta 1.
6551b0
- Refreshed patches: 102 (lib64), 111 (no static lib), 125 (less verbose COUNT
6551b0
ALLOCS), 141 (fix COUNT_ALLOCS in test_module), 146 (hashlib fips),
6551b0
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port)
6551b0
- Removed patch 00187 (remove pthread atfork; upstreamed)
6551b0
6551b0
* Mon Nov 04 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-0.1.a4
6551b0
- Update to Python 3.4 alpha 4.
6551b0
- Refreshed patches: 55 (systemtap), 102 (lib64), 111 (no static lib),
6551b0
114 (statvfs flags), 132 (unittest rpmbuild hooks), 134 (fix COUNT_ALLOCS in
6551b0
test_sys), 143 (tsc on ppc64), 146 (hashlib fips), 153 (test gdb noise),
6551b0
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port), 186 (dont raise
6551b0
from py_compile)
6551b0
- Removed patches: 129 (test_subprocess nonreadable dir - no longer fails in
6551b0
Koji), 142 (the mock issue that caused this is fixed)
6551b0
- Added patch 187 (remove thread atfork) - will be in next version
6551b0
- Refreshed script for checking pyc and pyo timestamps with new ignored files.
6551b0
- The fips patch is disabled for now until upstream makes a final decision
6551b0
what to do with sha3 implementation for 3.4.0.
6551b0
6551b0
* Wed Oct 30 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-7
6551b0
- Bytecompile all *.py files properly during build (rhbz#1023607)
6551b0
6551b0
* Fri Aug 23 2013 Matej Stuchlik <mstuchli@redhat.com> - 3.3.2-6
6551b0
- Added fix for CVE-2013-4238 (rhbz#996399)
6551b0
6551b0
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> - 3.3.2-5
6551b0
- fix up indentation in arm patch
6551b0
6551b0
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> - 3.3.2-4
6551b0
- disable a test that fails on arm
6551b0
- enable valgrind support on arm arches
6551b0
6551b0
* Tue Jul 02 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-3
6551b0
- Fix build with libffi containing multilib wrapper for ffi.h (rhbz#979696).
6551b0
6551b0
* Mon May 20 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-2
6551b0
- Add patch for CVE-2013-2099 (rhbz#963261).
6551b0
6551b0
* Thu May 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-1
6551b0
- Updated to Python 3.3.2.
6551b0
- Refreshed patches: 153 (gdb test noise)
6551b0
- Dropped patches: 175 (configure -Wformat, fixed upstream), 182 (gdb
6551b0
test threads)
6551b0
- Synced patch numbers with python.spec.
6551b0
6551b0
* Thu May  9 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.1-4
6551b0
- fix test.test_gdb.PyBtTests.test_threads on ppc64 (patch 181; rhbz#960010)
6551b0
6551b0
* Thu May 02 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.1-3
6551b0
- Add patch that enables building on ppc64p7 (replace the sed, so that
6551b0
we get consistent with python2 spec and it's more obvious that we're doing it.
6551b0
6551b0
* Wed Apr 24 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.1-2
6551b0
- Add fix for gdb tests failing on arm, rhbz#951802.
6551b0
6551b0
* Tue Apr 09 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.1-1
6551b0
- Updated to Python 3.3.1.
6551b0
- Refreshed patches: 55 (systemtap), 111 (no static lib), 146 (hashlib fips),
6551b0
153 (fix test_gdb noise), 157 (uid, gid overflow - fixed upstream, just
6551b0
keeping few more downstream tests)
6551b0
- Removed patches: 3 (audiotest.au made it to upstream tarball)
6551b0
- Removed workaround for http://bugs.python.org/issue14774, discussed in
6551b0
http://bugs.python.org/issue15298 and fixed in revision 24d52d3060e8.
6551b0
6551b0
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-10
6551b0
- fix gcc 4.8 incompatibility (rhbz#927358); regenerate autotool intermediates
6551b0
6551b0
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-9
6551b0
- renumber patches to keep them in sync with python.spec
6551b0
6551b0
* Fri Mar 15 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-8
6551b0
- Fix error in platform.platform() when non-ascii byte strings are decoded to
6551b0
  unicode (rhbz#922149)
6551b0
6551b0
* Thu Mar 14 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-7
6551b0
- Fix up shared library extension (rhbz#889784)
6551b0
6551b0
* Thu Mar 07 2013 Karsten Hopp <karsten@redhat.com> 3.3.0-6
6551b0
- add ppc64p7 build target, optimized for Power7
6551b0
6551b0
* Mon Mar  4 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-5
6551b0
- add workaround for ENOPROTOOPT seen running selftests in Koji
6551b0
(rhbz#913732)
6551b0
6551b0
* Mon Mar  4 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-4
6551b0
- remove config flag from /etc/rpm/macros.{python3|pybytecompile}
6551b0
6551b0
* Mon Feb 11 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-3
6551b0
- add aarch64 (rhbz#909783)
6551b0
6551b0
* Thu Nov 29 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-2
6551b0
- add BR on bluez-libs-devel (rhbz#879720)
6551b0
6551b0
* Sat Sep 29 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-1
6551b0
- 3.3.0rc3 -> 3.3.0; drop alphatag
6551b0
6551b0
* Mon Sep 24 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.6.rc3
6551b0
- 3.3.0rc2 -> 3.3.0rc3
6551b0
6551b0
* Mon Sep 10 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.5.rc2
6551b0
- 3.3.0rc1 -> 3.3.0rc2; refresh patch 55
6551b0
6551b0
* Mon Aug 27 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.4.rc1
6551b0
- 3.3.0b2 -> 3.3.0rc1; refresh patches 3, 55
6551b0
6551b0
* Mon Aug 13 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.3.b2
6551b0
- 3.3b1 -> 3.3b2; drop upstreamed patch 152; refresh patches 3, 102, 111,
6551b0
134, 153, 160; regenenerate autotools patch; rework systemtap patch to work
6551b0
correctly when LANG=C (patch 55); importlib.test was moved to
6551b0
test.test_importlib upstream
6551b0
6551b0
* Mon Aug 13 2012 Karsten Hopp <karsten@redhat.com> 3.3.0-0.2.b1
6551b0
- disable some failing checks on PPC* (rhbz#846849)
6551b0
6551b0
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.1.b1
6551b0
- 3.2 -> 3.3: https://fedoraproject.org/wiki/Features/Python_3.3
6551b0
- 3.3.0b1: refresh patches 3, 55, 102, 111, 113, 114, 134, 157; drop upstream
6551b0
patch 147; regenenerate autotools patch; drop "--with-wide-unicode" from
6551b0
configure (PEP 393); "plat-linux2" -> "plat-linux" (upstream issue 12326);
6551b0
"bz2" -> "_bz2" and "crypt" -> "_crypt"; egg-info files are no longer shipped
6551b0
for stdlib (upstream issues 10645 and 12218); email/test moved to
6551b0
test/test_email; add /usr/bin/pyvenv[-3.3] and venv module (PEP 405); add
6551b0
_decimal and _lzma modules; make collections modules explicit in payload again
6551b0
(upstream issue 11085); add _testbuffer module to tests subpackage (added in
6551b0
upstream commit 3f9b3b6f7ff0); fix test failures (patches 160 and 161);
6551b0
workaround erroneously shared _sysconfigdata.py upstream issue #14774; fix
6551b0
distutils.sysconfig traceback (patch 162); add BuildRequires: xz-devel (for
6551b0
_lzma module); skip some tests within test_socket (patch 163)
6551b0
6551b0
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-11
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6551b0
6551b0
* Fri Jul 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.1.b1
6551b0
6551b0
* Fri Jun 22 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-10
6551b0
- use macro for power64 (rhbz#834653)
6551b0
6551b0
* Mon Jun 18 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-9
6551b0
- fix missing include in uid/gid handling patch (patch 157; rhbz#830405)
6551b0
6551b0
* Wed May 30 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 3.2.3-8
6551b0
- fix tapset for debug build
6551b0
6551b0
* Tue May 15 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-7
6551b0
- update uid/gid handling to avoid int overflows seen with uid/gid
6551b0
values >= 2^31 on 32-bit architectures (patch 157; rhbz#697470)
6551b0
6551b0
* Fri May  4 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-6
6551b0
- renumber autotools patch from 300 to 5000
6551b0
- specfile cleanups
6551b0
6551b0
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-5
6551b0
- fix test_gdb.py (patch 156; rhbz#817072)
6551b0
6551b0
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-4
6551b0
- avoid allocating thunks in ctypes unless absolutely necessary, to avoid
6551b0
generating SELinux denials on "import ctypes" and "import uuid" when embedding
6551b0
Python within httpd (patch 155; rhbz#814391)
6551b0
6551b0
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-3
6551b0
- add explicit version requirements on expat to avoid linkage problems with
6551b0
XML_SetHashSalt
6551b0
6551b0
* Thu Apr 12 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-2
6551b0
- fix test_gdb (patch 153)
6551b0
6551b0
* Wed Apr 11 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
6551b0
- 3.2.3; refresh patch 102 (lib64); drop upstream patches 148 (gdbm magic
6551b0
values), 149 (__pycache__ fix); add patch 152 (test_gdb regex)
6551b0
6551b0
* Thu Feb  9 2012 Thomas Spura <tomspur@fedoraproject.org> - 3.2.2-13
6551b0
- use newly installed python for byte compiling (now for real)
6551b0
6551b0
* Sun Feb  5 2012 Thomas Spura <tomspur@fedoraproject.org> - 3.2.2-12
6551b0
- use newly installed python for byte compiling (#787498)
6551b0
6551b0
* Wed Jan  4 2012 Ville Skyttä <ville.skytta@iki.fi> - 3.2.2-11
6551b0
- Build with $RPM_LD_FLAGS (#756863).
6551b0
- Use xz-compressed source tarball.
6551b0
6551b0
* Wed Dec 07 2011 Karsten Hopp <karsten@redhat.com> 3.2.2-10
6551b0
- disable rAssertAlmostEqual in test_cmath on PPC (#750811)
6551b0
6551b0
* Mon Oct 17 2011 Rex Dieter <rdieter@fedoraproject.org> - 3.2.2-9
6551b0
- python3-devel missing autogenerated pkgconfig() provides (#746751)
6551b0
6551b0
* Mon Oct 10 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-8
6551b0
- cherrypick fix for distutils not using __pycache__ when byte-compiling
6551b0
files (rhbz#722578)
6551b0
6551b0
* Fri Sep 30 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-7
6551b0
- re-enable gdbm (patch 148; rhbz#742242)
6551b0
6551b0
* Fri Sep 16 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-6
6551b0
- add a sys._debugmallocstats() function (patch 147)
6551b0
6551b0
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-5
6551b0
- support OpenSSL FIPS mode in _hashlib and hashlib; don't build the _md5 and
6551b0
_sha* modules, relying on _hashlib in hashlib (rhbz#563986; patch 146)
6551b0
6551b0
* Tue Sep 13 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-4
6551b0
- disable gdbm module to prepare for gdbm soname bump
6551b0
6551b0
* Mon Sep 12 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-3
6551b0
- renumber and rename patches for consistency with python.spec (8 to 55, 106
6551b0
to 104, 6 to 111, 104 to 113, 105 to 114, 125, 131, 130 to 143)
6551b0
6551b0
* Sat Sep 10 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-2
6551b0
- rewrite of "check", introducing downstream-only hooks for skipping specific
6551b0
cases in an rpmbuild (patch 132), and fixing/skipping failing tests in a more
6551b0
fine-grained manner than before; (patches 106, 133-142 sparsely, moving
6551b0
patches for consistency with python.spec: 128 to 134, 126 to 135, 127 to 141)
6551b0
6551b0
* Tue Sep  6 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-1
6551b0
- 3.2.2
6551b0
6551b0
* Thu Sep  1 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-7
6551b0
- run selftests with "--verbose"
6551b0
- disable parts of test_io on ppc (rhbz#732998)
6551b0
6551b0
* Wed Aug 31 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-6
6551b0
- use "--findleaks --verbose3" when running test suite
6551b0
6551b0
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-5
6551b0
- re-enable and fix the --with-tsc option on ppc64, and rework it on 32-bit
6551b0
ppc to avoid aliasing violations (patch 130; rhbz#698726)
6551b0
6551b0
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-4
6551b0
- don't use --with-tsc on ppc64 debug builds (rhbz#698726)
6551b0
6551b0
* Thu Aug 18 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-3
6551b0
- add %%python3_version to the rpm macros (rhbz#719082)
6551b0
6551b0
* Mon Jul 11 2011 Dennis Gilmore <dennis@ausil.us> - 3.2.1-2
6551b0
- disable some tests on sparc arches
6551b0
6551b0
* Mon Jul 11 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-1
6551b0
- 3.2.1; refresh lib64 patch (102), subprocess unit test patch (129), disabling
6551b0
of static library build (due to Modules/_testembed; patch 6), autotool
6551b0
intermediates (patch 300)
6551b0
6551b0
* Fri Jul  8 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-5
6551b0
- use the gdb hooks from the upstream tarball, rather than keeping our own copy
6551b0
6551b0
* Fri Jul  8 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-4
6551b0
- don't run test_openpty and test_pty in %%check
6551b0
6551b0
* Fri Jul  8 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-3
6551b0
- cleanup of BuildRequires; add comment headings to specfile sections
6551b0
6551b0
* Tue Apr 19 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-2
6551b0
- fix the libpython.stp systemtap tapset (rhbz#697730)
6551b0
6551b0
* Mon Feb 21 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-1
6551b0
- 3.2
6551b0
- drop alphatag
6551b0
- regenerate autotool patch
6551b0
6551b0
* Mon Feb 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.13.rc3
6551b0
- add a /usr/bin/python3-debug symlink within the debug subpackage
6551b0
6551b0
* Mon Feb 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.12.rc3
6551b0
- 3.2rc3
6551b0
- regenerate autotool patch
6551b0
6551b0
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-0.11.rc2
6551b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6551b0
6551b0
* Mon Jan 31 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.10.rc2
6551b0
- 3.2rc2
6551b0
6551b0
* Mon Jan 17 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.9.rc1
6551b0
- 3.2rc1
6551b0
- rework patch 6 (static lib removal)
6551b0
- remove upstreamed patch 130 (ppc debug build)
6551b0
- regenerate patch 300 (autotool intermediates)
6551b0
- updated packaging to reflect upstream rewrite of "Demo" (issue 7962)
6551b0
- added libpython3.so and 2to3-3.2
6551b0
6551b0
* Wed Jan  5 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.8.b2
6551b0
- set EXTRA_CFLAGS to our CFLAGS, rather than overriding OPT, fixing a linker
6551b0
error with dynamic annotations (when configured using --with-valgrind)
6551b0
- fix the ppc build of the debug configuration (patch 130; rhbz#661510)
6551b0
6551b0
* Tue Jan  4 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.7.b2
6551b0
- add --with-valgrind to configuration (on architectures that support this)
6551b0
6551b0
* Wed Dec 29 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.6.b2
6551b0
- work around test_subprocess failure seen in koji (patch 129)
6551b0
6551b0
* Tue Dec 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.b2
6551b0
- 3.2b2
6551b0
- rework patch 3 (removal of mimeaudio tests), patch 6 (no static libs),
6551b0
patch 8 (systemtap), patch 102 (lib64)
6551b0
- remove patch 4 (rendered redundant by upstream r85537), patch 103 (PEP 3149),
6551b0
patch 110 (upstreamed expat fix), patch 111 (parallel build fix for grammar
6551b0
fixed upstream)
6551b0
- regenerate patch 300 (autotool intermediates)
6551b0
- workaround COUNT_ALLOCS weakref issues in test suite (patch 126, patch 127,
6551b0
patch 128)
6551b0
- stop using runtest.sh in %%check (dropped by upstream), replacing with
6551b0
regrtest; fixup list of failing tests
6551b0
- introduce "pyshortver", "SOABI_optimized" and "SOABI_debug" macros
6551b0
- rework manifests of shared libraries to use "SOABI_" macros, reflecting
6551b0
PEP 3149
6551b0
- drop itertools, operator and _collections modules from the manifests as py3k
6551b0
commit r84058 moved these inside libpython; json/tests moved to test/json_tests
6551b0
- move turtle code into the tkinter subpackage
6551b0
6551b0
* Wed Nov 17 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.a1
6551b0
- fix sysconfig to not rely on the -devel subpackage (rhbz#653058)
6551b0
6551b0
* Thu Sep  9 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.4.a1
6551b0
- move most of the content of the core package to the libs subpackage, given
6551b0
that the libs aren't meaningfully usable without the standard libraries
6551b0
6551b0
* Wed Sep  8 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.3.a1
6551b0
- Move test.support to core package (rhbz#596258)
6551b0
- Add various missing __pycache__ directories to payload
6551b0
6551b0
* Sun Aug 22 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2-0.2.a1
6551b0
- Add __pycache__ directory for site-packages
6551b0
6551b0
* Sun Aug 22 2010 Thomas Spura <tomspur@fedoraproject.org> - 3.2-0.1.a1
6551b0
- on 64bit "stdlib" was still "/usr/lib/python*" (modify *lib64.patch)
6551b0
- make find-provides-without-python-sonames.sh 64bit aware
6551b0
6551b0
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
6551b0
- 3.2a1; add alphatag
6551b0
- rework %%files in the light of PEP 3147 (__pycache__)
6551b0
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
6551b0
better job of things, and the %%files explicitly lists our modules (r82746
6551b0
appears to break the old way of doing things).  This leads to various modules
6551b0
changing from "foomodule.so" to "foo.so".  It also leads to the optimized build
6551b0
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
6551b0
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
6551b0
testing/devel purposes)
6551b0
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
6551b0
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
6551b0
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
6551b0
- add machinery for rebuilding "configure" and friends, using the correct
6551b0
version of autoconf (patch 300)
6551b0
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
6551b0
- "modulator" was removed upstream
6551b0
- drop "-b" from patch applications affecting .py files to avoid littering the
6551b0
installation tree
6551b0
6551b0
* Thu Aug 19 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-13
6551b0
- Turn on computed-gotos.
6551b0
- Fix for parallel make and graminit.c
6551b0
6551b0
* Fri Jul  2 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-12
6551b0
- rebuild
6551b0
6551b0
* Fri Jul  2 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-11
6551b0
- Fix an incompatibility between pyexpat and the system expat-2.0.1 that led to
6551b0
a segfault running test_pyexpat.py (patch 110; upstream issue 9054; rhbz#610312)
6551b0
6551b0
* Fri Jun  4 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-10
6551b0
- ensure that the compiler is invoked with "-fwrapv" (rhbz#594819)
6551b0
- reformat whitespace in audioop.c (patch 106)
6551b0
- CVE-2010-1634: fix various integer overflow checks in the audioop
6551b0
module (patch 107)
6551b0
- CVE-2010-2089: further checks within the audioop module (patch 108)
6551b0
- CVE-2008-5983: the new PySys_SetArgvEx entry point from r81399 (patch 109)
6551b0
6551b0
* Thu May 27 2010 Dan Horák <dan[at]danny.cz> - 3.1.2-9
6551b0
- reading the timestamp counter is available only on some arches (see Python/ceval.c)
6551b0
6551b0
* Wed May 26 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-8
6551b0
- add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
6551b0
(patch 105)
6551b0
6551b0
* Tue May 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-7
6551b0
- add configure-time support for COUNT_ALLOCS and CALL_PROFILE debug options
6551b0
(patch 104); enable them and the WITH_TSC option within the debug build
6551b0
6551b0
* Mon May 24 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-6
6551b0
- build and install two different configurations of Python 3: debug and
6551b0
standard, packaging the debug build in a new "python3-debug" subpackage
6551b0
(patch 103)
6551b0
6551b0
* Tue Apr 13 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-5
6551b0
- exclude test_http_cookies when running selftests, due to hang seen on
6551b0
http://koji.fedoraproject.org/koji/taskinfo?taskID=2088463 (cancelled after
6551b0
11 hours)
6551b0
- update python-gdb.py from v5 to py3k version submitted upstream
6551b0
6551b0
* Wed Mar 31 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-4
6551b0
- update python-gdb.py from v4 to v5 (improving performance and stability,
6551b0
adding commands)
6551b0
6551b0
* Thu Mar 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-3
6551b0
- update python-gdb.py from v3 to v4 (fixing infinite recursion on reference
6551b0
cycles and tracebacks on bytes 0x80-0xff in strings, adding handlers for sets
6551b0
and exceptions)
6551b0
6551b0
* Wed Mar 24 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-2
6551b0
- refresh gdb hooks to v3 (reworking how they are packaged)
6551b0
6551b0
* Sun Mar 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-1
6551b0
- update to 3.1.2: http://www.python.org/download/releases/3.1.2/
6551b0
- drop upstreamed patch 2 (.pyc permissions handling)
6551b0
- drop upstream patch 5 (fix for the test_tk and test_ttk_* selftests)
6551b0
- drop upstreamed patch 200 (path-fixing script)
6551b0
6551b0
* Sat Mar 20 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-28
6551b0
- fix typo in libpython.stp (rhbz:575336)
6551b0
6551b0
* Fri Mar 12 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-27
6551b0
- add pyfuntop.stp example (source 7)
6551b0
- convert usage of $$RPM_BUILD_ROOT to %%{buildroot} throughout, for
6551b0
consistency with python.spec
6551b0
6551b0
* Mon Feb 15 2010 Thomas Spura <tomspur@fedoraproject.org> - 3.1.1-26
6551b0
- rebuild for new package of redhat-rpm-config (rhbz:564527)
6551b0
- use 'install -p' when running 'make install'
6551b0
6551b0
* Fri Feb 12 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-25
6551b0
- split configure options into multiple lines for easy of editing
6551b0
- add systemtap static markers (wcohen, mjw, dmalcolm; patch 8), a systemtap
6551b0
tapset defining "python.function.entry" and "python.function.return" to make
6551b0
the markers easy to use (dmalcolm; source 5), and an example of using the
6551b0
tapset to the docs (dmalcolm; source 6) (rhbz:545179)
6551b0
6551b0
* Mon Feb  8 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-24
6551b0
- move the -gdb.py file from %%{_libdir}/INSTSONAME-gdb.py to
6551b0
%%{_prefix}/lib/debug/%%{_libdir}/INSTSONAME.debug-gdb.py to avoid noise from
6551b0
ldconfig (bug 562980), and which should also ensure it becomes part of the
6551b0
debuginfo subpackage, rather than the libs subpackage
6551b0
- introduce %%{py_SOVERSION} and %%{py_INSTSONAME} to reflect the upstream
6551b0
configure script, and to avoid fragile scripts that try to figure this out
6551b0
dynamically (e.g. for the -gdb.py change)
6551b0
6551b0
* Mon Feb  8 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-23
6551b0
- add gdb hooks for easier debugging (Source 4)
6551b0
6551b0
* Thu Jan 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-22
6551b0
- update python-3.1.1-config.patch to remove downstream customization of build
6551b0
of pyexpat and elementtree modules
6551b0
- add patch adapted from upstream (patch 7) to add support for building against
6551b0
system expat; add --with-system-expat to "configure" invocation
6551b0
- remove embedded copies of expat and zlib from source tree during "prep"
6551b0
6551b0
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-21
6551b0
- introduce %%{dynload_dir} macro
6551b0
- explicitly list all lib-dynload files, rather than dynamically gathering the
6551b0
payload into a temporary text file, so that we can be sure what we are
6551b0
shipping
6551b0
- introduce a macros.pybytecompile source file, to help with packaging python3
6551b0
modules (Source3; written by Toshio)
6551b0
- rename "2to3-3" to "python3-2to3" to better reflect python 3 module packaging
6551b0
plans
6551b0
6551b0
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-20
6551b0
- change python-3.1.1-config.patch to remove our downstream change to curses
6551b0
configuration in Modules/Setup.dist, so that the curses modules are built using
6551b0
setup.py with the downstream default (linking against libncursesw.so, rather
6551b0
than libncurses.so), rather than within the Makefile; add a test to %%install
6551b0
to verify the dso files that the curses module is linked against the correct
6551b0
DSO (bug 539917; changes _cursesmodule.so -> _curses.so)
6551b0
6551b0
* Fri Jan 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-19
6551b0
- add %%py3dir macro to macros.python3 (to be used during unified python 2/3
6551b0
builds for setting up the python3 copy of the source tree)
6551b0
6551b0
* Wed Jan 20 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-18
6551b0
- move lib2to3 from -tools subpackage to main package (bug 556667)
6551b0
6551b0
* Sun Jan 17 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-17
6551b0
- patch Makefile.pre.in to avoid building static library (patch 6, bug 556092)
6551b0
6551b0
* Fri Jan 15 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-16
6551b0
- use the %%{_isa} macro to ensure that the python-devel dependency on python
6551b0
is for the correct multilib arch (#555943)
6551b0
- delete bundled copy of libffi to make sure we use the system one
6551b0
6551b0
* Fri Jan 15 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-15
6551b0
- fix the URLs output by pydoc so they point at python.org's 3.1 build of the
6551b0
docs, rather than the 2.6 build
6551b0
6551b0
* Wed Jan 13 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-14
6551b0
- replace references to /usr with %%{_prefix}; replace references to
6551b0
/usr/include with %%{_includedir} (Toshio)
6551b0
6551b0
* Mon Jan 11 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-13
6551b0
- fix permission on find-provides-without-python-sonames.sh from 775 to 755
6551b0
6551b0
* Mon Jan 11 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-12
6551b0
- remove build-time requirements on tix and tk, since we already have
6551b0
build-time requirements on the -devel subpackages for each of these (Thomas
6551b0
Spura)
6551b0
- replace usage of %%define with %%global (Thomas Spura)
6551b0
- remove forcing of CC=gcc as this old workaround for bug 109268 appears to
6551b0
longer be necessary
6551b0
- move various test files from the "tools"/"tkinter" subpackages to the "test"
6551b0
subpackage
6551b0
6551b0
* Thu Jan  7 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-11
6551b0
- add %%check section (thanks to Thomas Spura)
6551b0
- update patch 4 to use correct shebang line
6551b0
- get rid of stray patch file from buildroot
6551b0
6551b0
* Tue Nov 17 2009 Andrew McNabb <amcnabb@mcnabbs.org> - 3.1.1-10
6551b0
- switched a few instances of "find |xargs" to "find -exec" for consistency.
6551b0
- made the description of __os_install_post more accurate.
6551b0
6551b0
* Wed Nov  4 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-9
6551b0
- add macros.python3 to the -devel subpackage, containing common macros for use
6551b0
when packaging python3 modules
6551b0
6551b0
* Tue Nov  3 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-8
6551b0
- add a provides of "python(abi)" (see bug 532118)
6551b0
- fix issues identified by a.badger in package review (bug 526126, comment 39):
6551b0
  - use "3" thoughout metadata, rather than "3.*"
6551b0
  - remove conditional around "pkg-config openssl"
6551b0
  - use standard cleanup of RPM_BUILD_ROOT
6551b0
  - replace hardcoded references to /usr with _prefix macro
6551b0
  - stop removing egg-info files
6551b0
  - use /usr/bin/python3.1 rather than /use/bin/env python3.1 when fixing
6551b0
up shebang lines
6551b0
  - stop attempting to remove no-longer-present .cvsignore files
6551b0
  - move the post/postun sections above the "files" sections
6551b0
6551b0
* Thu Oct 29 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-7
6551b0
- remove commented-away patch 51 (python-2.6-distutils_rpm.patch): the -O1
6551b0
flag is used by default in the upstream code
6551b0
- "Makefile" and the config-32/64.h file are needed by distutils/sysconfig.py
6551b0
_init_posix(), so we include them in the core package, along with their parent
6551b0
directories (bug 531901)
6551b0
6551b0
* Tue Oct 27 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-6
6551b0
- reword description, based on suggestion by amcnabb
6551b0
- fix the test_email and test_imp selftests (patch 3 and patch 4 respectively)
6551b0
- fix the test_tk and test_ttk_* selftests (patch 5)
6551b0
- fix up the specfile's handling of shebang/perms to avoid corrupting
6551b0
test_httpservers.py (sed command suggested by amcnabb)
6551b0
6551b0
* Thu Oct 22 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-5
6551b0
- fixup importlib/_bootstrap.py so that it correctly handles being unable to
6551b0
open .pyc files for writing (patch 2, upstream issue 7187)
6551b0
- actually apply the rpath patch (patch 1)
6551b0
6551b0
* Thu Oct 22 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-4
6551b0
- update patch0's setup of the crypt module to link it against libcrypt
6551b0
- update patch0 to comment "datetimemodule" back out, so that it is built
6551b0
using setup.py (see Setup, option 3), thus linking it statically against
6551b0
timemodule.c and thus avoiding a run-time "undefined symbol:
6551b0
_PyTime_DoubleToTimet" failure on "import datetime"
6551b0
6551b0
* Wed Oct 21 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-3
6551b0
- remove executable flag from various files that shouldn't have it
6551b0
- fix end-of-line encodings
6551b0
- fix a character encoding
6551b0
6551b0
* Tue Oct 20 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-2
6551b0
- disable invocation of brp-python-bytecompile in postprocessing, since
6551b0
it would be with the wrong version of python (adapted from ivazquez'
6551b0
python3000 specfile)
6551b0
- use a custom implementation of __find_provides in order to filter out bogus
6551b0
provides lines for the various .so modules
6551b0
- fixup distutils/unixccompiler.py to remove standard library path from rpath
6551b0
(patch 1, was Patch0 in ivazquez' python3000 specfile)
6551b0
- split out libraries into a -libs subpackage
6551b0
- update summaries and descriptions, basing content on ivazquez' specfile
6551b0
- fixup executable permissions on .py, .xpm and .xbm files, based on work in
6551b0
ivazquez's specfile
6551b0
- get rid of DOS batch files
6551b0
- fixup permissions for shared libraries from non-standard 555 to standard 755
6551b0
- move /usr/bin/python*-config to the -devel subpackage
6551b0
- mark various directories as being documentation
6551b0
6551b0
* Thu Sep 24 2009 Andrew McNabb <amcnabb@mcnabbs.org> 3.1.1-1
6551b0
- Initial package for Python 3.