|
|
043c574 |
# ==================
|
|
|
043c574 |
# Top-level metadata
|
|
|
043c574 |
# ==================
|
|
|
043c574 |
|
|
|
d668c1e |
%global pybasever 3.7
|
|
|
c769a6b |
|
|
|
043c574 |
# pybasever without the dot:
|
|
|
d668c1e |
%global pyshortver 37
|
|
|
043c574 |
|
|
|
8c67baf |
Name: python3
|
|
|
8c67baf |
Summary: Interpreter of the Python programming language
|
|
|
8c67baf |
URL: https://www.python.org/
|
|
|
8c67baf |
|
|
|
b7855d3 |
# WARNING When rebasing to a new Python version,
|
|
|
b7855d3 |
# remember to update the python3-docs package as well
|
|
|
d533a32 |
Version: %{pybasever}.1
|
|
|
72bc3f4 |
Release: 2%{?dist}
|
|
|
043c574 |
License: Python
|
|
|
043c574 |
|
|
|
043c574 |
|
|
|
043c574 |
# ==================================
|
|
|
043c574 |
# Conditionals controlling the build
|
|
|
043c574 |
# ==================================
|
|
|
043c574 |
|
|
|
043c574 |
# Note that the bcond macros are named for the CLI option they create.
|
|
|
043c574 |
# "%%bcond_without" means "ENABLE by default and create a --without option"
|
|
|
043c574 |
|
|
|
63459d7 |
|
|
|
8c67baf |
# Flat package, i.e. python36, python37, python38 for tox etc.
|
|
|
8c67baf |
# warning: changes some other defaults
|
|
|
8c67baf |
# in Fedora, never turn this on for the python3 package
|
|
|
63459d7 |
# and always keep it on for python37 etc.
|
|
|
8c67baf |
# WARNING: This does not change the package name and summary above
|
|
|
8c67baf |
%bcond_with flatpackage
|
|
|
8c67baf |
|
|
|
0b241ab |
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
|
|
|
0b241ab |
# Uses upstream bundled prebuilt wheels otherwise
|
|
|
0b241ab |
%bcond_without rpmwheels
|
|
|
8c67baf |
|
|
|
f63e273 |
# Expensive optimizations (mainly, profile-guided optimizations)
|
|
|
a7a170b |
%ifarch %{ix86} x86_64
|
|
|
3ba1d1a |
%bcond_without optimizations
|
|
|
a7a170b |
%else
|
|
|
f63e273 |
# On some architectures, the optimized build takes tens of hours, possibly
|
|
|
f63e273 |
# longer than Koji's 24-hour timeout. Disable optimizations here.
|
|
|
a7a170b |
%bcond_with optimizations
|
|
|
a7a170b |
%endif
|
|
|
a7a170b |
|
|
|
f63e273 |
# Run the test suite in %%check
|
|
|
3ba1d1a |
%bcond_without tests
|
|
|
f63e273 |
|
|
|
f63e273 |
# Extra build for debugging the interpreter or C-API extensions
|
|
|
f63e273 |
# (the -debug subpackages)
|
|
|
8c67baf |
%if %{with flatpackage}
|
|
|
8c67baf |
%bcond_with debug_build
|
|
|
8c67baf |
%else
|
|
|
043c574 |
%bcond_without debug_build
|
|
|
8c67baf |
%endif
|
|
|
f63e273 |
|
|
|
f63e273 |
# Support for the GDB debugger
|
|
|
043c574 |
%bcond_without gdb_hooks
|
|
|
f63e273 |
|
|
|
f63e273 |
# The dbm.gnu module (key-value database)
|
|
|
043c574 |
%bcond_without gdbm
|
|
|
f63e273 |
|
|
|
f63e273 |
# Main interpreter loop optimization
|
|
|
043c574 |
%bcond_without computed_gotos
|
|
|
043c574 |
|
|
|
f63e273 |
# Support for the Valgrind debugger/profiler
|
|
|
a64e7f7 |
%ifarch %{valgrind_arches}
|
|
|
043c574 |
%bcond_without valgrind
|
|
|
043c574 |
%else
|
|
|
043c574 |
%bcond_with valgrind
|
|
|
043c574 |
%endif
|
|
|
043c574 |
|
|
|
043c574 |
|
|
|
d90f987 |
# Notes from bootstraping Python 3.7:
|
|
|
d90f987 |
# https://fedoraproject.org/wiki/SIGs/Python/UpgradingPython
|
|
Matej Stuchlik |
95668bd |
|
|
Matej Stuchlik |
11fb599 |
|
|
|
043c574 |
# =====================
|
|
|
043c574 |
# General global macros
|
|
|
043c574 |
# =====================
|
|
|
5080ffc |
|
|
|
a3483f9 |
%global pylibdir %{_libdir}/python%{pybasever}
|
|
|
4aab458 |
%global dynload_dir %{pylibdir}/lib-dynload
|
|
|
a3483f9 |
|
|
|
0c74e11 |
# ABIFLAGS, LDVERSION and SOABI are in the upstream configure.ac
|
|
|
0c74e11 |
# See PEP 3149 for some background: http://www.python.org/dev/peps/pep-3149/
|
|
|
1c94c1a |
%global ABIFLAGS_optimized m
|
|
|
1c94c1a |
%global ABIFLAGS_debug dm
|
|
|
5080ffc |
|
|
|
5080ffc |
%global LDVERSION_optimized %{pybasever}%{ABIFLAGS_optimized}
|
|
|
5080ffc |
%global LDVERSION_debug %{pybasever}%{ABIFLAGS_debug}
|
|
|
5080ffc |
|
|
Robert Kuska |
08f3736 |
%global SOABI_optimized cpython-%{pyshortver}%{ABIFLAGS_optimized}-%{_arch}-linux%{_gnu}
|
|
Robert Kuska |
08f3736 |
%global SOABI_debug cpython-%{pyshortver}%{ABIFLAGS_debug}-%{_arch}-linux%{_gnu}
|
|
|
5080ffc |
|
|
|
0c74e11 |
# All bytecode files are in a __pycache__ subdirectory, with a name
|
|
|
0c74e11 |
# reflecting the version of the bytecode.
|
|
|
0c74e11 |
# See PEP 3147: http://www.python.org/dev/peps/pep-3147/
|
|
|
7eb10c8 |
# For example,
|
|
|
7eb10c8 |
# foo/bar.py
|
|
|
0c74e11 |
# has bytecode at:
|
|
|
043c574 |
# foo/__pycache__/bar.cpython-%%{pyshortver}.pyc
|
|
|
043c574 |
# foo/__pycache__/bar.cpython-%%{pyshortver}.opt-1.pyc
|
|
|
3bbc2a0 |
# foo/__pycache__/bar.cpython-%%{pyshortver}.opt-2.pyc
|
|
|
043c574 |
%global bytecode_suffixes .cpython-%{pyshortver}*.pyc
|
|
|
7eb10c8 |
|
|
|
d5a5bf3 |
# Python's configure script defines SOVERSION, and this is used in the Makefile
|
|
|
d5a5bf3 |
# to determine INSTSONAME, the name of the libpython DSO:
|
|
|
d5a5bf3 |
# LDLIBRARY='libpython$(VERSION).so'
|
|
|
d5a5bf3 |
# INSTSONAME="$LDLIBRARY".$SOVERSION
|
|
|
d5a5bf3 |
# We mirror this here in order to make it easier to add the -gdb.py hooks.
|
|
|
d5a5bf3 |
# (if these get out of sync, the payload of the libs subpackage will fail
|
|
|
d5a5bf3 |
# and halt the build)
|
|
|
d5a5bf3 |
%global py_SOVERSION 1.0
|
|
|
5080ffc |
%global py_INSTSONAME_optimized libpython%{LDVERSION_optimized}.so.%{py_SOVERSION}
|
|
|
5080ffc |
%global py_INSTSONAME_debug libpython%{LDVERSION_debug}.so.%{py_SOVERSION}
|
|
|
d5a5bf3 |
|
|
|
1824b3e |
# Disable automatic bytecompilation. The python3 binary is not yet be
|
|
|
1824b3e |
# available in /usr/bin when Python is built. Also, the bytecompilation fails
|
|
|
1824b3e |
# on files that test invalid syntax.
|
|
|
1824b3e |
%undefine py_auto_byte_compile
|
|
|
7eb10c8 |
|
|
|
64593af |
# For multilib support, files that are different between 32- and 64-bit arches
|
|
|
64593af |
# need different filenames. Use "64" or "32" according to the word size.
|
|
|
4ced9a1 |
# Currently, the best way to determine an architecture's word size happens to
|
|
|
4ced9a1 |
# be checking %%{_lib}.
|
|
|
4ced9a1 |
%if "%{_lib}" == "lib64"
|
|
|
64593af |
%global wordsize 64
|
|
|
64593af |
%else
|
|
|
64593af |
%global wordsize 32
|
|
|
64593af |
%endif
|
|
|
64593af |
|
|
|
64593af |
|
|
|
c769a6b |
# =======================
|
|
|
c769a6b |
# Build-time requirements
|
|
|
c769a6b |
# =======================
|
|
|
c769a6b |
|
|
|
c769a6b |
# (keep this list alphabetized)
|
|
|
c769a6b |
|
|
|
c769a6b |
BuildRequires: autoconf
|
|
|
81ac8c8 |
BuildRequires: bluez-libs-devel
|
|
|
c769a6b |
BuildRequires: bzip2
|
|
|
c769a6b |
BuildRequires: bzip2-devel
|
|
|
66c621f |
BuildRequires: desktop-file-utils
|
|
|
33e1101 |
BuildRequires: expat-devel
|
|
|
5974f19 |
|
|
|
c769a6b |
BuildRequires: findutils
|
|
|
c769a6b |
BuildRequires: gcc-c++
|
|
|
043c574 |
%if %{with gdbm}
|
|
|
6e38667 |
BuildRequires: gdbm-devel >= 1:1.13
|
|
|
5fe31d8 |
%endif
|
|
|
c769a6b |
BuildRequires: glibc-devel
|
|
|
c769a6b |
BuildRequires: gmp-devel
|
|
|
66c621f |
BuildRequires: libappstream-glib
|
|
|
c769a6b |
BuildRequires: libffi-devel
|
|
|
6ff303e |
BuildRequires: libnsl2-devel
|
|
|
6ff303e |
BuildRequires: libtirpc-devel
|
|
|
c769a6b |
BuildRequires: libGL-devel
|
|
|
d668c1e |
BuildRequires: libuuid-devel
|
|
|
c769a6b |
BuildRequires: libX11-devel
|
|
|
c769a6b |
BuildRequires: ncurses-devel
|
|
|
66c621f |
|
|
|
c769a6b |
BuildRequires: openssl-devel
|
|
|
c769a6b |
BuildRequires: pkgconfig
|
|
|
c769a6b |
BuildRequires: readline-devel
|
|
|
c769a6b |
BuildRequires: sqlite-devel
|
|
|
47069ff |
BuildRequires: gdb
|
|
|
c769a6b |
|
|
|
c769a6b |
BuildRequires: tar
|
|
|
c769a6b |
BuildRequires: tcl-devel
|
|
|
c769a6b |
BuildRequires: tix-devel
|
|
|
c769a6b |
BuildRequires: tk-devel
|
|
|
c769a6b |
|
|
|
043c574 |
%if %{with valgrind}
|
|
|
c769a6b |
BuildRequires: valgrind-devel
|
|
|
c769a6b |
%endif
|
|
|
c769a6b |
|
|
|
f2b86e2 |
BuildRequires: xz-devel
|
|
|
c769a6b |
BuildRequires: zlib-devel
|
|
|
c769a6b |
|
|
|
51501f9 |
BuildRequires: /usr/bin/dtrace
|
|
|
51501f9 |
|
|
|
5f24f39 |
# workaround http://bugs.python.org/issue19804 (test_uuid requires ifconfig)
|
|
|
5f24f39 |
BuildRequires: /usr/sbin/ifconfig
|
|
|
5f24f39 |
|
|
|
0b241ab |
%if %{with rpmwheels}
|
|
|
0b241ab |
BuildRequires: python-setuptools-wheel
|
|
|
0b241ab |
BuildRequires: python-pip-wheel
|
|
Matej Stuchlik |
11fb599 |
%endif
|
|
Matej Stuchlik |
11fb599 |
|
|
|
c769a6b |
|
|
|
c769a6b |
# =======================
|
|
|
c769a6b |
# Source code and patches
|
|
|
c769a6b |
# =======================
|
|
|
c769a6b |
|
|
|
d533a32 |
Source: https://www.python.org/ftp/python/%{version}/Python-%{version}%{?prerel}.tar.xz
|
|
|
4aab458 |
|
|
|
3dbbc14 |
# A simple script to check timestamps of bytecode files
|
|
|
3dbbc14 |
# Run in check section with Python that is currently being built
|
|
|
37056bc |
# Originally written by bkabrda
|
|
|
37056bc |
Source8: check-pyc-timestamps.py
|
|
|
71040c9 |
|
|
|
860f392 |
# Desktop menu entry for idle3
|
|
|
860f392 |
Source10: idle3.desktop
|
|
|
860f392 |
|
|
|
860f392 |
# AppData file for idle3
|
|
|
860f392 |
Source11: idle3.appdata.xml
|
|
|
860f392 |
|
|
|
d27ccf6 |
# 00001 #
|
|
|
a3483f9 |
# Fixup distutils/unixccompiler.py to remove standard library path from rpath:
|
|
|
a3483f9 |
# Was Patch0 in ivazquez' python3000 specfile:
|
|
|
d27ccf6 |
Patch1: 00001-rpath.patch
|
|
|
a3483f9 |
|
|
|
2c6abcc |
# 00102 #
|
|
|
2c6abcc |
# Change the various install paths to use /usr/lib64/ instead or /usr/lib
|
|
|
15a050e |
# Only used when "%%{_lib}" == "lib64"
|
|
|
2c6abcc |
# Not yet sent upstream.
|
|
|
2c6abcc |
Patch102: 00102-lib64.patch
|
|
|
c923b51 |
|
|
|
6b34963 |
# 00111 #
|
|
|
c923b51 |
# Patch the Makefile.pre.in so that the generated Makefile doesn't try to build
|
|
|
c4a5733 |
# a libpythonMAJOR.MINOR.a
|
|
|
c4a5733 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=556092
|
|
|
bbb5084 |
# Downstream only: not appropriate for upstream
|
|
|
c923b51 |
Patch111: 00111-no-static-lib.patch
|
|
|
c923b51 |
|
|
|
6b34963 |
# 00132 #
|
|
|
0c8875f |
# Add non-standard hooks to unittest for use in the "check" phase below, when
|
|
|
0c8875f |
# running selftests within the build:
|
|
|
0c8875f |
# @unittest._skipInRpmBuild(reason)
|
|
|
0c8875f |
# for tests that hang or fail intermittently within the build environment, and:
|
|
|
0c8875f |
# @unittest._expectedFailureInRpmBuild
|
|
|
0c8875f |
# for tests that always fail within the build environment
|
|
|
0c8875f |
#
|
|
|
0c8875f |
# The hooks only take effect if WITHIN_PYTHON_RPM_BUILD is set in the
|
|
|
0c8875f |
# environment, which we set manually in the appropriate portion of the "check"
|
|
|
0c8875f |
# phase below (and which potentially other python-* rpms could set, to reuse
|
|
|
0c8875f |
# these unittest hooks in their own "check" phases)
|
|
|
0c8875f |
Patch132: 00132-add-rpmbuild-hooks-to-unittest.patch
|
|
|
0c8875f |
|
|
|
6b34963 |
# 00155 #
|
|
|
8a28107 |
# Avoid allocating thunks in ctypes unless absolutely necessary, to avoid
|
|
|
8a28107 |
# generating SELinux denials on "import ctypes" and "import uuid" when
|
|
|
c4a5733 |
# embedding Python within httpd
|
|
|
c4a5733 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=814391
|
|
|
8a28107 |
Patch155: 00155-avoid-ctypes-thunks.patch
|
|
|
8a28107 |
|
|
|
823581e |
# 00160 #
|
|
|
3b4dd24 |
# Python 3.3 added os.SEEK_DATA and os.SEEK_HOLE, which may be present in the
|
|
|
3b4dd24 |
# header files in the build chroot, but may not be supported in the running
|
|
|
3b4dd24 |
# kernel, hence we disable this test in an rpm build.
|
|
|
3b4dd24 |
# Adding these was upstream issue http://bugs.python.org/issue10142
|
|
|
3b4dd24 |
# Not yet sent upstream
|
|
|
823581e |
Patch160: 00160-disable-test_fs_holes-in-rpm-build.patch
|
|
|
3b4dd24 |
|
|
|
48d2048 |
# 00163 #
|
|
|
48d2048 |
# Some tests within test_socket fail intermittently when run inside Koji;
|
|
|
48d2048 |
# disable them using unittest._skipInRpmBuild
|
|
|
48d2048 |
# Not yet sent upstream
|
|
|
48d2048 |
Patch163: 00163-disable-parts-of-test_socket-in-rpm-build.patch
|
|
|
48d2048 |
|
|
Robert Kuska |
a0e3ab8 |
# 00170 #
|
|
Robert Kuska |
a0e3ab8 |
# In debug builds, try to print repr() when a C-level assert fails in the
|
|
Robert Kuska |
a0e3ab8 |
# garbage collector (typically indicating a reference-counting error
|
|
Robert Kuska |
a0e3ab8 |
# somewhere else e.g in an extension module)
|
|
|
720c2ad |
# The new macros/functions within gcmodule.c are hidden to avoid exposing
|
|
Robert Kuska |
a0e3ab8 |
# them within the extension API.
|
|
|
720c2ad |
# Sent upstream: http://bugs.python.org/issue9263
|
|
|
720c2ad |
# See https://bugzilla.redhat.com/show_bug.cgi?id=614680
|
|
Robert Kuska |
86a9a20 |
Patch170: 00170-gc-assertions.patch
|
|
|
260ceea |
|
|
|
5023236 |
# 00178 #
|
|
|
5023236 |
# Don't duplicate various FLAGS in sysconfig values
|
|
|
5023236 |
# http://bugs.python.org/issue17679
|
|
|
5023236 |
# Does not affect python2 AFAICS (different sysconfig values initialization)
|
|
|
5023236 |
Patch178: 00178-dont-duplicate-flags-in-sysconfig.patch
|
|
|
e721470 |
|
|
Matej Stuchlik |
11fb599 |
# 00189 #
|
|
|
0b241ab |
# Instead of bundled wheels, use our RPM packaged wheels from
|
|
|
0b241ab |
# /usr/share/python-wheels
|
|
|
0b241ab |
Patch189: 00189-use-rpm-wheels.patch
|
|
|
486eb43 |
|
|
|
3702d0d |
# 00205 #
|
|
Robert Kuska |
a52deaa |
# LIBPL variable in makefile takes LIBPL from configure.ac
|
|
Robert Kuska |
a52deaa |
# but the LIBPL variable defined there doesn't respect libdir macro
|
|
Robert Kuska |
a52deaa |
Patch205: 00205-make-libpl-respect-lib64.patch
|
|
Robert Kuska |
a52deaa |
|
|
|
332b947 |
# 00251
|
|
|
332b947 |
# Set values of prefix and exec_prefix in distutils install command
|
|
|
332b947 |
# to /usr/local if executable is /usr/bin/python* and RPM build
|
|
|
332b947 |
# is not detected to make pip and distutils install into separate location
|
|
|
46034c8 |
# Fedora Change: https://fedoraproject.org/wiki/Changes/Making_sudo_pip_safe
|
|
|
332b947 |
Patch251: 00251-change-user-install-location.patch
|
|
|
332b947 |
|
|
|
9423d36 |
# 00274 #
|
|
|
9423d36 |
# Upstream uses Debian-style architecture naming. Change to match Fedora.
|
|
|
9423d36 |
Patch274: 00274-fix-arch-names.patch
|
|
|
9423d36 |
|
|
|
d3af3ef |
# 00291 #
|
|
|
d3af3ef |
# Build fails with undefined references to dlopen / dlsym otherwise.
|
|
|
d3af3ef |
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1537489
|
|
|
d3af3ef |
# and: https://src.fedoraproject.org/rpms/redhat-rpm-config/c/078af19
|
|
|
d3af3ef |
Patch291: 00291-setup-Link-ctypes-against-dl-explicitly.patch
|
|
|
e324bf2 |
|
|
|
72bc3f4 |
# 00312 #
|
|
|
72bc3f4 |
# Revert "bpo-6721: Hold logging locks across fork() 3b699932e5ac3e7
|
|
|
72bc3f4 |
# This is a TEMPORARY WORKAROUND for an urgent Fedora bug
|
|
|
72bc3f4 |
# TODO Investigate properly and get a real fix (here or in anaconda)!
|
|
|
72bc3f4 |
# See: https://bugzilla.redhat.com/show_bug.cgi?id=1644936
|
|
|
72bc3f4 |
Patch312: 00312-revert-bpo-6721.patch
|
|
|
72bc3f4 |
|
|
|
99ac2fc |
# (New patches go here ^^^)
|
|
|
99ac2fc |
#
|
|
|
77a5f91 |
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
|
|
|
77a5f91 |
# please try to keep the patch numbers in-sync between all specfiles.
|
|
|
99ac2fc |
#
|
|
|
77a5f91 |
# More information, and a patch number catalog, is at:
|
|
|
99ac2fc |
#
|
|
|
77a5f91 |
# https://fedoraproject.org/wiki/SIGs/Python/PythonPatches
|
|
|
77a5f91 |
|
|
|
c969609 |
|
|
|
094ccc0 |
# ==========================================
|
|
|
094ccc0 |
# Descriptions, and metadata for subpackages
|
|
|
094ccc0 |
# ==========================================
|
|
|
a3483f9 |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
8c67baf |
|
|
|
094ccc0 |
# Packages with Python modules in standard locations automatically
|
|
|
094ccc0 |
# depend on python(abi). Provide that here.
|
|
|
a3483f9 |
Provides: python(abi) = %{pybasever}
|
|
|
a3483f9 |
|
|
|
11efc8e |
# For backward compatibility only, remove in F29:
|
|
|
11efc8e |
Provides: system-python(abi) = %{pybasever}
|
|
|
11efc8e |
Provides: system-python = %{version}-%{release}
|
|
|
11efc8e |
Provides: system-python%{?_isa} = %{version}-%{release}
|
|
|
11efc8e |
Obsoletes: system-python < %{version}-%{release}
|
|
|
11efc8e |
|
|
|
26c1be5 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
26c1be5 |
|
|
|
f50a7d3 |
# In order to support multiple Python interpreters for development purposes,
|
|
|
8c67baf |
# packages with the naming scheme flatpackage (e.g. python35) exist for
|
|
|
f50a7d3 |
# non-default versions of Python 3.
|
|
|
f50a7d3 |
# For consistency, and to keep the upgrade path clean, we Provide/Obsolete
|
|
|
f50a7d3 |
# these names here.
|
|
|
1768987 |
Provides: python%{pyshortver} = %{version}-%{release}
|
|
|
f50a7d3 |
# Note that using Obsoletes without package version is not standard practice.
|
|
|
f50a7d3 |
# Here we assert that *any* version of the system's default interpreter is
|
|
|
f50a7d3 |
# preferable to an "extra" interpreter. For example, python3-3.6.1 will
|
|
|
f50a7d3 |
# replace python36-3.6.2.
|
|
|
f50a7d3 |
Obsoletes: python%{pyshortver}
|
|
|
1768987 |
|
|
|
e522c84 |
# Shall be removed in Fedora 31
|
|
|
1f528da |
# The release is bumped to 20, so we can do f27 platform-python updates
|
|
|
1f528da |
# If the release in f27 ever goes >= 20, raise it here
|
|
|
1f528da |
# If platform-python is ever reintroduced, make it higher version than this:
|
|
|
1f528da |
%global platpyver 3.6.2-20
|
|
|
e522c84 |
Obsoletes: platform-python < %{platpyver}
|
|
|
e522c84 |
|
|
|
b9e8a46 |
# Previously, this was required for our rewheel patch to work.
|
|
|
b9e8a46 |
# This is technically no longer needed, but we keep it recommended
|
|
|
b9e8a46 |
# for the developer experience.
|
|
|
b9e8a46 |
Recommends: python3-setuptools
|
|
|
b9e8a46 |
Recommends: python3-pip
|
|
|
b9e8a46 |
|
|
|
3f778c4 |
# This prevents ALL subpackages built from this spec to require
|
|
|
3f778c4 |
# /usr/bin/python3*. Granularity per subpackage is impossible.
|
|
|
3f778c4 |
# It's intended for the libs package not to drag in the interpreter, see
|
|
|
3f778c4 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1547131
|
|
|
3f778c4 |
# All others require %%{name} anyway.
|
|
|
3f778c4 |
%global __requires_exclude ^/usr/bin/python3
|
|
|
3f778c4 |
|
|
|
3f778c4 |
|
|
|
15a5ab1 |
# The description used both for the SRPM and the main `python3` subpackage:
|
|
|
a3483f9 |
%description
|
|
|
c2f8719 |
Python is an accessible, high-level, dynamically typed, interpreted programming
|
|
|
3bbc2a0 |
language, designed with an emphasis on code readability.
|
|
|
c2f8719 |
It includes an extensive standard library, and has a vast ecosystem of
|
|
|
c2f8719 |
third-party libraries.
|
|
|
6245861 |
|
|
|
af1dc26 |
The %{name} package provides the "python3" executable: the reference
|
|
|
15a5ab1 |
interpreter for the Python language, version 3.
|
|
|
c2f8719 |
The majority of its standard library is provided in the %{name}-libs package,
|
|
|
c2f8719 |
which should be installed automatically along with %{name}.
|
|
|
c2f8719 |
The remaining parts of the Python standard library are broken out into the
|
|
|
c2f8719 |
%{name}-tkinter and %{name}-test packages, which may need to be installed
|
|
|
c2f8719 |
separately.
|
|
|
6245861 |
|
|
|
c2f8719 |
Documentation for Python is provided in the %{name}-docs package.
|
|
|
c2f8719 |
|
|
|
c2f8719 |
Packages containing additional libraries for Python are generally named with
|
|
|
c2f8719 |
the "%{name}-" prefix.
|
|
|
6245861 |
|
|
|
a3483f9 |
|
|
|
a3483f9 |
%package libs
|
|
|
6245861 |
Summary: Python runtime libraries
|
|
|
a3483f9 |
|
|
|
094ccc0 |
# The "enum" module is included in the standard library.
|
|
|
094ccc0 |
# Provide an upgrade path from the external library.
|
|
Robert Kuska |
82c3cee |
Provides: python3-enum34 = 1.0.4-5%{?dist}
|
|
Robert Kuska |
82c3cee |
Obsoletes: python3-enum34 < 1.0.4-5%{?dist}
|
|
|
5974f19 |
|
|
|
094ccc0 |
# Python 3 built with glibc >= 2.24.90-26 needs to require it
|
|
|
094ccc0 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1410644
|
|
|
11efc8e |
Requires: glibc%{?_isa} >= 2.24.90-26
|
|
|
11efc8e |
|
|
|
1a43a65 |
%if %{with gdbm}
|
|
|
1a43a65 |
# When built with this (as guarded by the BuildRequires above), require it
|
|
|
da8bebd |
Requires: gdbm-libs%{?_isa} >= 1:1.13
|
|
|
1a43a65 |
%endif
|
|
|
1a43a65 |
|
|
|
0b241ab |
%if %{with rpmwheels}
|
|
|
0b241ab |
Requires: python-setuptools-wheel
|
|
|
0b241ab |
Requires: python-pip-wheel
|
|
|
0b241ab |
%else
|
|
|
0b241ab |
Provides: bundled(python3-pip) = 10.0.1
|
|
|
0b241ab |
Provides: bundled(python3-setuptools) = 39.0.1
|
|
|
0b241ab |
%endif
|
|
|
0b241ab |
|
|
|
3f778c4 |
# There are files in the standard library that have python shebang.
|
|
|
3f778c4 |
# We've filtered the automatic requirement out so libs are installable without
|
|
|
3f778c4 |
# the main package. This however makes it pulled in by default.
|
|
|
3f778c4 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1547131
|
|
|
3f778c4 |
Recommends: %{name}%{?_isa} = %{version}-%{release}
|
|
|
3f778c4 |
|
|
|
11efc8e |
# For backward compatibility only, remove in F29:
|
|
|
11efc8e |
Provides: system-python-libs = %{version}-%{release}
|
|
|
11efc8e |
Provides: system-python-libs%{?_isa} = %{version}-%{release}
|
|
|
11efc8e |
Obsoletes: system-python-libs < %{version}-%{release}
|
|
|
11efc8e |
|
|
|
e522c84 |
# Shall be removed in Fedora 31
|
|
|
e522c84 |
Obsoletes: platform-python-libs < %{platpyver}
|
|
|
e522c84 |
Obsoletes: platform-python-libs-devel < %{platpyver}
|
|
|
e522c84 |
|
|
|
a3483f9 |
%description libs
|
|
|
6245861 |
This package contains runtime libraries for use by Python:
|
|
|
c2f8719 |
- the majority of the Python standard library
|
|
|
c2f8719 |
- a dynamically linked library for use by applications that embed Python as
|
|
|
c2f8719 |
a scripting language, and by the main "python3" executable
|
|
|
c2f8719 |
|
|
|
a3483f9 |
|
|
|
a3483f9 |
%package devel
|
|
|
6245861 |
Summary: Libraries and header files needed for Python development
|
|
|
c75d3be |
Requires: %{name} = %{version}-%{release}
|
|
|
c75d3be |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
Orion Poplawski |
1eeebcf |
BuildRequires: python-rpm-macros
|
|
Orion Poplawski |
1eeebcf |
Requires: python-rpm-macros
|
|
Orion Poplawski |
1eeebcf |
Requires: python3-rpm-macros
|
|
|
bb9ca6b |
Requires: python3-rpm-generators
|
|
|
71718b6 |
|
|
|
4da7cff |
# This is not "API" (packages that need setuptools should still BuildRequire it)
|
|
|
4da7cff |
# However some packages apparently can build both with and without setuptools
|
|
|
4da7cff |
# producing egg-info as file or directory (depending on setuptools presence).
|
|
|
4da7cff |
# Directory-to-file updates are problematic in RPM, so we ensure setuptools is
|
|
|
4da7cff |
# installed when -devel is required.
|
|
|
4da7cff |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1623914
|
|
|
4da7cff |
# See https://fedoraproject.org/wiki/Packaging:Directory_Replacement
|
|
|
4da7cff |
Requires: python3-setuptools
|
|
|
4da7cff |
|
|
|
71718b6 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1217376
|
|
|
71718b6 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1496757
|
|
|
71718b6 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1218294
|
|
|
71718b6 |
# TODO change to a specific subpackage once available (#1218294)
|
|
|
71718b6 |
Requires: redhat-rpm-config
|
|
|
71718b6 |
|
|
|
d938460 |
Provides: %{name}-2to3 = %{version}-%{release}
|
|
|
d938460 |
Provides: 2to3 = %{version}-%{release}
|
|
|
d938460 |
|
|
|
a3483f9 |
Conflicts: %{name} < %{version}-%{release}
|
|
|
a3483f9 |
|
|
|
d938460 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1111275
|
|
|
d938460 |
# /usr/bin/2to3 was moved from python2-tools to python3-tools
|
|
|
d938460 |
# TODO Remove in Fedora 29
|
|
|
d938460 |
Conflicts: python2-tools < 2.7.13-17
|
|
|
d938460 |
Conflicts: python-tools < 2.7.13-17
|
|
|
d938460 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1312030
|
|
|
d938460 |
# /usr/bin/2to3 was moved from python3-tools to python3-devel
|
|
|
d938460 |
# TODO Remove in Fedora 30
|
|
|
dc669ab |
Conflicts: python3-tools < 3.7
|
|
|
d938460 |
|
|
|
e522c84 |
# Shall be removed in Fedora 31
|
|
|
e522c84 |
Obsoletes: platform-python-devel < %{platpyver}
|
|
|
e522c84 |
|
|
|
a3483f9 |
%description devel
|
|
|
c2f8719 |
This package contains the header files and configuration needed to compile
|
|
|
c2f8719 |
Python extension modules (typically written in C or C++), to embed Python
|
|
|
c2f8719 |
into other programs, and to make binary distributions for Python libraries.
|
|
|
c2f8719 |
|
|
|
d938460 |
It also contains the necessary macros to build RPM packages with Python modules
|
|
|
d938460 |
and 2to3 tool, an automatic source converter from Python 2.X.
|
|
|
6245861 |
|
|
|
a3483f9 |
|
|
|
d938460 |
%package idle
|
|
|
d938460 |
Summary: A basic graphical development environment for Python
|
|
|
a3483f9 |
Requires: %{name} = %{version}-%{release}
|
|
|
a3483f9 |
Requires: %{name}-tkinter = %{version}-%{release}
|
|
|
a3483f9 |
|
|
|
b0aea52 |
Provides: idle3 = %{version}-%{release}
|
|
|
b0aea52 |
|
|
|
d938460 |
Provides: %{name}-tools = %{version}-%{release}
|
|
|
d938460 |
Provides: %{name}-tools%{?_isa} = %{version}-%{release}
|
|
|
d938460 |
Obsoletes: %{name}-tools < %{version}-%{release}
|
|
|
357f40b |
|
|
|
e522c84 |
# Shall be removed in Fedora 31
|
|
|
e522c84 |
Obsoletes: platform-python-tools < %{platpyver}
|
|
|
e522c84 |
|
|
|
d938460 |
%description idle
|
|
|
d938460 |
IDLE is Python’s Integrated Development and Learning Environment.
|
|
|
d938460 |
|
|
|
d938460 |
IDLE has the following features: Python shell window (interactive
|
|
|
d938460 |
interpreter) with colorizing of code input, output, and error messages;
|
|
|
d938460 |
multi-window text editor with multiple undo, Python colorizing,
|
|
|
d938460 |
smart indent, call tips, auto completion, and other features;
|
|
|
d938460 |
search within any window, replace within editor windows, and
|
|
|
d938460 |
search through multiple files (grep); debugger with persistent
|
|
|
d938460 |
breakpoints, stepping, and viewing of global and local namespaces;
|
|
|
d938460 |
configuration, browsers, and other dialogs.
|
|
|
c2f8719 |
|
|
|
a3483f9 |
|
|
|
a3483f9 |
%package tkinter
|
|
|
6245861 |
Summary: A GUI toolkit for Python
|
|
|
a3483f9 |
Requires: %{name} = %{version}-%{release}
|
|
|
a3483f9 |
|
|
|
e522c84 |
# Shall be removed in Fedora 31
|
|
|
e522c84 |
Obsoletes: platform-python-tkinter < %{platpyver}
|
|
|
e522c84 |
|
|
|
a3483f9 |
%description tkinter
|
|
|
c2f8719 |
The Tkinter (Tk interface) library is a graphical user interface toolkit for
|
|
|
c2f8719 |
the Python programming language.
|
|
|
c2f8719 |
|
|
|
a3483f9 |
|
|
|
a3483f9 |
%package test
|
|
|
c2f8719 |
Summary: The self-test suite for the main python3 package
|
|
|
a3483f9 |
Requires: %{name} = %{version}-%{release}
|
|
|
a3483f9 |
|
|
|
e522c84 |
# Shall be removed in Fedora 31
|
|
|
e522c84 |
Obsoletes: platform-python-test < %{platpyver}
|
|
|
c2f8719 |
|
|
|
a3483f9 |
%description test
|
|
|
c2f8719 |
The self-test suite for the Python interpreter.
|
|
|
c2f8719 |
|
|
|
c2f8719 |
This is only useful to test Python itself. For testing general Python code,
|
|
|
c2f8719 |
you should use the unittest module from %{name}-libs, or a library such as
|
|
|
2bcebb2 |
%{name}-pytest or %{name}-nose.
|
|
|
a3483f9 |
|
|
|
a3483f9 |
|
|
|
043c574 |
%if %{with debug_build}
|
|
|
55cf580 |
%package debug
|
|
|
6245861 |
Summary: Debug version of the Python runtime
|
|
|
55cf580 |
|
|
|
55cf580 |
# The debug build is an all-in-one package version of the regular build, and
|
|
|
3bbc2a0 |
# shares the same .py/.pyc files and directories as the regular build. Hence
|
|
|
55cf580 |
# we depend on all of the subpackages of the regular build:
|
|
|
55cf580 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
55cf580 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
55cf580 |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
55cf580 |
Requires: %{name}-test%{?_isa} = %{version}-%{release}
|
|
|
55cf580 |
Requires: %{name}-tkinter%{?_isa} = %{version}-%{release}
|
|
|
d938460 |
Requires: %{name}-idle%{?_isa} = %{version}-%{release}
|
|
|
55cf580 |
|
|
|
55cf580 |
%description debug
|
|
|
6245861 |
python3-debug provides a version of the Python runtime with numerous debugging
|
|
|
c2f8719 |
features enabled, aimed at advanced Python users such as developers of Python
|
|
|
55cf580 |
extension modules.
|
|
|
55cf580 |
|
|
|
6245861 |
This version uses more memory and will be slower than the regular Python build,
|
|
|
c2f8719 |
but is useful for tracking down reference-counting issues and other bugs.
|
|
|
55cf580 |
|
|
|
c2f8719 |
The bytecode format is unchanged, so that .pyc files are compatible between
|
|
|
c2f8719 |
this and the standard version of Python, but the debugging features mean that
|
|
|
c2f8719 |
C/C++ extension modules are ABI-incompatible and must be built for each version
|
|
|
c2f8719 |
separately.
|
|
|
55cf580 |
|
|
|
c2f8719 |
The debug build shares installation directories with the standard Python
|
|
|
c2f8719 |
runtime, so that .py and .pyc files can be shared.
|
|
|
c2f8719 |
Compiled extension modules use a special ABI flag ("d") in the filename,
|
|
|
3bbc2a0 |
so extensions for both versions can co-exist in the same directory.
|
|
|
043c574 |
%endif # with debug_build
|
|
|
55cf580 |
|
|
|
8c67baf |
%else # with flatpackage
|
|
|
8c67baf |
|
|
|
8c67baf |
Requires: redhat-rpm-config
|
|
|
8c67baf |
|
|
|
8c67baf |
# We'll not provide this, on purpose
|
|
|
8c67baf |
# No package in Fedora shall ever depend on flatpackage via this
|
|
|
8c67baf |
%global __requires_exclude ^python\\(abi\\) = 3\\..$
|
|
|
8c67baf |
%global __provides_exclude ^python\\(abi\\) = 3\\..$
|
|
|
8c67baf |
|
|
|
0b241ab |
%if %{with rpmwheels}
|
|
|
0b241ab |
Requires: python-setuptools-wheel
|
|
|
0b241ab |
Requires: python-pip-wheel
|
|
|
0b241ab |
%else
|
|
|
611414f |
Provides: bundled(python3-pip) = 10.0.1
|
|
|
8c67baf |
Provides: bundled(python3-setuptools) = 39.0.1
|
|
|
0b241ab |
%endif
|
|
|
8c67baf |
|
|
|
8c67baf |
# The description for the flat package
|
|
|
8c67baf |
%description
|
|
|
8c67baf |
Python %{pybasever} package for developers.
|
|
|
8c67baf |
|
|
|
fc23c47 |
This package exists to allow developers to test their code against a newer
|
|
|
8c67baf |
version of Python. This is not a full Python stack and if you wish to run
|
|
|
63459d7 |
your applications with Python %{pybasever}, update your Fedora to a newer
|
|
|
63459d7 |
version once Python %{pybasever} is stable.
|
|
|
8c67baf |
|
|
|
8c67baf |
%endif # with flatpackage
|
|
|
c2f8719 |
|
|
|
c769a6b |
# ======================================================
|
|
|
c769a6b |
# The prep phase of the build:
|
|
|
c769a6b |
# ======================================================
|
|
|
c769a6b |
|
|
|
a3483f9 |
%prep
|
|
|
f5250ec |
%setup -q -n Python-%{version}%{?prerel}
|
|
|
6859f23 |
|
|
|
3a884e4 |
# Remove bundled libraries to ensure that we're using the system copy.
|
|
|
3a884e4 |
rm -r Modules/expat
|
|
|
1ae4dd3 |
|
|
|
1ae4dd3 |
#
|
|
|
1ae4dd3 |
# Apply patches:
|
|
|
1ae4dd3 |
#
|
|
|
7eb10c8 |
%patch1 -p1
|
|
|
7eb10c8 |
|
|
|
a3483f9 |
%if "%{_lib}" == "lib64"
|
|
|
7eb10c8 |
%patch102 -p1
|
|
|
a3483f9 |
%endif
|
|
Robert Kuska |
7035fe2 |
%patch111 -p1
|
|
|
0c8875f |
%patch132 -p1
|
|
|
8a28107 |
%patch155 -p1
|
|
|
823581e |
%patch160 -p1
|
|
|
48d2048 |
%patch163 -p1
|
|
|
0424a4f |
%patch170 -p1
|
|
|
5023236 |
%patch178 -p1
|
|
|
0c8875f |
|
|
|
0b241ab |
%if %{with rpmwheels}
|
|
Matej Stuchlik |
11fb599 |
%patch189 -p1
|
|
|
0b241ab |
rm Lib/ensurepip/_bundled/*.whl
|
|
Matej Stuchlik |
11fb599 |
%endif
|
|
Matej Stuchlik |
11fb599 |
|
|
Robert Kuska |
a52deaa |
%patch205 -p1
|
|
|
332b947 |
%patch251 -p1
|
|
|
9423d36 |
%patch274 -p1
|
|
|
d3af3ef |
%patch291 -p1
|
|
|
72bc3f4 |
%patch312 -p1
|
|
|
27c558e |
|
|
|
0efd3d3 |
|
|
|
96a7bd5 |
# Remove files that should be generated by the build
|
|
|
96a7bd5 |
# (This is after patching, so that we can use patches directly from upstream)
|
|
|
96a7bd5 |
rm configure pyconfig.h.in
|
|
|
96a7bd5 |
|
|
|
96a7bd5 |
|
|
|
c769a6b |
# ======================================================
|
|
|
c769a6b |
# Configuring and building the code:
|
|
|
c769a6b |
# ======================================================
|
|
|
c769a6b |
|
|
|
a3483f9 |
%build
|
|
|
96a7bd5 |
|
|
|
96a7bd5 |
# Regenerate the configure script and pyconfig.h.in
|
|
|
96a7bd5 |
autoconf
|
|
|
96a7bd5 |
autoheader
|
|
|
96a7bd5 |
|
|
|
db2797c |
# Remember the current directory (which has sources and the configure script),
|
|
|
db2797c |
# so we can refer to it after we "cd" elsewhere.
|
|
|
55cf580 |
topdir=$(pwd)
|
|
|
db2797c |
|
|
|
db2797c |
# Get proper option names from bconds
|
|
|
db2797c |
%if %{with computed_gotos}
|
|
|
db2797c |
%global computed_gotos_flag yes
|
|
|
db2797c |
%else
|
|
|
db2797c |
%global computed_gotos_flag no
|
|
|
db2797c |
%endif
|
|
|
db2797c |
|
|
|
db2797c |
%if %{with optimizations}
|
|
|
db2797c |
%global optimizations_flag "--enable-optimizations"
|
|
|
db2797c |
%else
|
|
|
db2797c |
%global optimizations_flag "--disable-optimizations"
|
|
|
db2797c |
%endif
|
|
|
db2797c |
|
|
|
db2797c |
# Set common compiler/linker flags
|
|
|
5c9590b |
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
|
|
|
5c9590b |
export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
|
|
|
db2797c |
export CPPFLAGS="$(pkg-config --cflags-only-I libffi)"
|
|
|
5c9590b |
export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
|
|
|
a3483f9 |
export LINKCC="gcc"
|
|
|
db2797c |
export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
|
|
Iryna Shcherbina |
87e35ed |
export LDFLAGS="$RPM_LD_FLAGS -g $(pkg-config --libs-only-L openssl)"
|
|
|
a3483f9 |
|
|
|
db2797c |
# We can build several different configurations of Python: regular and debug.
|
|
|
db2797c |
# Define a common function that does one build:
|
|
|
55cf580 |
BuildPython() {
|
|
Robert Kuska |
a0e3ab8 |
ConfName=$1
|
|
|
db2797c |
ExtraConfigArgs=$2
|
|
|
db2797c |
MoreCFlags=$3
|
|
|
55cf580 |
|
|
|
db2797c |
# Each build is done in its own directory
|
|
|
55cf580 |
ConfDir=build/$ConfName
|
|
|
db2797c |
echo STARTING: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
55cf580 |
mkdir -p $ConfDir
|
|
|
55cf580 |
pushd $ConfDir
|
|
|
55cf580 |
|
|
|
db2797c |
# Normally, %%configure looks for the "configure" script in the current
|
|
|
db2797c |
# directory.
|
|
|
db2797c |
# Since we changed directories, we need to tell %%configure where to look.
|
|
|
55cf580 |
%global _configure $topdir/configure
|
|
|
55cf580 |
|
|
|
c969609 |
%configure \
|
|
|
c969609 |
--enable-ipv6 \
|
|
|
c969609 |
--enable-shared \
|
|
|
043c574 |
--with-computed-gotos=%{computed_gotos_flag} \
|
|
|
ecc5705 |
--with-dbmliborder=gdbm:ndbm:bdb \
|
|
|
ecc5705 |
--with-system-expat \
|
|
|
ecc5705 |
--with-system-ffi \
|
|
|
b8daf73 |
--enable-loadable-sqlite-extensions \
|
|
|
af1b222 |
--with-dtrace \
|
|
|
3f69bcd |
--with-lto \
|
|
|
969d514 |
--with-ssl-default-suites=openssl \
|
|
|
043c574 |
%if %{with valgrind}
|
|
|
31a06df |
--with-valgrind \
|
|
|
31a06df |
%endif
|
|
|
55cf580 |
$ExtraConfigArgs \
|
|
|
55cf580 |
%{nil}
|
|
|
c969609 |
|
|
|
db2797c |
# Invoke the build
|
|
Matej Stuchlik |
318f360 |
make EXTRA_CFLAGS="$CFLAGS $MoreCFlags" %{?_smp_mflags}
|
|
|
a3483f9 |
|
|
|
55cf580 |
popd
|
|
|
db2797c |
echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
55cf580 |
}
|
|
|
55cf580 |
|
|
|
db2797c |
# Call the above to build each configuration.
|
|
|
55cf580 |
|
|
|
043c574 |
%if %{with debug_build}
|
|
|
55cf580 |
BuildPython debug \
|
|
|
db2797c |
"--without-ensurepip --with-pydebug" \
|
|
|
091b4b2 |
"-Og"
|
|
|
043c574 |
%endif # with debug_build
|
|
|
55cf580 |
|
|
|
55cf580 |
BuildPython optimized \
|
|
|
db2797c |
"--without-ensurepip %{optimizations_flag}" \
|
|
|
db2797c |
""
|
|
|
55cf580 |
|
|
|
c769a6b |
# ======================================================
|
|
|
c769a6b |
# Installing the built code:
|
|
|
c769a6b |
# ======================================================
|
|
|
a3483f9 |
|
|
|
a3483f9 |
%install
|
|
|
208332b |
|
|
|
208332b |
# As in %%build, remember the current directory
|
|
|
55cf580 |
topdir=$(pwd)
|
|
|
a3483f9 |
|
|
|
208332b |
# We install a collection of hooks for gdb that make it easier to debug
|
|
|
208332b |
# executables linked against libpython3* (such as /usr/bin/python3 itself)
|
|
|
208332b |
#
|
|
|
208332b |
# These hooks are implemented in Python itself (though they are for the version
|
|
|
208332b |
# of python that gdb is linked with)
|
|
|
208332b |
#
|
|
|
208332b |
# gdb-archer looks for them in the same path as the ELF file or its .debug
|
|
|
208332b |
# file, with a -gdb.py suffix.
|
|
|
208332b |
# We put them next to the debug file, because ldconfig would complain if
|
|
|
208332b |
# it found non-library files directly in /usr/lib/
|
|
|
208332b |
# (see https://bugzilla.redhat.com/show_bug.cgi?id=562980)
|
|
|
208332b |
#
|
|
|
208332b |
# We'll put these files in the debuginfo package by installing them to e.g.:
|
|
|
208332b |
# /usr/lib/debug/usr/lib/libpython3.2.so.1.0.debug-gdb.py
|
|
|
208332b |
# (note that the debug path is /usr/lib/debug for both 32/64 bit)
|
|
|
208332b |
#
|
|
|
208332b |
# See https://fedoraproject.org/wiki/Features/EasierPythonDebugging for more
|
|
|
208332b |
# information
|
|
|
208332b |
|
|
|
208332b |
%if %{with gdb_hooks}
|
|
|
208332b |
DirHoldingGdbPy=%{_prefix}/lib/debug/%{_libdir}
|
|
|
208332b |
mkdir -p %{buildroot}$DirHoldingGdbPy
|
|
|
208332b |
%endif # with gdb_hooks
|
|
|
208332b |
|
|
|
6c51695 |
# Multilib support for pyconfig.h
|
|
|
6c51695 |
# 32- and 64-bit versions of pyconfig.h are different. For multilib support
|
|
|
6c51695 |
# (making it possible to install 32- and 64-bit versions simultaneously),
|
|
|
6c51695 |
# we need to install them under different filenames, and to make the common
|
|
|
6c51695 |
# "pyconfig.h" include the right file based on architecture.
|
|
|
6c51695 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=192747
|
|
|
6c51695 |
# Filanames are defined here:
|
|
|
6c51695 |
%global _pyconfig32_h pyconfig-32.h
|
|
|
6c51695 |
%global _pyconfig64_h pyconfig-64.h
|
|
|
64593af |
%global _pyconfig_h pyconfig-%{wordsize}.h
|
|
|
6c51695 |
|
|
|
208332b |
# Use a common function to do an install for all our configurations:
|
|
|
55cf580 |
InstallPython() {
|
|
|
55cf580 |
|
|
Robert Kuska |
a0e3ab8 |
ConfName=$1
|
|
|
55cf580 |
PyInstSoName=$2
|
|
Matej Stuchlik |
318f360 |
MoreCFlags=$3
|
|
|
474cc9f |
LDVersion=$4
|
|
|
55cf580 |
|
|
|
208332b |
# Switch to the directory with this configuration's built files
|
|
|
55cf580 |
ConfDir=build/$ConfName
|
|
|
55cf580 |
echo STARTING: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
55cf580 |
mkdir -p $ConfDir
|
|
|
55cf580 |
pushd $ConfDir
|
|
|
55cf580 |
|
|
|
208332b |
make \
|
|
|
208332b |
DESTDIR=%{buildroot} \
|
|
|
208332b |
INSTALL="install -p" \
|
|
|
208332b |
EXTRA_CFLAGS="$MoreCFlags" \
|
|
|
208332b |
install
|
|
|
a3483f9 |
|
|
|
cfd3e15 |
popd
|
|
|
55cf580 |
|
|
|
043c574 |
%if %{with gdb_hooks}
|
|
|
208332b |
# See comment on $DirHoldingGdbPy above
|
|
|
e49a729 |
PathOfGdbPy=$DirHoldingGdbPy/$PyInstSoName-%{version}-%{release}.%{_arch}.debug-gdb.py
|
|
|
cfd3e15 |
cp Tools/gdb/libpython.py %{buildroot}$PathOfGdbPy
|
|
|
043c574 |
%endif # with gdb_hooks
|
|
|
55cf580 |
|
|
|
474cc9f |
# Rename the -devel script that differs on different arches to arch specific name
|
|
|
474cc9f |
mv %{buildroot}%{_bindir}/python${LDVersion}-{,`uname -m`-}config
|
|
|
474cc9f |
echo -e '#!/bin/sh\nexec `dirname $0`/python'${LDVersion}'-`uname -m`-config "$@"' > \
|
|
|
474cc9f |
%{buildroot}%{_bindir}/python${LDVersion}-config
|
|
|
474cc9f |
echo '[ $? -eq 127 ] && echo "Could not find python'${LDVersion}'-`uname -m`-config. Look around to see available arches." >&2' >> \
|
|
|
474cc9f |
%{buildroot}%{_bindir}/python${LDVersion}-config
|
|
|
474cc9f |
chmod +x %{buildroot}%{_bindir}/python${LDVersion}-config
|
|
|
474cc9f |
|
|
|
6c51695 |
# Make python3-devel multilib-ready
|
|
|
6c51695 |
mv %{buildroot}%{_includedir}/python${LDVersion}/pyconfig.h \
|
|
|
6c51695 |
%{buildroot}%{_includedir}/python${LDVersion}/%{_pyconfig_h}
|
|
|
6c51695 |
cat > %{buildroot}%{_includedir}/python${LDVersion}/pyconfig.h << EOF
|
|
|
6c51695 |
#include <bits/wordsize.h>
|
|
|
6c51695 |
|
|
|
6c51695 |
#if __WORDSIZE == 32
|
|
|
e8fa184 |
#include "%{_pyconfig32_h}"
|
|
|
6c51695 |
#elif __WORDSIZE == 64
|
|
|
e8fa184 |
#include "%{_pyconfig64_h}"
|
|
|
6c51695 |
#else
|
|
|
6c51695 |
#error "Unknown word size"
|
|
|
6c51695 |
#endif
|
|
|
6c51695 |
EOF
|
|
|
6c51695 |
|
|
|
55cf580 |
echo FINISHED: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
55cf580 |
}
|
|
|
55cf580 |
|
|
|
7c72174 |
# Install the "debug" build first; any common files will be overridden with
|
|
|
208332b |
# later builds
|
|
|
043c574 |
%if %{with debug_build}
|
|
|
55cf580 |
InstallPython debug \
|
|
Matej Stuchlik |
318f360 |
%{py_INSTSONAME_debug} \
|
|
|
474cc9f |
-O0 \
|
|
|
ffaa0f3 |
%{LDVERSION_debug}
|
|
|
043c574 |
%endif # with debug_build
|
|
|
55cf580 |
|
|
|
55cf580 |
# Now the optimized build:
|
|
|
55cf580 |
InstallPython optimized \
|
|
|
208332b |
%{py_INSTSONAME_optimized} \
|
|
|
474cc9f |
"" \
|
|
|
ffaa0f3 |
%{LDVERSION_optimized}
|
|
|
55cf580 |
|
|
|
f86b3d1 |
# Install directories for additional packages
|
|
|
b3fc51b |
install -d -m 0755 %{buildroot}%{pylibdir}/site-packages/__pycache__
|
|
|
f86b3d1 |
%if "%{_lib}" == "lib64"
|
|
|
f86b3d1 |
# The 64-bit version needs to create "site-packages" in /usr/lib/ (for
|
|
|
f86b3d1 |
# pure-Python modules) as well as in /usr/lib64/ (for packages with extension
|
|
|
f86b3d1 |
# modules).
|
|
|
f86b3d1 |
# Note that rpmlint will complain about hardcoded library path;
|
|
|
f86b3d1 |
# this is intentional.
|
|
|
f86b3d1 |
install -d -m 0755 %{buildroot}%{_prefix}/lib/python%{pybasever}/site-packages/__pycache__
|
|
|
f86b3d1 |
%endif
|
|
|
a3483f9 |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
860f392 |
# add idle3 to menu
|
|
|
b3fc51b |
install -D -m 0644 Lib/idlelib/Icons/idle_16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/idle3.png
|
|
|
b3fc51b |
install -D -m 0644 Lib/idlelib/Icons/idle_32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/idle3.png
|
|
|
b3fc51b |
install -D -m 0644 Lib/idlelib/Icons/idle_48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/idle3.png
|
|
|
b3fc51b |
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE10}
|
|
|
860f392 |
|
|
|
860f392 |
# Install and validate appdata file
|
|
|
838e397 |
mkdir -p %{buildroot}%{_metainfodir}
|
|
|
838e397 |
cp -a %{SOURCE11} %{buildroot}%{_metainfodir}
|
|
|
838e397 |
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/idle3.appdata.xml
|
|
|
8c67baf |
%endif
|
|
|
860f392 |
|
|
|
6c51695 |
# Make sure distutils looks at the right pyconfig.h file
|
|
|
6c51695 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=201434
|
|
|
824c34b |
# Similar for sysconfig: sysconfig.get_config_h_filename tries to locate
|
|
|
824c34b |
# pyconfig.h so it can be parsed, and needs to do this at runtime in site.py
|
|
|
6c51695 |
# when python starts up (see https://bugzilla.redhat.com/show_bug.cgi?id=653058)
|
|
|
824c34b |
#
|
|
|
824c34b |
# Split this out so it goes directly to the pyconfig-32.h/pyconfig-64.h
|
|
|
824c34b |
# variants:
|
|
|
824c34b |
sed -i -e "s/'pyconfig.h'/'%{_pyconfig_h}'/" \
|
|
|
824c34b |
%{buildroot}%{pylibdir}/distutils/sysconfig.py \
|
|
|
824c34b |
%{buildroot}%{pylibdir}/sysconfig.py
|
|
|
a3483f9 |
|
|
|
d938460 |
# Install pathfix.py to bindir
|
|
|
d938460 |
# See https://github.com/fedora-python/python-rpm-porting/issues/24
|
|
|
d938460 |
cp -p Tools/scripts/pathfix.py %{buildroot}%{_bindir}/
|
|
|
d938460 |
|
|
|
83a5f52 |
# Install i18n tools to bindir
|
|
|
83a5f52 |
# They are also in python2, so we version them
|
|
|
83a5f52 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1571474
|
|
|
83a5f52 |
for tool in pygettext msgfmt; do
|
|
|
83a5f52 |
cp -p Tools/i18n/${tool}.py %{buildroot}%{_bindir}/${tool}%{pybasever}.py
|
|
|
83a5f52 |
ln -s ${tool}%{pybasever}.py %{buildroot}%{_bindir}/${tool}3.py
|
|
|
83a5f52 |
done
|
|
|
83a5f52 |
|
|
|
a3483f9 |
# Switch all shebangs to refer to the specific Python version.
|
|
Iryna Shcherbina |
685fb7b |
# This currently only covers files matching ^[a-zA-Z0-9_]+\.py$,
|
|
Iryna Shcherbina |
685fb7b |
# so handle files named using other naming scheme separately.
|
|
|
55cf580 |
LD_LIBRARY_PATH=./build/optimized ./build/optimized/python \
|
|
|
55cf580 |
Tools/scripts/pathfix.py \
|
|
|
6c5992e |
-i "%{_bindir}/python%{pybasever}" -pn \
|
|
|
6c5992e |
%{buildroot} \
|
|
|
83a5f52 |
%{buildroot}%{_bindir}/*%{pybasever}.py \
|
|
|
6c5992e |
%{?with_gdb_hooks:%{buildroot}$DirHoldingGdbPy/*.py}
|
|
|
0652b06 |
|
|
|
d938460 |
# Remove tests for python3-tools which was removed in
|
|
|
d938460 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1312030
|
|
|
d938460 |
rm -rf %{buildroot}%{pylibdir}/test/test_tools
|
|
|
0652b06 |
|
|
|
a3483f9 |
# Remove shebang lines from .py files that aren't executable, and
|
|
|
a3483f9 |
# remove executability from .py files that don't have a shebang line:
|
|
|
71040c9 |
find %{buildroot} -name \*.py \
|
|
|
a3483f9 |
\( \( \! -perm /u+x,g+x,o+x -exec sed -e '/^#!/Q 0' -e 'Q 1' {} \; \
|
|
|
a3483f9 |
-print -exec sed -i '1d' {} \; \) -o \( \
|
|
|
a3483f9 |
-perm /u+x,g+x,o+x ! -exec grep -m 1 -q '^#!' {} \; \
|
|
|
a3483f9 |
-exec chmod a-x {} \; \) \)
|
|
|
a3483f9 |
|
|
|
a3483f9 |
# Get rid of DOS batch files:
|
|
|
71040c9 |
find %{buildroot} -name \*.bat -exec rm {} \;
|
|
|
a3483f9 |
|
|
|
a3483f9 |
# Get rid of backup files:
|
|
|
71040c9 |
find %{buildroot}/ -name "*~" -exec rm -f {} \;
|
|
|
a3483f9 |
find . -name "*~" -exec rm -f {} \;
|
|
|
a3483f9 |
|
|
|
d54a775 |
# Get rid of a stray copy of the license:
|
|
|
d54a775 |
rm %{buildroot}%{pylibdir}/LICENSE.txt
|
|
|
a3483f9 |
|
|
Thomas Spura |
1c26b68 |
# Do bytecompilation with the newly installed interpreter.
|
|
Thomas Spura |
e6314e6 |
# This is similar to the script in macros.pybytecompile
|
|
Thomas Spura |
ae2fc1c |
# compile *.pyc
|
|
Thomas Spura |
ae2fc1c |
find %{buildroot} -type f -a -name "*.py" -print0 | \
|
|
Thomas Spura |
ae2fc1c |
LD_LIBRARY_PATH="%{buildroot}%{dynload_dir}/:%{buildroot}%{_libdir}" \
|
|
|
3dbbc14 |
PYTHONPATH="%{buildroot}%{_libdir}/python%{pybasever} %{buildroot}%{_libdir}/python%{pybasever}/site-packages" \
|
|
|
b2fa007 |
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:]]' || :
|
|
|
a3483f9 |
|
|
|
0652b06 |
# Since we have pathfix.py in bindir, this is created, but we don't want it
|
|
|
0652b06 |
rm -rf %{buildroot}%{_bindir}/__pycache__
|
|
|
0652b06 |
|
|
|
a3483f9 |
# Fixup permissions for shared libraries from non-standard 555 to standard 755:
|
|
|
d54a775 |
find %{buildroot} -perm 555 -exec chmod 755 {} \;
|
|
|
a3483f9 |
|
|
|
9640a7e |
# Create "/usr/bin/python3-debug", a symlink to the python3 debug binary, to
|
|
|
c4a5733 |
# avoid the user having to know the precise version and ABI flags.
|
|
|
c4a5733 |
# See e.g. https://bugzilla.redhat.com/show_bug.cgi?id=676748
|
|
|
8c67baf |
%if %{with debug_build} && %{without flatpackage}
|
|
|
9640a7e |
ln -s \
|
|
|
9640a7e |
%{_bindir}/python%{LDVERSION_debug} \
|
|
|
9640a7e |
%{buildroot}%{_bindir}/python3-debug
|
|
|
00fd884 |
%endif
|
|
|
9640a7e |
|
|
|
11efc8e |
# System Python: Link the executable to libexec
|
|
|
11efc8e |
# This is for backwards compatibility only and should be removed in Fedora 29
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
60aba0a |
mkdir -p %{buildroot}%{_libexecdir}
|
|
|
11efc8e |
ln -s %{_bindir}/python%{pybasever} %{buildroot}%{_libexecdir}/system-python
|
|
|
8c67baf |
%endif
|
|
|
60aba0a |
|
|
|
dc669ab |
# There's 2to3-X.X executable and 2to3 soft link to it.
|
|
|
dc669ab |
# No reason to have both, so keep only 2to3 as an executable.
|
|
|
dc669ab |
# See https://bugzilla.redhat.com/show_bug.cgi?id=1111275
|
|
|
dc669ab |
mv %{buildroot}%{_bindir}/2to3-%{pybasever} %{buildroot}%{_bindir}/2to3
|
|
|
6a6d4a0 |
|
|
|
8c67baf |
%if %{with flatpackage}
|
|
|
8c67baf |
# Remove stuff that would conflict with python3 package
|
|
|
8c67baf |
rm %{buildroot}%{_bindir}/python3
|
|
|
8c67baf |
rm %{buildroot}%{_bindir}/pydoc3
|
|
|
8c67baf |
rm %{buildroot}%{_bindir}/pathfix.py
|
|
|
83a5f52 |
rm %{buildroot}%{_bindir}/pygettext3.py
|
|
|
83a5f52 |
rm %{buildroot}%{_bindir}/msgfmt3.py
|
|
|
8c67baf |
rm %{buildroot}%{_bindir}/idle3
|
|
|
8c67baf |
rm %{buildroot}%{_bindir}/python3-*
|
|
|
8c67baf |
rm %{buildroot}%{_bindir}/pyvenv
|
|
|
6a6d4a0 |
rm %{buildroot}%{_bindir}/2to3
|
|
|
8c67baf |
rm %{buildroot}%{_libdir}/libpython3.so
|
|
|
8c67baf |
rm %{buildroot}%{_mandir}/man1/python3.1*
|
|
|
8c67baf |
rm %{buildroot}%{_libdir}/pkgconfig/python3.pc
|
|
|
8c67baf |
%endif
|
|
|
7e7918a |
|
|
|
7e7918a |
|
|
|
c769a6b |
# ======================================================
|
|
|
ec8375c |
# Checks for packaging issues
|
|
|
c769a6b |
# ======================================================
|
|
|
c769a6b |
|
|
|
a3483f9 |
%check
|
|
|
3dbbc14 |
|
|
|
3dbbc14 |
# first of all, check timestamps of bytecode files
|
|
|
3dbbc14 |
find %{buildroot} -type f -a -name "*.py" -print0 | \
|
|
|
3dbbc14 |
LD_LIBRARY_PATH="%{buildroot}%{dynload_dir}/:%{buildroot}%{_libdir}" \
|
|
|
3dbbc14 |
PYTHONPATH="%{buildroot}%{_libdir}/python%{pybasever} %{buildroot}%{_libdir}/python%{pybasever}/site-packages" \
|
|
|
3dbbc14 |
xargs -0 %{buildroot}%{_bindir}/python%{pybasever} %{SOURCE8}
|
|
|
3dbbc14 |
|
|
|
ec8375c |
# Ensure that the curses module was linked against libncursesw.so, rather than
|
|
|
ec8375c |
# libncurses.so
|
|
|
ec8375c |
# See https://bugzilla.redhat.com/show_bug.cgi?id=539917
|
|
|
ec8375c |
ldd %{buildroot}/%{dynload_dir}/_curses*.so \
|
|
|
ec8375c |
| grep curses \
|
|
|
ec8375c |
| grep libncurses.so && (echo "_curses.so linked against libncurses.so" ; exit 1)
|
|
|
ec8375c |
|
|
|
ec8375c |
# Ensure that the debug modules are linked against the debug libpython, and
|
|
|
ec8375c |
# likewise for the optimized modules and libpython:
|
|
|
ec8375c |
for Module in %{buildroot}/%{dynload_dir}/*.so ; do
|
|
|
ec8375c |
case $Module in
|
|
|
ec8375c |
*.%{SOABI_debug})
|
|
|
ec8375c |
ldd $Module | grep %{py_INSTSONAME_optimized} &&
|
|
|
ec8375c |
(echo Debug module $Module linked against optimized %{py_INSTSONAME_optimized} ; exit 1)
|
|
|
ec8375c |
|
|
|
ec8375c |
;;
|
|
|
ec8375c |
*.%{SOABI_optimized})
|
|
|
ec8375c |
ldd $Module | grep %{py_INSTSONAME_debug} &&
|
|
|
ec8375c |
(echo Optimized module $Module linked against debug %{py_INSTSONAME_debug} ; exit 1)
|
|
|
ec8375c |
;;
|
|
|
ec8375c |
esac
|
|
|
ec8375c |
done
|
|
|
ec8375c |
|
|
|
63459d7 |
|
|
|
ec8375c |
# ======================================================
|
|
|
ec8375c |
# Running the upstream test suite
|
|
|
ec8375c |
# ======================================================
|
|
|
ec8375c |
|
|
|
55cf580 |
topdir=$(pwd)
|
|
|
55cf580 |
CheckPython() {
|
|
Robert Kuska |
a0e3ab8 |
ConfName=$1
|
|
|
5080ffc |
ConfDir=$(pwd)/build/$ConfName
|
|
|
55cf580 |
|
|
|
4aa9ebc |
# Fedora sets TLSv1 as explicit minimum version.
|
|
|
4aa9ebc |
# Python's test suite assumes that the minimum protocol version is set to
|
|
|
4aa9ebc |
# a magic marker. We workaround the test problem by setting:
|
|
|
4aa9ebc |
export OPENSSL_CONF=/non-existing-file
|
|
|
4aa9ebc |
# https://bugzilla.redhat.com/show_bug.cgi?id=1618753
|
|
|
4aa9ebc |
|
|
|
55cf580 |
echo STARTING: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
55cf580 |
|
|
|
5a48967 |
# Note that we're running the tests using the version of the code in the
|
|
|
5a48967 |
# builddir, not in the buildroot.
|
|
|
5db81fb |
|
|
|
0c8875f |
# Run the upstream test suite, setting "WITHIN_PYTHON_RPM_BUILD" so that the
|
|
|
0c8875f |
# our non-standard decorators take effect on the relevant tests:
|
|
|
0c8875f |
# @unittest._skipInRpmBuild(reason)
|
|
|
0c8875f |
# @unittest._expectedFailureInRpmBuild
|
|
|
0c8875f |
WITHIN_PYTHON_RPM_BUILD= \
|
|
|
9a778ac |
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
|
|
|
5b6a3e0 |
-wW --slowest --findleaks \
|
|
Matej Stuchlik |
318f360 |
-x test_distutils \
|
|
|
bbf2225 |
-x test_bdist_rpm \
|
|
|
e354fb5 |
-x test_gdb \
|
|
|
4bc70e0 |
%ifarch %{mips64}
|
|
|
1b09295 |
-x test_ctypes \
|
|
|
4bc70e0 |
%endif
|
|
|
be04920 |
%ifarch ppc64le
|
|
|
be04920 |
-x test_buffer \
|
|
Matej Stuchlik |
1746188 |
%endif
|
|
|
a3483f9 |
|
|
|
5db81fb |
echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
55cf580 |
|
|
|
55cf580 |
}
|
|
|
55cf580 |
|
|
|
043c574 |
%if %{with tests}
|
|
|
a5cef79 |
|
|
|
55cf580 |
# Check each of the configurations:
|
|
|
043c574 |
%if %{with debug_build}
|
|
|
55cf580 |
CheckPython debug
|
|
|
043c574 |
%endif # with debug_build
|
|
|
55cf580 |
CheckPython optimized
|
|
|
55cf580 |
|
|
|
043c574 |
%endif # with tests
|
|
|
a5cef79 |
|
|
|
55cf580 |
|
|
|
4aab458 |
%files
|
|
|
ea14453 |
%license LICENSE
|
|
Iryna Shcherbina |
aba719b |
%doc README.rst
|
|
|
8c67baf |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
a3483f9 |
%{_bindir}/pydoc*
|
|
|
a3483f9 |
%{_bindir}/python3
|
|
|
1c94c1a |
%{_bindir}/pyvenv
|
|
|
11efc8e |
# Remove in Fedora 29:
|
|
|
11efc8e |
%{_libexecdir}/system-python
|
|
|
8c67baf |
%else
|
|
|
8c67baf |
%{_bindir}/pydoc%{pybasever}
|
|
|
8c67baf |
%endif
|
|
|
63459d7 |
|
|
|
8c67baf |
%{_bindir}/python%{pybasever}
|
|
|
8c67baf |
%{_bindir}/python%{pybasever}m
|
|
|
f2d9a81 |
%{_bindir}/pyvenv-%{pybasever}
|
|
|
a3483f9 |
%{_mandir}/*/*
|
|
|
26c1be5 |
|
|
|
26c1be5 |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
26c1be5 |
%files libs
|
|
|
ea14453 |
%license LICENSE
|
|
Iryna Shcherbina |
aba719b |
%doc README.rst
|
|
|
8c67baf |
%endif
|
|
|
60aba0a |
|
|
|
11efc8e |
%dir %{pylibdir}
|
|
|
11efc8e |
%dir %{dynload_dir}
|
|
|
11efc8e |
|
|
|
60aba0a |
%{pylibdir}/lib2to3
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
60aba0a |
%exclude %{pylibdir}/lib2to3/tests
|
|
|
8c67baf |
%endif
|
|
|
60aba0a |
|
|
|
60aba0a |
%dir %{pylibdir}/unittest/
|
|
|
60aba0a |
%dir %{pylibdir}/unittest/__pycache__/
|
|
|
60aba0a |
%{pylibdir}/unittest/*.py
|
|
|
60aba0a |
%{pylibdir}/unittest/__pycache__/*%{bytecode_suffixes}
|
|
|
60aba0a |
|
|
|
60aba0a |
%dir %{pylibdir}/asyncio/
|
|
|
60aba0a |
%dir %{pylibdir}/asyncio/__pycache__/
|
|
|
60aba0a |
%{pylibdir}/asyncio/*.py
|
|
|
60aba0a |
%{pylibdir}/asyncio/__pycache__/*%{bytecode_suffixes}
|
|
|
60aba0a |
|
|
|
60aba0a |
%dir %{pylibdir}/venv/
|
|
|
60aba0a |
%dir %{pylibdir}/venv/__pycache__/
|
|
|
60aba0a |
%{pylibdir}/venv/*.py
|
|
|
60aba0a |
%{pylibdir}/venv/__pycache__/*%{bytecode_suffixes}
|
|
|
60aba0a |
%{pylibdir}/venv/scripts
|
|
|
60aba0a |
|
|
|
60aba0a |
%{pylibdir}/wsgiref
|
|
|
60aba0a |
%{pylibdir}/xmlrpc
|
|
|
60aba0a |
|
|
|
60aba0a |
%dir %{pylibdir}/ensurepip/
|
|
|
60aba0a |
%dir %{pylibdir}/ensurepip/__pycache__/
|
|
|
60aba0a |
%{pylibdir}/ensurepip/*.py
|
|
|
60aba0a |
%{pylibdir}/ensurepip/__pycache__/*%{bytecode_suffixes}
|
|
|
8c67baf |
|
|
|
0b241ab |
%if %{with rpmwheels}
|
|
|
60aba0a |
%exclude %{pylibdir}/ensurepip/_bundled
|
|
|
8c67baf |
%else
|
|
|
8c67baf |
%dir %{pylibdir}/ensurepip/_bundled
|
|
|
8c67baf |
%{pylibdir}/ensurepip/_bundled/*.whl
|
|
|
8c67baf |
%endif
|
|
|
60aba0a |
|
|
|
60aba0a |
%dir %{pylibdir}/test/
|
|
|
60aba0a |
%dir %{pylibdir}/test/__pycache__/
|
|
|
60aba0a |
%dir %{pylibdir}/test/support/
|
|
|
60aba0a |
%dir %{pylibdir}/test/support/__pycache__/
|
|
|
60aba0a |
%{pylibdir}/test/__init__.py
|
|
|
60aba0a |
%{pylibdir}/test/__pycache__/__init__%{bytecode_suffixes}
|
|
|
60aba0a |
%{pylibdir}/test/support/__init__.py
|
|
|
60aba0a |
%{pylibdir}/test/support/__pycache__/__init__%{bytecode_suffixes}
|
|
|
60aba0a |
|
|
|
60aba0a |
%dir %{pylibdir}/concurrent/
|
|
|
60aba0a |
%dir %{pylibdir}/concurrent/__pycache__/
|
|
|
60aba0a |
%{pylibdir}/concurrent/*.py
|
|
|
60aba0a |
%{pylibdir}/concurrent/__pycache__/*%{bytecode_suffixes}
|
|
|
60aba0a |
|
|
|
60aba0a |
%dir %{pylibdir}/concurrent/futures/
|
|
|
60aba0a |
%dir %{pylibdir}/concurrent/futures/__pycache__/
|
|
|
60aba0a |
%{pylibdir}/concurrent/futures/*.py
|
|
|
60aba0a |
%{pylibdir}/concurrent/futures/__pycache__/*%{bytecode_suffixes}
|
|
|
60aba0a |
|
|
|
60aba0a |
%{pylibdir}/pydoc_data
|
|
|
60aba0a |
|
|
|
1c8e9a6 |
%{dynload_dir}/_blake2.%{SOABI_optimized}.so
|
|
|
f7bd058 |
%{dynload_dir}/_md5.%{SOABI_optimized}.so
|
|
|
1c8e9a6 |
%{dynload_dir}/_sha1.%{SOABI_optimized}.so
|
|
|
f7bd058 |
%{dynload_dir}/_sha256.%{SOABI_optimized}.so
|
|
|
1c8e9a6 |
%{dynload_dir}/_sha3.%{SOABI_optimized}.so
|
|
|
f7bd058 |
%{dynload_dir}/_sha512.%{SOABI_optimized}.so
|
|
|
1c8e9a6 |
|
|
|
1b09295 |
%{dynload_dir}/_asyncio.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_bisect.%{SOABI_optimized}.so
|
|
|
1c94c1a |
%{dynload_dir}/_bz2.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_cn.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_hk.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_iso2022.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_jp.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_kr.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_tw.%{SOABI_optimized}.so
|
|
|
cea6d60 |
%{dynload_dir}/_contextvars.%{SOABI_optimized}.so
|
|
|
1c94c1a |
%{dynload_dir}/_crypt.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_csv.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_ctypes.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_curses.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_curses_panel.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_dbm.%{SOABI_optimized}.so
|
|
|
1c94c1a |
%{dynload_dir}/_decimal.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_elementtree.%{SOABI_optimized}.so
|
|
|
043c574 |
%if %{with gdbm}
|
|
|
5080ffc |
%{dynload_dir}/_gdbm.%{SOABI_optimized}.so
|
|
|
5fe31d8 |
%endif
|
|
|
5080ffc |
%{dynload_dir}/_hashlib.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_heapq.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_json.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_lsprof.%{SOABI_optimized}.so
|
|
|
1c94c1a |
%{dynload_dir}/_lzma.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_multibytecodec.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_multiprocessing.%{SOABI_optimized}.so
|
|
|
3aee76e |
%{dynload_dir}/_opcode.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_pickle.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_posixsubprocess.%{SOABI_optimized}.so
|
|
|
cea6d60 |
%{dynload_dir}/_queue.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_random.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_socket.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_sqlite3.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_ssl.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_struct.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/array.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/audioop.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/binascii.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/cmath.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_datetime.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/fcntl.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/grp.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/math.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/mmap.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/nis.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/ossaudiodev.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/parser.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/pyexpat.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/readline.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/resource.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/select.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/spwd.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/syslog.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/termios.%{SOABI_optimized}.so
|
|
Matej Stuchlik |
abb2ff8 |
%{dynload_dir}/_testmultiphase.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/unicodedata.%{SOABI_optimized}.so
|
|
|
d668c1e |
%{dynload_dir}/_uuid.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/xxlimited.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/zlib.%{SOABI_optimized}.so
|
|
|
4aab458 |
|
|
|
13c4a4f |
%dir %{pylibdir}/site-packages/
|
|
|
13c4a4f |
%dir %{pylibdir}/site-packages/__pycache__/
|
|
|
1c8e9a6 |
%{pylibdir}/site-packages/README.txt
|
|
|
7eb10c8 |
%{pylibdir}/*.py
|
|
|
e1c7be0 |
%dir %{pylibdir}/__pycache__/
|
|
|
7eb10c8 |
%{pylibdir}/__pycache__/*%{bytecode_suffixes}
|
|
|
1c94c1a |
|
|
|
1c94c1a |
%dir %{pylibdir}/collections/
|
|
|
1c94c1a |
%dir %{pylibdir}/collections/__pycache__/
|
|
|
1c94c1a |
%{pylibdir}/collections/*.py
|
|
|
1c94c1a |
%{pylibdir}/collections/__pycache__/*%{bytecode_suffixes}
|
|
|
5080ffc |
|
|
|
5080ffc |
%dir %{pylibdir}/ctypes/
|
|
|
e1c7be0 |
%dir %{pylibdir}/ctypes/__pycache__/
|
|
|
7eb10c8 |
%{pylibdir}/ctypes/*.py
|
|
|
7eb10c8 |
%{pylibdir}/ctypes/__pycache__/*%{bytecode_suffixes}
|
|
|
a3483f9 |
%{pylibdir}/ctypes/macholib
|
|
|
5080ffc |
|
|
|
a3483f9 |
%{pylibdir}/curses
|
|
|
5080ffc |
|
|
|
5080ffc |
%dir %{pylibdir}/dbm/
|
|
|
e1c7be0 |
%dir %{pylibdir}/dbm/__pycache__/
|
|
|
7eb10c8 |
%{pylibdir}/dbm/*.py
|
|
|
7eb10c8 |
%{pylibdir}/dbm/__pycache__/*%{bytecode_suffixes}
|
|
|
5080ffc |
|
|
|
a6cf423 |
%dir %{pylibdir}/distutils/
|
|
|
a6cf423 |
%dir %{pylibdir}/distutils/__pycache__/
|
|
|
a6cf423 |
%{pylibdir}/distutils/*.py
|
|
|
a6cf423 |
%{pylibdir}/distutils/__pycache__/*%{bytecode_suffixes}
|
|
|
a6cf423 |
%{pylibdir}/distutils/README
|
|
|
a6cf423 |
%{pylibdir}/distutils/command
|
|
|
bbbc440 |
%exclude %{pylibdir}/distutils/command/wininst-*.exe
|
|
|
a6cf423 |
|
|
|
5080ffc |
%dir %{pylibdir}/email/
|
|
|
e1c7be0 |
%dir %{pylibdir}/email/__pycache__/
|
|
|
7eb10c8 |
%{pylibdir}/email/*.py
|
|
|
7eb10c8 |
%{pylibdir}/email/__pycache__/*%{bytecode_suffixes}
|
|
|
a3483f9 |
%{pylibdir}/email/mime
|
|
|
1c94c1a |
%doc %{pylibdir}/email/architecture.rst
|
|
|
5080ffc |
|
|
|
a3483f9 |
%{pylibdir}/encodings
|
|
|
cb97d29 |
|
|
|
a3483f9 |
%{pylibdir}/html
|
|
|
a3483f9 |
%{pylibdir}/http
|
|
|
5080ffc |
|
|
|
5080ffc |
%dir %{pylibdir}/importlib/
|
|
|
e1c7be0 |
%dir %{pylibdir}/importlib/__pycache__/
|
|
|
7eb10c8 |
%{pylibdir}/importlib/*.py
|
|
|
7eb10c8 |
%{pylibdir}/importlib/__pycache__/*%{bytecode_suffixes}
|
|
|
5080ffc |
|
|
|
5080ffc |
%dir %{pylibdir}/json/
|
|
|
e1c7be0 |
%dir %{pylibdir}/json/__pycache__/
|
|
|
7eb10c8 |
%{pylibdir}/json/*.py
|
|
|
7eb10c8 |
%{pylibdir}/json/__pycache__/*%{bytecode_suffixes}
|
|
|
5080ffc |
|
|
|
a3483f9 |
%{pylibdir}/logging
|
|
|
a3483f9 |
%{pylibdir}/multiprocessing
|
|
|
5080ffc |
|
|
|
5080ffc |
%dir %{pylibdir}/sqlite3/
|
|
|
e1c7be0 |
%dir %{pylibdir}/sqlite3/__pycache__/
|
|
|
7eb10c8 |
%{pylibdir}/sqlite3/*.py
|
|
|
7eb10c8 |
%{pylibdir}/sqlite3/__pycache__/*%{bytecode_suffixes}
|
|
|
5080ffc |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
5080ffc |
%exclude %{pylibdir}/turtle.py
|
|
|
5080ffc |
%exclude %{pylibdir}/__pycache__/turtle*%{bytecode_suffixes}
|
|
|
8c67baf |
%endif
|
|
|
5080ffc |
|
|
|
a3483f9 |
%{pylibdir}/urllib
|
|
|
347356c |
%{pylibdir}/xml
|
|
|
1c94c1a |
|
|
|
a3483f9 |
%if "%{_lib}" == "lib64"
|
|
|
37de674 |
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}
|
|
|
37de674 |
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages
|
|
|
13c4a4f |
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages/__pycache__/
|
|
|
a3483f9 |
%endif
|
|
|
a3483f9 |
|
|
|
a3483f9 |
# "Makefile" and the config-32/64.h file are needed by
|
|
|
a3483f9 |
# distutils/sysconfig.py:_init_posix(), so we include them in the core
|
|
|
a3483f9 |
# package, along with their parent directories (bug 531901):
|
|
|
bea97d9 |
%dir %{pylibdir}/config-%{LDVERSION_optimized}-%{_arch}-linux%{_gnu}/
|
|
|
bea97d9 |
%{pylibdir}/config-%{LDVERSION_optimized}-%{_arch}-linux%{_gnu}/Makefile
|
|
|
5080ffc |
%dir %{_includedir}/python%{LDVERSION_optimized}/
|
|
|
5080ffc |
%{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
|
|
|
a3483f9 |
|
|
Robert Kuska |
0837458 |
%{_libdir}/%{py_INSTSONAME_optimized}
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
34c15c7 |
%{_libdir}/libpython3.so
|
|
|
8c67baf |
%endif
|
|
|
a3483f9 |
|
|
|
63459d7 |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
a3483f9 |
%files devel
|
|
|
d938460 |
%{_bindir}/2to3
|
|
|
8c67baf |
%endif
|
|
|
8c67baf |
|
|
|
bea97d9 |
%{pylibdir}/config-%{LDVERSION_optimized}-%{_arch}-linux%{_gnu}/*
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
bea97d9 |
%exclude %{pylibdir}/config-%{LDVERSION_optimized}-%{_arch}-linux%{_gnu}/Makefile
|
|
|
8c67baf |
%exclude %{_includedir}/python%{LDVERSION_optimized}/%{_pyconfig_h}
|
|
|
8c67baf |
%endif
|
|
|
bbbc440 |
%{pylibdir}/distutils/command/wininst-*.exe
|
|
|
5080ffc |
%{_includedir}/python%{LDVERSION_optimized}/*.h
|
|
|
a3483f9 |
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
|
|
|
8c67baf |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
a3483f9 |
%{_bindir}/python3-config
|
|
|
8c67baf |
%{_libdir}/pkgconfig/python3.pc
|
|
|
8c67baf |
%{_bindir}/pathfix.py
|
|
|
83a5f52 |
%{_bindir}/pygettext3.py
|
|
|
83a5f52 |
%{_bindir}/msgfmt3.py
|
|
|
8c67baf |
%endif
|
|
|
8c67baf |
|
|
|
83a5f52 |
%{_bindir}/pygettext%{pybasever}.py
|
|
|
83a5f52 |
%{_bindir}/msgfmt%{pybasever}.py
|
|
|
83a5f52 |
|
|
|
a3483f9 |
%{_bindir}/python%{pybasever}-config
|
|
|
5080ffc |
%{_bindir}/python%{LDVERSION_optimized}-config
|
|
|
f188880 |
%{_bindir}/python%{LDVERSION_optimized}-*-config
|
|
|
5080ffc |
%{_libdir}/libpython%{LDVERSION_optimized}.so
|
|
|
5080ffc |
%{_libdir}/pkgconfig/python-%{LDVERSION_optimized}.pc
|
|
|
55cf580 |
%{_libdir}/pkgconfig/python-%{pybasever}.pc
|
|
|
a3483f9 |
|
|
|
63459d7 |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
d938460 |
%files idle
|
|
|
8c67baf |
|
|
|
a3483f9 |
%{_bindir}/idle*
|
|
|
8c67baf |
%else
|
|
|
8c67baf |
%{_bindir}/idle%{pybasever}
|
|
|
8c67baf |
%endif
|
|
|
8c67baf |
|
|
|
d938460 |
%{pylibdir}/idlelib
|
|
|
8c67baf |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
838e397 |
%{_metainfodir}/idle3.appdata.xml
|
|
|
860f392 |
%{_datadir}/applications/idle3.desktop
|
|
|
860f392 |
%{_datadir}/icons/hicolor/*/apps/idle3.*
|
|
|
8c67baf |
%endif
|
|
|
a3483f9 |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
a3483f9 |
%files tkinter
|
|
|
8c67baf |
%endif
|
|
|
8c67baf |
|
|
|
a3483f9 |
%{pylibdir}/tkinter
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
a3483f9 |
%exclude %{pylibdir}/tkinter/test
|
|
|
8c67baf |
%endif
|
|
|
5080ffc |
%{dynload_dir}/_tkinter.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{pylibdir}/turtle.py
|
|
|
5080ffc |
%{pylibdir}/__pycache__/turtle*%{bytecode_suffixes}
|
|
|
5080ffc |
%dir %{pylibdir}/turtledemo
|
|
|
5080ffc |
%{pylibdir}/turtledemo/*.py
|
|
|
5080ffc |
%{pylibdir}/turtledemo/*.cfg
|
|
|
5080ffc |
%dir %{pylibdir}/turtledemo/__pycache__/
|
|
|
5080ffc |
%{pylibdir}/turtledemo/__pycache__/*%{bytecode_suffixes}
|
|
|
a3483f9 |
|
|
|
63459d7 |
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
a3483f9 |
%files test
|
|
|
8c67baf |
%endif
|
|
|
63459d7 |
|
|
|
a3483f9 |
%{pylibdir}/ctypes/test
|
|
|
a3483f9 |
%{pylibdir}/distutils/tests
|
|
|
a3483f9 |
%{pylibdir}/sqlite3/test
|
|
|
a3483f9 |
%{pylibdir}/test
|
|
|
5080ffc |
%{dynload_dir}/_ctypes_test.%{SOABI_optimized}.so
|
|
|
1c94c1a |
%{dynload_dir}/_testbuffer.%{SOABI_optimized}.so
|
|
|
5080ffc |
%{dynload_dir}/_testcapi.%{SOABI_optimized}.so
|
|
|
b282179 |
%{dynload_dir}/_testimportmultiple.%{SOABI_optimized}.so
|
|
|
d668c1e |
%{dynload_dir}/_xxtestfuzz.%{SOABI_optimized}.so
|
|
|
a3483f9 |
%{pylibdir}/lib2to3/tests
|
|
|
a3483f9 |
%{pylibdir}/tkinter/test
|
|
|
e1c7be0 |
%{pylibdir}/unittest/test
|
|
|
a3483f9 |
|
|
|
55cf580 |
|
|
|
55cf580 |
# We don't bother splitting the debug build out into further subpackages:
|
|
|
55cf580 |
# if you need it, you're probably a developer.
|
|
|
55cf580 |
|
|
|
55cf580 |
# Hence the manifest is the combination of analogous files in the manifests of
|
|
|
55cf580 |
# all of the other subpackages
|
|
|
55cf580 |
|
|
|
043c574 |
%if %{with debug_build}
|
|
|
8c67baf |
%if %{without flatpackage}
|
|
|
55cf580 |
%files debug
|
|
|
8c67baf |
%{_bindir}/python3-debug
|
|
|
8c67baf |
%endif
|
|
|
55cf580 |
|
|
|
55cf580 |
# Analog of the core subpackage's files:
|
|
|
5080ffc |
%{_bindir}/python%{LDVERSION_debug}
|
|
|
55cf580 |
|
|
|
26c1be5 |
# Analog of the -libs subpackage's files:
|
|
|
55cf580 |
# ...with debug builds of the built-in "extension" modules:
|
|
|
f7bd058 |
|
|
|
1c8e9a6 |
%{dynload_dir}/_blake2.%{SOABI_debug}.so
|
|
|
f7bd058 |
%{dynload_dir}/_md5.%{SOABI_debug}.so
|
|
|
1c8e9a6 |
%{dynload_dir}/_sha1.%{SOABI_debug}.so
|
|
|
f7bd058 |
%{dynload_dir}/_sha256.%{SOABI_debug}.so
|
|
|
1c8e9a6 |
%{dynload_dir}/_sha3.%{SOABI_debug}.so
|
|
|
f7bd058 |
%{dynload_dir}/_sha512.%{SOABI_debug}.so
|
|
|
1c8e9a6 |
|
|
|
1b09295 |
%{dynload_dir}/_asyncio.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_bisect.%{SOABI_debug}.so
|
|
|
1c94c1a |
%{dynload_dir}/_bz2.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_cn.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_hk.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_iso2022.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_jp.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_kr.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_codecs_tw.%{SOABI_debug}.so
|
|
|
cea6d60 |
%{dynload_dir}/_contextvars.%{SOABI_debug}.so
|
|
|
1c94c1a |
%{dynload_dir}/_crypt.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_csv.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_ctypes.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_curses.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_curses_panel.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_dbm.%{SOABI_debug}.so
|
|
|
1c94c1a |
%{dynload_dir}/_decimal.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_elementtree.%{SOABI_debug}.so
|
|
|
043c574 |
%if %{with gdbm}
|
|
|
5080ffc |
%{dynload_dir}/_gdbm.%{SOABI_debug}.so
|
|
|
5fe31d8 |
%endif
|
|
|
5080ffc |
%{dynload_dir}/_hashlib.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_heapq.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_json.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_lsprof.%{SOABI_debug}.so
|
|
|
1c94c1a |
%{dynload_dir}/_lzma.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_multibytecodec.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_multiprocessing.%{SOABI_debug}.so
|
|
|
3aee76e |
%{dynload_dir}/_opcode.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_pickle.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_posixsubprocess.%{SOABI_debug}.so
|
|
|
cea6d60 |
%{dynload_dir}/_queue.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_random.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_socket.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_sqlite3.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_ssl.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_struct.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/array.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/audioop.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/binascii.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/cmath.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_datetime.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/fcntl.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/grp.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/math.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/mmap.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/nis.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/ossaudiodev.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/parser.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/pyexpat.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/readline.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/resource.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/select.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/spwd.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/syslog.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/termios.%{SOABI_debug}.so
|
|
Matej Stuchlik |
abb2ff8 |
%{dynload_dir}/_testmultiphase.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/unicodedata.%{SOABI_debug}.so
|
|
|
d668c1e |
%{dynload_dir}/_uuid.%{SOABI_debug}.so
|
|
|
d668c1e |
%{dynload_dir}/_xxtestfuzz.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/zlib.%{SOABI_debug}.so
|
|
|
55cf580 |
|
|
|
55cf580 |
# No need to split things out the "Makefile" and the config-32/64.h file as we
|
|
|
55cf580 |
# do for the regular build above (bug 531901), since they're all in one package
|
|
|
55cf580 |
# now; they're listed below, under "-devel":
|
|
|
55cf580 |
|
|
Robert Kuska |
0837458 |
%{_libdir}/%{py_INSTSONAME_debug}
|
|
|
55cf580 |
|
|
|
55cf580 |
# Analog of the -devel subpackage's files:
|
|
|
bea97d9 |
%{pylibdir}/config-%{LDVERSION_debug}-%{_arch}-linux%{_gnu}
|
|
|
5080ffc |
%{_includedir}/python%{LDVERSION_debug}
|
|
|
5080ffc |
%{_bindir}/python%{LDVERSION_debug}-config
|
|
|
3a35e0b |
%{_bindir}/python%{LDVERSION_debug}-*-config
|
|
|
5080ffc |
%{_libdir}/libpython%{LDVERSION_debug}.so
|
|
Matej Stuchlik |
abb2ff8 |
%{_libdir}/libpython%{LDVERSION_debug}.so.1.0
|
|
|
5080ffc |
%{_libdir}/pkgconfig/python-%{LDVERSION_debug}.pc
|
|
|
55cf580 |
|
|
|
55cf580 |
# Analog of the -tools subpackage's files:
|
|
|
55cf580 |
# None for now; we could build precanned versions that have the appropriate
|
|
|
55cf580 |
# shebang if needed
|
|
|
55cf580 |
|
|
|
55cf580 |
# Analog of the tkinter subpackage's files:
|
|
|
5080ffc |
%{dynload_dir}/_tkinter.%{SOABI_debug}.so
|
|
|
55cf580 |
|
|
|
55cf580 |
# Analog of the -test subpackage's files:
|
|
|
5080ffc |
%{dynload_dir}/_ctypes_test.%{SOABI_debug}.so
|
|
|
1c94c1a |
%{dynload_dir}/_testbuffer.%{SOABI_debug}.so
|
|
|
5080ffc |
%{dynload_dir}/_testcapi.%{SOABI_debug}.so
|
|
|
b282179 |
%{dynload_dir}/_testimportmultiple.%{SOABI_debug}.so
|
|
|
55cf580 |
|
|
|
043c574 |
%endif # with debug_build
|
|
|
815994f |
|
|
|
c4a5733 |
# We put the debug-gdb.py file inside /usr/lib/debug to avoid noise from ldconfig
|
|
|
c4a5733 |
# See https://bugzilla.redhat.com/show_bug.cgi?id=562980
|
|
Robert Kuska |
a0e3ab8 |
#
|
|
|
15a050e |
# The /usr/lib/rpm/redhat/macros defines %%__debug_package to use
|
|
|
d5a5bf3 |
# debugfiles.list, and it appears that everything below /usr/lib/debug and
|
|
|
d5a5bf3 |
# (/usr/src/debug) gets added to this file (via LISTFILES) in
|
|
|
d5a5bf3 |
# /usr/lib/rpm/find-debuginfo.sh
|
|
Robert Kuska |
a0e3ab8 |
#
|
|
|
d5a5bf3 |
# Hence by installing it below /usr/lib/debug we ensure it is added to the
|
|
|
d5a5bf3 |
# -debuginfo subpackage
|
|
Robert Kuska |
a0e3ab8 |
# (if it doesn't, then the rpmbuild ought to fail since the debug-gdb.py
|
|
|
d5a5bf3 |
# payload file would be unpackaged)
|
|
|
d5a5bf3 |
|
|
|
c4a5733 |
# Workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1476593
|
|
|
c6fe5c6 |
%undefine _debuginfo_subpackages
|
|
|
d5a5bf3 |
|
|
|
c769a6b |
# ======================================================
|
|
|
c769a6b |
# Finally, the changelog:
|
|
|
c769a6b |
# ======================================================
|
|
|
c769a6b |
|
|
|
a3483f9 |
%changelog
|
|
|
72bc3f4 |
* Sun Nov 04 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-2
|
|
|
72bc3f4 |
- Temporarily revert upstream commit 3b699932e5ac3e7
|
|
|
72bc3f4 |
- This is dirty workaround for (#1644936)
|
|
|
72bc3f4 |
|
|
|
d533a32 |
* Mon Oct 22 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.1-1
|
|
|
d533a32 |
- Update to 3.7.1
|
|
|
d533a32 |
|
|
|
091b4b2 |
* Thu Sep 27 2018 Petr Viktorin <pviktori@redhat.com> - 3.7.0-10
|
|
|
091b4b2 |
- Compile the debug build with -Og rather than -O0
|
|
|
091b4b2 |
|
|
|
4da7cff |
* Thu Aug 30 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-9
|
|
|
4da7cff |
- Require python3-setuptools from python3-devel to prevent packaging errors (#1623914)
|
|
|
4da7cff |
|
|
|
83a5f52 |
* Fri Aug 17 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-8
|
|
|
83a5f52 |
- Add /usr/bin/pygettext3.py and msgfmt3.py to python3-devel
|
|
|
83a5f52 |
Resolves: rhbz#1571474
|
|
|
83a5f52 |
|
|
|
4aa9ebc |
* Fri Aug 17 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-7
|
|
|
4aa9ebc |
- Backport TLS 1.3 related fixes to fix FTBFS
|
|
|
4aa9ebc |
Resolves: rhbz#1609291
|
|
|
4aa9ebc |
|
|
|
0b241ab |
* Wed Aug 15 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-6
|
|
|
0b241ab |
- Use RPM built wheels of pip and setuptools in ensurepip instead of our rewheel patch
|
|
|
0b241ab |
|
|
|
da8bebd |
* Fri Aug 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.7.0-5
|
|
|
da8bebd |
- Fix wrong requirement on gdbm
|
|
|
da8bebd |
|
|
|
37437e1 |
* Fri Jul 20 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-4
|
|
|
37437e1 |
- Allow to call Py_Main() after Py_Initialize()
|
|
|
37437e1 |
Resolves: rhbz#1595421
|
|
|
37437e1 |
|
|
|
266317a |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-3
|
|
|
266317a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
266317a |
|
|
|
7a4ecff |
* Thu Jul 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.7.0-2
|
|
|
7a4ecff |
- Rebuild for new gdbm
|
|
|
7a4ecff |
|
|
|
dc63bc7 |
* Wed Jun 27 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-1
|
|
|
dc63bc7 |
- Update to 3.7.0 final
|
|
|
dc63bc7 |
|
|
|
3ba1d1a |
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-0.21.rc1
|
|
|
3ba1d1a |
- Finish bootstrapping, enable rewheel, tests, optimizations
|
|
|
3ba1d1a |
|
|
|
63f277f |
* Tue Jun 12 2018 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-0.20.rc1
|
|
|
63f277f |
- Update to 3.7.0rc1
|
|
|
2266a26 |
- Bootstrap, disable rewheel, tests, optimizations
|
|
|
63f277f |
|
|
|
e324bf2 |
* Mon Apr 23 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.5-4
|
|
|
e324bf2 |
- Fix multiprocessing regression on newer glibcs
|
|
|
e324bf2 |
- Enable test_multiprocessing_fork(server) and _spawn again
|
|
|
e324bf2 |
Resolves: rhbz#1569933
|
|
|
e324bf2 |
|
|
|
45a046d |
* Thu Apr 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.5-3
|
|
|
45a046d |
- Skip test_multiprocessing_fork(server) and _spawn for now
|
|
|
45a046d |
|
|
|
8c67baf |
* Wed Apr 18 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.5-2
|
|
|
8c67baf |
- Add flatpackage conditionals
|
|
|
8c67baf |
|
|
|
9a2e4be |
* Thu Mar 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.5-1
|
|
|
9a2e4be |
- Update to 3.6.5
|
|
|
9a2e4be |
|
|
|
e8fa184 |
* Sat Mar 24 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-20
|
|
|
e8fa184 |
- Fix broken macro invocation and broken building of C Python extensions
|
|
|
e8fa184 |
Resolves: rhbz#1560103
|
|
|
e8fa184 |
|
|
|
545e680 |
* Fri Mar 16 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-19
|
|
|
545e680 |
- Add -n option for pathfix.py
|
|
|
545e680 |
Resolves: rhbz#1546990
|
|
|
545e680 |
|
|
|
e5f4159 |
* Thu Mar 15 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-18
|
|
|
e5f4159 |
- Fix the py_byte_compile macro to work on Python 2
|
|
|
e5f4159 |
- Remove the pybytecompile macro file from the flat package
|
|
|
e5f4159 |
Resolves: rhbz#1484993
|
|
|
e5f4159 |
|
|
|
c9bb114 |
* Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-17
|
|
|
c9bb114 |
- Do not send IP addresses in SNI TLS extension
|
|
|
c9bb114 |
|
|
|
347e968 |
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 3.6.4-16
|
|
|
347e968 |
- Rebuild with new LDFLAGS from redhat-rpm-config
|
|
|
347e968 |
|
|
|
3f778c4 |
* Wed Feb 21 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-15
|
|
|
3f778c4 |
- Filter out automatic /usr/bin/python3.X requirement,
|
|
|
3f778c4 |
recommend the main package from libs instead
|
|
|
3f778c4 |
Resolves: rhbz#1547131
|
|
|
3f778c4 |
|
|
|
d938460 |
* Thu Feb 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.4-14
|
|
|
d938460 |
- Remove the python3-tools package (#rhbz 1312030)
|
|
|
d938460 |
- Move /usr/bin/2to3 to python3-devel
|
|
|
d938460 |
- Move /usr/bin/idle and idlelib to python3-idle
|
|
|
d938460 |
- Provide python3-tools from python3-idle
|
|
|
d938460 |
|
|
|
40b8f9e |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6.4-13
|
|
|
40b8f9e |
- Escape macros in %%changelog
|
|
|
40b8f9e |
|
|
|
08ffd08 |
* Fri Feb 02 2018 Michal Cyprian <mcyprian@redhat.com> - 3.6.4-12
|
|
|
08ffd08 |
- Remove sys.executable check from change-user-install-location patch
|
|
|
08ffd08 |
Resolves: rhbz#1532287
|
|
|
08ffd08 |
|
|
|
969d514 |
* Thu Feb 01 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-11
|
|
|
969d514 |
- Define TLS cipher suite on build time.
|
|
|
969d514 |
|
|
|
be04920 |
* Wed Jan 31 2018 Tomas Orsava <torsava@redhat.com> - 3.6.4-10
|
|
|
be04920 |
- Disable test_gdb for all arches and test_buffer for ppc64le in anticipation
|
|
|
be04920 |
of the F28 mass rebuild
|
|
|
be04920 |
- Re-enable these tests after the mass rebuild when they can be properly
|
|
|
be04920 |
addressed
|
|
|
be04920 |
|
|
|
d623e92 |
* Tue Jan 23 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-9
|
|
|
d623e92 |
- Restore the PyExc_RecursionErrorInst public symbol
|
|
|
d623e92 |
|
|
|
ce6ec4f |
* Tue Jan 23 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-8
|
|
|
ce6ec4f |
- Add patch to explicitly link _ctypes module with -ldl (#1537489)
|
|
|
ce6ec4f |
- Refactored patch for libxcrypt
|
|
|
ce6ec4f |
- Re-enable strict symbol checks in the link editor
|
|
|
ce6ec4f |
|
|
|
5ea7bf4 |
* Mon Jan 22 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-7
|
|
|
5ea7bf4 |
- Add patch for libxcrypt
|
|
|
5a8bf97 |
- Disable strict symbol checks in the link editor
|
|
|
5ea7bf4 |
|
|
|
085ae32 |
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 3.6.4-6
|
|
|
085ae32 |
- Rebuilt for switch to libxcrypt
|
|
|
085ae32 |
|
|
|
2602477 |
* Fri Jan 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-5
|
|
|
2602477 |
- Fix localeconv() encoding for LC_NUMERIC
|
|
|
2602477 |
|
|
|
57ec201 |
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6.4-4
|
|
|
57ec201 |
- R: gdbm-devel → R: gdbm for python3-libs
|
|
|
57ec201 |
|
|
|
1a43a65 |
* Wed Jan 17 2018 Miro Hrončok <mhroncok@redhat.com> - 3.6.4-3
|
|
|
1a43a65 |
- Require large enough gdbm (fixup for previous bump)
|
|
|
1a43a65 |
|
|
|
6e38667 |
* Tue Jan 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-2
|
|
|
6e38667 |
- Rebuild for reverted gdbm 1.13 on Fedora 27
|
|
|
6e38667 |
|
|
|
0077a19 |
* Mon Jan 15 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.4-1
|
|
|
0077a19 |
- Update to version 3.6.4
|
|
|
0077a19 |
|
|
|
6ff303e |
* Fri Jan 12 2018 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-5
|
|
|
6ff303e |
- Fix the compilation of the nis module.
|
|
|
6ff303e |
|
|
|
1f528da |
* Tue Nov 21 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.3-4
|
|
|
1f528da |
- Raise the release of platform-python obsoletes for better maintainability
|
|
|
1f528da |
|
|
|
e522c84 |
* Wed Nov 15 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.3-3
|
|
|
e522c84 |
- Obsolete platform-python and it's subpackages
|
|
|
e522c84 |
|
|
|
22b8f2b |
* Mon Oct 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-2
|
|
|
22b8f2b |
- Fix memory corruption due to allocator mix
|
|
|
22b8f2b |
Resolves: rhbz#1498207
|
|
|
22b8f2b |
|
|
|
47069ff |
* Fri Oct 06 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-1
|
|
|
47069ff |
- Update to Python 3.6.3
|
|
|
47069ff |
|
|
|
71718b6 |
* Fri Sep 29 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-19
|
|
|
0652b06 |
- Move pathfix.py to bindir, https://github.com/fedora-python/python-rpm-porting/issues/24
|
|
|
71718b6 |
- Make the -devel package require redhat-rpm-config
|
|
|
71718b6 |
Resolves: rhbz#1496757
|
|
|
0652b06 |
|
|
Iryna Shcherbina |
685fb7b |
* Wed Sep 13 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-18
|
|
Iryna Shcherbina |
685fb7b |
- Fix /usr/bin/env dependency from python3-tools
|
|
Iryna Shcherbina |
685fb7b |
Resolves: rhbz#1482118
|
|
Iryna Shcherbina |
685fb7b |
|
|
Iryna Shcherbina |
87e35ed |
* Wed Sep 06 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-17
|
|
Iryna Shcherbina |
87e35ed |
- Include `-g` in the flags sent to the linker (LDFLAGS)
|
|
Iryna Shcherbina |
87e35ed |
Resolves: rhbz#1483222
|
|
Iryna Shcherbina |
87e35ed |
|
|
|
7d6b083 |
* Tue Sep 05 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-16
|
|
|
7d6b083 |
- Specfile cleanup
|
|
|
7d6b083 |
- Make the main description also applicable to the SRPM
|
|
|
7d6b083 |
- Add audiotest.au to the test package
|
|
|
7d6b083 |
|
|
|
1acd7df |
* Fri Sep 01 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-15
|
|
|
1acd7df |
- Remove %%{pylibdir}/Tools/scripts/2to3
|
|
|
1acd7df |
|
|
|
33e1101 |
* Fri Sep 01 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-14
|
|
|
33e1101 |
- Expat >= 2.1.0 is everywhere, remove explicit requires
|
|
|
51501f9 |
- Conditionalize systemtap-devel BuildRequires
|
|
|
5f24f39 |
- For consistency, require /usr/sbin/ifconfig instead of net-tools
|
|
|
33e1101 |
|
|
|
d27ccf6 |
* Mon Aug 28 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-13
|
|
|
d27ccf6 |
- Rename patch files to be consistent
|
|
|
96a7bd5 |
- Run autotools to generate the configure script before building
|
|
|
2c6abcc |
- Merge lib64 patches (104 into 102)
|
|
|
bbf2225 |
- Skip test_bdist_rpm using test config rather than a patch (removes patch 137)
|
|
|
d8970d7 |
- Remove patches 157 and 186, which had test changes left over after upstreaming
|
|
|
ac06dea |
- Remove patch 188, a temporary workaround for hashlib tests
|
|
|
357f40b |
- Merge patches 180, 206, 243, 5001 (architecture naming) into new patch 274
|
|
|
357f40b |
- Move python2-tools conflicts to tools subpackage (it was wrongly in tkinter)
|
|
|
d27ccf6 |
|
|
|
eef42fd |
* Mon Aug 28 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.2-12
|
|
|
eef42fd |
- Use python3 style of calling super() without arguments in rpath
|
|
|
eef42fd |
patch to prevent recursion in UnixCCompiler subclasses
|
|
|
eef42fd |
Resolves: rhbz#1458122
|
|
|
eef42fd |
|
|
|
a7a170b |
* Mon Aug 21 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-11
|
|
|
a7a170b |
- Add bcond for --without optimizations
|
|
|
c2f8719 |
- Reword package descriptions
|
|
|
c2f8719 |
- Remove Group declarations
|
|
|
74f6a3d |
- Skip failing test_float_with_comma
|
|
|
a7a170b |
|
|
|
11efc8e |
* Mon Aug 21 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-10
|
|
|
11efc8e |
- Remove system-python, see https://fedoraproject.org/wiki/Changes/Platform_Python_Stack
|
|
|
11efc8e |
|
|
|
043c574 |
* Wed Aug 16 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.2-9
|
|
|
043c574 |
- Use bconds for configuring the build
|
|
|
043c574 |
- Reorganize the initial sections
|
|
|
043c574 |
|
|
|
b0aea52 |
* Wed Aug 16 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.2-8
|
|
|
b0aea52 |
- Have /usr/bin/2to3 (rhbz#1111275)
|
|
|
b0aea52 |
- Provide 2to3 and idle3, list them in summary and description (rhbz#1076401)
|
|
|
b0aea52 |
|
|
|
58f92d8 |
* Fri Aug 11 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.2-7
|
|
|
58f92d8 |
- Revert "Add --executable option to install.py command"
|
|
|
58f92d8 |
This enhancement is currently not needed and it can possibly
|
|
|
58f92d8 |
collide with `pip --editable`option
|
|
|
58f92d8 |
|
|
Iryna Shcherbina |
2c3b222 |
* Mon Aug 07 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.2-6
|
|
Iryna Shcherbina |
2c3b222 |
- Fix the "urllib FTP protocol stream injection" vulnerability
|
|
Iryna Shcherbina |
2c3b222 |
Resolves: rhbz#1478916
|
|
Iryna Shcherbina |
2c3b222 |
|
|
|
7ce2b35 |
* Tue Aug 01 2017 Tomas Orsava <torsava@redhat.com> - 3.6.2-5
|
|
|
7ce2b35 |
- Dropped BuildRequires on db4-devel which was useful for Python 2 (module
|
|
|
7ce2b35 |
bsddb), however, no longer needod for Python 3
|
|
|
7ce2b35 |
- Tested building Python 3 with and without the dependency, all tests pass and
|
|
|
7ce2b35 |
filelists of resulting RPMs are identical
|
|
|
7ce2b35 |
|
|
|
c6fe5c6 |
* Sun Jul 30 2017 Florian Weimer <fweimer@redhat.com> - 3.6.2-4
|
|
|
c6fe5c6 |
- Do not generate debuginfo subpackages (#1476593)
|
|
|
c6fe5c6 |
- Rebuild with binutils fix for ppc64le (#1475636)
|
|
|
c6fe5c6 |
|
|
|
4cc9b2e |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.2-3
|
|
|
4cc9b2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
4cc9b2e |
|
|
|
3a226ae |
* Tue Jul 25 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.2-2
|
|
|
3a226ae |
- Make test_asyncio to not depend on the current SIGHUP signal handler.
|
|
|
3a226ae |
|
|
|
4ff2113 |
* Tue Jul 18 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.2-1
|
|
|
4ff2113 |
- Update to Python 3.6.2
|
|
|
4ff2113 |
|
|
|
2529623 |
* Tue Jun 27 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-10
|
|
|
2529623 |
- Update to the latest upstream implementation of PEP 538
|
|
|
2529623 |
|
|
|
332b947 |
* Mon Jun 26 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.1-9
|
|
|
332b947 |
- Make pip and distutils in user environment install into separate location
|
|
|
332b947 |
|
|
|
b5403ba |
* Fri Jun 23 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-8
|
|
|
b5403ba |
- Fix test_alpn_protocols from test_ssl
|
|
|
b5403ba |
- Do not require rebundled setuptools dependencies
|
|
|
b5403ba |
|
|
|
bb9ca6b |
* Tue May 16 2017 Tomas Orsava <torsava@redhat.com> - 3.6.1-7
|
|
|
bb9ca6b |
- Added a dependency to the devel subpackage on python3-rpm-generators which
|
|
|
bb9ca6b |
have been excised out of rpm-build
|
|
|
bb9ca6b |
- Updated notes on bootstrapping Python on top of this specfile accordingly
|
|
|
bb9ca6b |
- Involves: rhbz#1410631, rhbz#1444925
|
|
|
bb9ca6b |
|
|
|
27c558e |
* Tue May 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-6
|
|
|
27c558e |
- Enable profile guided optimizations for x86_64 and i686 architectures
|
|
|
27c558e |
- Update to a newer implementation of PEP 538
|
|
|
27c558e |
- Update description to reflect that Python 3 is now the default Python
|
|
|
27c558e |
|
|
|
31fe33b |
* Fri May 05 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-5
|
|
|
31fe33b |
- Update PEP 538 to the latest upstream implementation
|
|
|
31fe33b |
|
|
|
bbbc440 |
* Tue Apr 18 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-4
|
|
|
bbbc440 |
- Enable link time optimizations
|
|
|
bbbc440 |
- Move windows executables to the devel subpackage (rhbz#1426257)
|
|
|
bbbc440 |
|
|
|
3a35e0b |
* Thu Apr 13 2017 Tomas Orsava <torsava@redhat.com> - 3.6.1-3
|
|
|
3a35e0b |
- Rename python3.Xdm-config script from -debug to be arch specific
|
|
|
3a35e0b |
Resolves: rhbz#1179073
|
|
|
3a35e0b |
|
|
|
bea97d9 |
* Wed Apr 05 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.1-2
|
|
|
bea97d9 |
- Install the Makefile in its proper location (rhbz#1438219)
|
|
|
bea97d9 |
|
|
Iryna Shcherbina |
b603b2d |
* Wed Mar 22 2017 Iryna Shcherbina <ishcherb@redhat.com> - 3.6.1-1
|
|
Iryna Shcherbina |
b603b2d |
- Update to version 3.6.1 final
|
|
Iryna Shcherbina |
b603b2d |
|
|
|
628b06d |
* Tue Mar 21 2017 Tomas Orsava <torsava@redhat.com> - 3.6.1-0.2.rc1
|
|
|
628b06d |
- Fix syntax error in %%py_byte_compile macro (rhbz#1433569)
|
|
|
628b06d |
|
|
Iryna Shcherbina |
aba719b |
* Thu Mar 16 2017 Iryna Shcherbina <ishcherb@redaht.com> - 3.6.1-0.1.rc1
|
|
Iryna Shcherbina |
aba719b |
- Update to Python 3.6.1 release candidate 1
|
|
Iryna Shcherbina |
aba719b |
- Add patch 264 to skip a known test failure on aarch64
|
|
Iryna Shcherbina |
aba719b |
|
|
|
3b36b49 |
* Fri Mar 10 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-21
|
|
|
3b36b49 |
- Use proper command line parsing in _testembed
|
|
|
3b36b49 |
- Backport of PEP 538: Coercing the legacy C locale to a UTF-8 based locale
|
|
|
3b36b49 |
https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale
|
|
|
3b36b49 |
|
|
|
860f392 |
* Mon Feb 27 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-20
|
|
|
860f392 |
- Add desktop entry and appdata.xml file for IDLE 3 (rhbz#1392049)
|
|
|
860f392 |
|
|
|
bbccd64 |
* Fri Feb 24 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.0-19
|
|
|
bbccd64 |
- Revert "Set values of prefix and exec_prefix to /usr/local for
|
|
|
bbccd64 |
/usr/bin/python* executables..." to prevent build failures
|
|
|
bbccd64 |
of packages using alternate build tools
|
|
|
bbccd64 |
|
|
|
24515db |
* Tue Feb 21 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.0-18
|
|
|
24515db |
- Set values of prefix and exec_prefix to /usr/local for
|
|
|
24515db |
/usr/bin/python* executables
|
|
|
24515db |
- Use new %%_module_build macro
|
|
|
24515db |
|
|
|
ef5c6fe |
* Fri Feb 17 2017 Michal Cyprian <mcyprian@redhat.com> - 3.6.0-13
|
|
|
ef5c6fe |
- Add --executable option to install.py command
|
|
|
ef5c6fe |
|
|
|
7973de8 |
* Wed Feb 15 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-12
|
|
|
7973de8 |
- BuildRequire the new dependencies of setuptools when rewheel mode is enabled
|
|
|
7973de8 |
in order for the virtualenvs to work properly
|
|
|
7973de8 |
|
|
|
45bc614 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-11
|
|
|
45bc614 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
45bc614 |
|
|
|
ea14453 |
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 3.6.0-10
|
|
|
ea14453 |
- Add missing %%license macro
|
|
|
ea14453 |
|
|
|
d80b542 |
* Thu Jan 26 2017 Tomas Orsava <torsava@redhat.com> - 3.6.0-9
|
|
|
d80b542 |
- Modify the runtime dependency of python3-libs on system-python-libs again,
|
|
|
d80b542 |
because previous attempt didn't work properly with dnf resolving mechanism
|
|
|
d80b542 |
|
|
|
d80b542 |
* Wed Jan 25 2017 Tomas Orsava <torsava@redhat.com> - 3.6.0-8
|
|
|
d80b542 |
- Modify the runtime dependency of python3-libs on system-python-libs to use
|
|
|
d80b542 |
just the version and release number, but not the dist tag due to Modularity
|
|
|
d80b542 |
|
|
|
79728f7 |
* Mon Jan 16 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-7
|
|
|
79728f7 |
- Fix error check, so that Random.seed actually uses OS randomness (rhbz#1412275)
|
|
|
ae3f901 |
- Skip test_aead_aes_gcm during rpmbuild
|
|
|
79728f7 |
|
|
Igor Gnatenko |
2294d64 |
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 3.6.0-6
|
|
Igor Gnatenko |
2294d64 |
- Rebuild for readline 7.x
|
|
Igor Gnatenko |
2294d64 |
|
|
|
a5e3562 |
* Tue Jan 10 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-5
|
|
|
a5e3562 |
- Require glibc >= 2.24.90-26 for system-python-libs (rhbz#1410644)
|
|
|
a5e3562 |
|
|
|
0da740b |
* Mon Jan 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-4
|
|
|
0da740b |
- Define HAVE_LONG_LONG as 1 for backwards compatibility
|
|
|
0da740b |
|
|
|
1abbc72 |
* Thu Jan 05 2017 Miro Hrončok <mhroncok@redhat.com> - 3.6.0-3
|
|
|
6bb1189 |
- Don't blow up on EL7 kernel (random generator) (rhbz#1410175)
|
|
|
6bb1189 |
|
|
|
e79e900 |
* Tue Dec 27 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-1
|
|
|
e79e900 |
- Update to Python 3.6.0 final
|
|
|
e79e900 |
|
|
|
efda0ca |
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-0.6.rc1
|
|
|
efda0ca |
- Enable rewheel
|
|
|
efda0ca |
|
|
|
97cc10c |
* Wed Dec 07 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-0.5.rc1
|
|
|
97cc10c |
- Update to Python 3.6.0 release candidate 1
|
|
|
97cc10c |
|
|
|
d555968 |
* Mon Dec 05 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.6.0-0.4.b4
|
|
|
3b1225f |
- Update to Python 3.6.0 beta 4
|
|
|
3b1225f |
|
|
|
ddb16c6 |
* Mon Dec 05 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-7
|
|
|
ddb16c6 |
- Set to work with pip version 9.0.1
|
|
|
ddb16c6 |
|
|
|
f7bd058 |
* Wed Oct 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-6
|
|
|
f7bd058 |
- Use proper patch numbering and base upstream branch for
|
|
|
f7bd058 |
porting ssl and hashlib modules to OpenSSL 1.1.0
|
|
|
f7bd058 |
- Drop hashlib patch for now
|
|
|
f7bd058 |
- Add riscv64 arch to 64bit and no-valgrind arches
|
|
|
f7bd058 |
|
|
|
55d65ad |
* Tue Oct 11 2016 Tomáš Mráz <tmraz@redhat.com> - 3.5.2-5
|
|
|
38b026e |
- Make it build with OpenSSL-1.1.0 based on upstream patch
|
|
|
38b026e |
|
|
|
1768987 |
* Wed Sep 14 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-4
|
|
|
1768987 |
- Obsolete and Provide python35 package
|
|
|
1768987 |
|
|
|
5941d2a |
* Mon Sep 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.2-3
|
|
|
40b8f9e |
- Update %%py_byte_compile macro
|
|
|
5941d2a |
- Remove unused configure flags (rhbz#1374357)
|
|
|
5941d2a |
|
|
|
b2fa007 |
* Fri Sep 09 2016 Tomas Orsava <torsava@redhat.com> - 3.5.2-2
|
|
|
b2fa007 |
- Updated .pyc 'bytecompilation with the newly installed interpreter' to also
|
|
|
b2fa007 |
recompile optimized .pyc files
|
|
|
b2fa007 |
- Removed .pyo 'bytecompilation with the newly installed interpreter', as .pyo
|
|
|
b2fa007 |
files are no more
|
|
|
b2fa007 |
- Resolves rhbz#1373635
|
|
|
b2fa007 |
|
|
|
6cd1c5f |
* Mon Aug 15 2016 Tomas Orsava <torsava@redhat.com> - 3.5.2-1
|
|
|
6cd1c5f |
- Rebased to version 3.5.2
|
|
|
6cd1c5f |
- Set to work with pip version 8.1.2
|
|
|
6cd1c5f |
- Removed patches 207, 237, 241 as fixes are already contained in Python 3.5.2
|
|
|
6cd1c5f |
- Removed arch or environment specific patches 194, 196, 203, and 208
|
|
|
6cd1c5f |
as test builds indicate they are no longer needed
|
|
|
6cd1c5f |
- Updated patches 102, 146, and 242 to work with the new Python codebase
|
|
|
6cd1c5f |
- Removed patches 200, 201, 5000 which weren't even being applied
|
|
|
6cd1c5f |
|
|
|
77a5f91 |
* Tue Aug 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-15
|
|
|
77a5f91 |
- Fix for CVE-2016-1000110 HTTPoxy attack
|
|
|
77a5f91 |
- SPEC file cleanup
|
|
|
77a5f91 |
|
|
|
4bc70e0 |
* Mon Aug 01 2016 Michal Toman <mtoman@fedoraproject.org> - 3.5.1-14
|
|
|
4bc70e0 |
- Build properly on MIPS
|
|
|
4bc70e0 |
|
|
|
18346f1 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.1-13
|
|
|
18346f1 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
18346f1 |
|
|
|
3702d0d |
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-12
|
|
|
3702d0d |
- Refactor patch for properly fixing CVE-2016-5636
|
|
|
3702d0d |
|
|
|
92512b0 |
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-11
|
|
|
92512b0 |
- Fix test_pyexpat failure with Expat version of 2.2.0
|
|
|
92512b0 |
|
|
|
347356c |
* Fri Jul 08 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-10
|
|
|
347356c |
- Move xml module to system-python-libs
|
|
|
347356c |
|
|
|
8f231d0 |
* Thu Jun 16 2016 Tomas Orsava <torsava@redhat.com> - 3.5.1-9
|
|
|
8f231d0 |
- Fix for: CVE-2016-0772 python: smtplib StartTLS stripping attack
|
|
|
8f231d0 |
- Raise an error when STARTTLS fails
|
|
|
8f231d0 |
- rhbz#1303647: https://bugzilla.redhat.com/show_bug.cgi?id=1303647
|
|
|
8f231d0 |
- rhbz#1346345: https://bugzilla.redhat.com/show_bug.cgi?id=1346345
|
|
|
8f231d0 |
- Fixed upstream: https://hg.python.org/cpython/rev/d590114c2394
|
|
|
8f231d0 |
|
|
|
5279a7c |
* Mon Jun 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.5.1-8
|
|
|
5279a7c |
- Added patch for fixing possible integer overflow and heap corruption in zipimporter.get_data()
|
|
|
5279a7c |
|
|
|
a6cf423 |
* Fri Mar 04 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-7
|
|
|
a6cf423 |
- Move distutils to system-python-libs
|
|
|
a6cf423 |
|
|
|
60aba0a |
* Wed Feb 24 2016 Robert Kuska <rkuska@redhat.com> - 3.5.1-6
|
|
Robert Kuska |
82c3cee |
- Provide python3-enum34
|
|
Robert Kuska |
82c3cee |
|
|
|
60aba0a |
* Fri Feb 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.5.1-5
|
|
|
60aba0a |
- Provide System Python packages and macros
|
|
|
60aba0a |
|
|
|
aa74fec |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.1-4
|
|
|
aa74fec |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
aa74fec |
|
|
Orion Poplawski |
1eeebcf |
* Wed Jan 13 2016 Orion Poplwski <orion@cora.nwra.com> - 3.5.1-2
|
|
Orion Poplawski |
1eeebcf |
- Drop python3 macros, require python/python3-rpm-macros
|
|
Orion Poplawski |
1eeebcf |
|
|
Robert Kuska |
e248727 |
* Mon Dec 14 2015 Robert Kuska <rkuska@redhat.com> - 3.5.1-1
|
|
Robert Kuska |
e248727 |
- Update to 3.5.1
|
|
Robert Kuska |
e248727 |
- Removed patch 199 and 207 (upstream)
|
|
Robert Kuska |
e248727 |
|
|
Robert Kuska |
e769a59 |
* Sun Nov 15 2015 Robert Kuska <rkuska@redhat.com> - 3.5.0-5
|
|
Robert Kuska |
e769a59 |
- Remove versioned libpython from devel package
|
|
Robert Kuska |
e769a59 |
|
|
|
0efd3d3 |
* Fri Nov 13 2015 Than Ngo <than@redhat.com> 3.5.0-4
|
|
|
0efd3d3 |
- add correct arch for ppc64/ppc64le to fix build failure
|
|
|
0efd3d3 |
|
|
Robert Kuska |
0837458 |
* Wed Nov 11 2015 Robert Kuska <rkuska@redhat.com> - 3.5.0-3
|
|
Robert Kuska |
0837458 |
- Hide the private _Py_atomic_xxx symbols from public header
|
|
Robert Kuska |
0837458 |
|
|
Robert Kuska |
b0795dd |
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 3.5.0-2
|
|
Robert Kuska |
b0795dd |
- Rebuild with wheel set to 1
|
|
Robert Kuska |
b0795dd |
|
|
Matej Stuchlik |
abb2ff8 |
* Tue Sep 15 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.5.0-1
|
|
Matej Stuchlik |
abb2ff8 |
- Update to 3.5.0
|
|
Matej Stuchlik |
abb2ff8 |
|
|
Thomas Spura |
8d338b7 |
* Mon Jun 29 2015 Thomas Spura <tomspur@fedoraproject.org> - 3.4.3-4
|
|
Thomas Spura |
8d338b7 |
- python3-devel: Require python-macros for version independant macros such as
|
|
Thomas Spura |
8d338b7 |
python_provide. See fpc#281 and fpc#534.
|
|
Thomas Spura |
8d338b7 |
|
|
|
6f1b657 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.3-3
|
|
|
6f1b657 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
6f1b657 |
|
|
Matej Stuchlik |
8f7e215 |
* Wed Jun 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-4
|
|
Matej Stuchlik |
8f7e215 |
- Use 1024bit DH key in test_ssl
|
|
Matej Stuchlik |
8f7e215 |
- Use -O0 when compiling -debug build
|
|
Matej Stuchlik |
8f7e215 |
- Update pip version variable to the version we actually ship
|
|
Matej Stuchlik |
8f7e215 |
|
|
Matej Stuchlik |
2699e37 |
* Wed Jun 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-3
|
|
Matej Stuchlik |
2699e37 |
- Make relocating Python by changing _prefix actually work
|
|
Matej Stuchlik |
2699e37 |
Resolves: rhbz#1231801
|
|
Matej Stuchlik |
2699e37 |
|
|
|
3b7dceb |
* Mon May 4 2015 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.3-2
|
|
|
3b7dceb |
- Disable test_gdb on aarch64 (rhbz#1196181), it joins all other non x86 arches
|
|
|
3b7dceb |
|
|
Matej Stuchlik |
318f360 |
* Thu Mar 12 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.3-1
|
|
Matej Stuchlik |
318f360 |
- Updated to 3.4.3
|
|
Matej Stuchlik |
318f360 |
- BuildPython now accepts additional build options
|
|
Matej Stuchlik |
318f360 |
- Temporarily disabled test_gdb on arm (rhbz#1196181)
|
|
Matej Stuchlik |
318f360 |
|
|
Matej Stuchlik |
aca03e4 |
* Wed Feb 25 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.4.2-7
|
|
Matej Stuchlik |
aca03e4 |
- Fixed undefined behaviour in faulthandler which caused test to hang on x86_64
|
|
Matej Stuchlik |
aca03e4 |
(http://bugs.python.org/issue23433)
|
|
Matej Stuchlik |
aca03e4 |
|
|
|
9d940a7 |
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 3.4.2-6
|
|
|
9d940a7 |
- Rebuilt for Fedora 23 Change
|
|
|
9d940a7 |
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
9d940a7 |
|
|
|
11842a3 |
* Tue Feb 17 2015 Ville Skyttä <ville.skytta@iki.fi> - 3.4.2-5
|
|
|
11842a3 |
- Own systemtap dirs (#710733)
|
|
|
11842a3 |
|
|
|
70025c7 |
* Mon Jan 12 2015 Dan Horák <dan[at]danny.cz> - 3.4.2-4
|
|
|
70025c7 |
- build with valgrind on ppc64le
|
|
|
70025c7 |
- disable test_gdb on s390(x) until rhbz#1181034 is resolved
|
|
|
70025c7 |
|
|
Robert Kuska |
86a9a20 |
* Tue Dec 16 2014 Robert Kuska <rkuska@redhat.com> - 3.4.2-3
|
|
Robert Kuska |
86a9a20 |
- New patches: 170 (gc asserts), 200 (gettext headers),
|
|
Robert Kuska |
86a9a20 |
201 (gdbm memory leak)
|
|
Robert Kuska |
86a9a20 |
|
|
Robert Kuska |
6afc2ff |
* Thu Dec 11 2014 Robert Kuska <rkuska@redhat.com> - 3.4.2-2
|
|
Robert Kuska |
6afc2ff |
- OpenSSL disabled SSLv3 in SSLv23 method
|
|
Robert Kuska |
6afc2ff |
|
|
Matej Stuchlik |
a8e96a1 |
* Thu Nov 13 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.2-1
|
|
Matej Stuchlik |
a8e96a1 |
- Update to 3.4.2
|
|
Matej Stuchlik |
a8e96a1 |
- Refreshed patches: 156 (gdb autoload)
|
|
Matej Stuchlik |
a8e96a1 |
- Removed: 195 (Werror declaration), 197 (CVE-2014-4650)
|
|
Matej Stuchlik |
a8e96a1 |
|
|
|
e0539fb |
* Mon Nov 03 2014 Slavek Kabrda <bkabrda@redhat.com> - 3.4.1-16
|
|
|
e0539fb |
- Fix CVE-2014-4650 - CGIHTTPServer URL handling
|
|
|
e0539fb |
Resolves: rhbz#1113529
|
|
|
e0539fb |
|
|
|
e0539fb |
* Sun Sep 07 2014 Karsten Hopp <karsten@redhat.com> 3.4.1-15
|
|
|
8d54999 |
- exclude test_gdb on ppc* (rhbz#1132488)
|
|
|
8d54999 |
|
|
|
ed631df |
* Thu Aug 21 2014 Slavek Kabrda <bkabrda@redhat.com> - 3.4.1-14
|
|
|
ed631df |
- Update rewheel patch with fix from https://github.com/bkabrda/rewheel/pull/1
|
|
|
ed631df |
|
|
|
2d77c4d |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-13
|
|
|
2d77c4d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
2d77c4d |
|
|
|
9012997 |
* Sun Jun 8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.1-12
|
|
|
9012997 |
- aarch64 has valgrind, just list those that don't support it
|
|
|
9012997 |
|
|
|
a292e5b |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.1-11
|
|
|
a292e5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a292e5b |
|
|
|
cb99f9f |
* Wed Jun 04 2014 Karsten Hopp <karsten@redhat.com> 3.4.1-10
|
|
|
cb99f9f |
- bump release and rebuild to link with the correct tcl/tk libs on ppcle
|
|
|
cb99f9f |
|
|
Matej Stuchlik |
1014fca |
* Tue Jun 03 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-9
|
|
Matej Stuchlik |
1014fca |
- Change paths to bundled projects in rewheel patch
|
|
Matej Stuchlik |
1014fca |
|
|
|
f188880 |
* Fri May 30 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-8
|
|
|
f188880 |
- In config script, use uname -m to write the arch
|
|
|
f188880 |
|
|
|
2a2186c |
* Thu May 29 2014 Dan Horák <dan[at]danny.cz> - 3.4.1-7
|
|
|
2a2186c |
- update the arch list where valgrind exists - %%power64 includes also
|
|
|
2a2186c |
ppc64le which is not supported yet
|
|
|
2a2186c |
|
|
|
567c967 |
* Thu May 29 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-6
|
|
|
567c967 |
- Forward arguments to the arch specific config script
|
|
|
567c967 |
Resolves: rhbz#1102683
|
|
|
567c967 |
|
|
|
3d53dce |
* Wed May 28 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-5
|
|
|
3d53dce |
- Rename python3.Xm-config script to arch specific.
|
|
|
3d53dce |
Resolves: rhbz#1091815
|
|
|
3d53dce |
|
|
|
f30edc5 |
* Tue May 27 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.1-4
|
|
|
f30edc5 |
- Use python3-*, not python-* runtime requires on setuptools and pip
|
|
|
aeae72b |
- rebuild for tcl-8.6
|
|
|
f30edc5 |
|
|
Matej Stuchlik |
cfa9e52 |
* Tue May 27 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-3
|
|
Matej Stuchlik |
cfa9e52 |
- Update the rewheel module
|
|
|
c21eb4a |
|
|
|
c75d3be |
* Mon May 26 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.1-2
|
|
|
c75d3be |
- Fix multilib dependencies.
|
|
|
c75d3be |
Resolves: rhbz#1091815
|
|
|
3a3feba |
|
|
Matej Stuchlik |
e602f7a |
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.1-1
|
|
Matej Stuchlik |
e602f7a |
- Update to Python 3.4.1
|
|
|
bdf58d6 |
|
|
Matej Stuchlik |
da57024 |
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-8
|
|
Matej Stuchlik |
da57024 |
- Fix test_gdb failure on ppc64le
|
|
Matej Stuchlik |
da57024 |
Resolves: rhbz#1095355
|
|
|
b8daf73 |
|
|
|
8ab4c2d |
* Thu May 22 2014 Miro Hrončok <mhroncok@redhat.com> - 3.4.0-7
|
|
|
8ab4c2d |
- Add macro %%python3_version_nodots
|
|
|
a39396d |
|
|
Matej Stuchlik |
1746188 |
* Sun May 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-6
|
|
Matej Stuchlik |
1746188 |
- Disable test_faulthandler, test_gdb on aarch64
|
|
Matej Stuchlik |
1746188 |
Resolves: rhbz#1045193
|
|
Matej Stuchlik |
1746188 |
|
|
Matej Stuchlik |
0624726 |
* Fri May 16 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-5
|
|
Matej Stuchlik |
0624726 |
- Don't add Werror=declaration-after-statement for extension
|
|
Matej Stuchlik |
0624726 |
modules through setup.py (PyBT#21121)
|
|
Matej Stuchlik |
0624726 |
|
|
Matej Stuchlik |
f498010 |
* Mon May 12 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-4
|
|
Matej Stuchlik |
f498010 |
- Add setuptools and pip to Requires
|
|
Matej Stuchlik |
f498010 |
|
|
Matej Stuchlik |
516eb7a |
* Tue Apr 29 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-3
|
|
Matej Stuchlik |
516eb7a |
- Point __os_install_post to correct brp-* files
|
|
Matej Stuchlik |
516eb7a |
|
|
Matej Stuchlik |
7d579ea |
* Tue Apr 15 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-2
|
|
Matej Stuchlik |
7d579ea |
- Temporarily disable tests requiring SIGHUP (rhbz#1088233)
|
|
Matej Stuchlik |
7d579ea |
|
|
Matej Stuchlik |
11fb599 |
* Tue Apr 15 2014 Matej Stuchlik <mstuchli@redhat.com> - 3.4.0-1
|
|
Matej Stuchlik |
11fb599 |
- Update to Python 3.4 final
|
|
Matej Stuchlik |
11fb599 |
- Add patch adding the rewheel module
|
|
Matej Stuchlik |
11fb599 |
- Merge patches from master
|
|
Matej Stuchlik |
11fb599 |
|
|
|
61fd48d |
* Wed Jan 08 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-0.1.b2
|
|
|
61fd48d |
- Update to Python 3.4 beta 2.
|
|
|
61fd48d |
- Refreshed patches: 55 (systemtap), 146 (hashlib-fips), 154 (test_gdb noise)
|
|
|
61fd48d |
- Dropped patches: 114 (statvfs constants), 177 (platform unicode)
|
|
|
61fd48d |
|
|
|
bf35167 |
* Mon Nov 25 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-0.1.b1
|
|
|
bf35167 |
- Update to Python 3.4 beta 1.
|
|
|
bf35167 |
- Refreshed patches: 102 (lib64), 111 (no static lib), 125 (less verbose COUNT
|
|
|
bf35167 |
ALLOCS), 141 (fix COUNT_ALLOCS in test_module), 146 (hashlib fips),
|
|
|
bf35167 |
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port)
|
|
|
bf35167 |
- Removed patch 00187 (remove pthread atfork; upstreamed)
|
|
|
bf35167 |
|
|
|
f5250ec |
* Mon Nov 04 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-0.1.a4
|
|
|
f5250ec |
- Update to Python 3.4 alpha 4.
|
|
|
f5250ec |
- Refreshed patches: 55 (systemtap), 102 (lib64), 111 (no static lib),
|
|
|
f5250ec |
114 (statvfs flags), 132 (unittest rpmbuild hooks), 134 (fix COUNT_ALLOCS in
|
|
|
f5250ec |
test_sys), 143 (tsc on ppc64), 146 (hashlib fips), 153 (test gdb noise),
|
|
|
f5250ec |
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port), 186 (dont raise
|
|
|
f5250ec |
from py_compile)
|
|
|
f5250ec |
- Removed patches: 129 (test_subprocess nonreadable dir - no longer fails in
|
|
|
f5250ec |
Koji), 142 (the mock issue that caused this is fixed)
|
|
|
f5250ec |
- Added patch 187 (remove thread atfork) - will be in next version
|
|
|
f5250ec |
- Refreshed script for checking pyc and pyo timestamps with new ignored files.
|
|
|
f5250ec |
- The fips patch is disabled for now until upstream makes a final decision
|
|
|
f5250ec |
what to do with sha3 implementation for 3.4.0.
|
|
Matej Stuchlik |
54afb02 |
|
|
|
3dbbc14 |
* Wed Oct 30 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-7
|
|
|
3dbbc14 |
- Bytecompile all *.py files properly during build (rhbz#1023607)
|
|
|
3dbbc14 |
|
|
Matej Stuchlik |
8aaa11c |
* Fri Aug 23 2013 Matej Stuchlik <mstuchli@redhat.com> - 3.3.2-6
|
|
Matej Stuchlik |
8aaa11c |
- Added fix for CVE-2013-4238 (rhbz#996399)
|
|
Matej Stuchlik |
8aaa11c |
|
|
|
fbccd69 |
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> - 3.3.2-5
|
|
|
fbccd69 |
- fix up indentation in arm patch
|
|
|
fbccd69 |
|
|
|
486eb43 |
* Fri Jul 26 2013 Dennis Gilmore <dennis@ausil.us> - 3.3.2-4
|
|
|
486eb43 |
- disable a test that fails on arm
|
|
|
486eb43 |
- enable valgrind support on arm arches
|
|
|
486eb43 |
|
|
|
001a277 |
* Tue Jul 02 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-3
|
|
|
001a277 |
- Fix build with libffi containing multilib wrapper for ffi.h (rhbz#979696).
|
|
|
001a277 |
|
|
|
22e1cc9 |
* Mon May 20 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-2
|
|
|
22e1cc9 |
- Add patch for CVE-2013-2099 (rhbz#963261).
|
|
|
22e1cc9 |
|
|
|
a60a842 |
* Thu May 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.2-1
|
|
|
a60a842 |
- Updated to Python 3.3.2.
|
|
|
a60a842 |
- Refreshed patches: 153 (gdb test noise)
|
|
|
d4ea6cd |
- Dropped patches: 175 (configure -Wformat, fixed upstream), 182 (gdb
|
|
|
d4ea6cd |
test threads)
|
|
|
a60a842 |
- Synced patch numbers with python.spec.
|
|
|
a60a842 |
|
|
|
9d658b4 |
* Thu May 9 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.1-4
|
|
|
9d658b4 |
- fix test.test_gdb.PyBtTests.test_threads on ppc64 (patch 181; rhbz#960010)
|
|
|
9d658b4 |
|
|
|
f9db6e6 |
* Thu May 02 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.1-3
|
|
|
f9db6e6 |
- Add patch that enables building on ppc64p7 (replace the sed, so that
|
|
|
f9db6e6 |
we get consistent with python2 spec and it's more obvious that we're doing it.
|
|
|
f9db6e6 |
|
|
|
b935d25 |
* Wed Apr 24 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.1-2
|
|
|
b935d25 |
- Add fix for gdb tests failing on arm, rhbz#951802.
|
|
|
b935d25 |
|
|
|
5023236 |
* Tue Apr 09 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.1-1
|
|
|
5023236 |
- Updated to Python 3.3.1.
|
|
|
5023236 |
- Refreshed patches: 55 (systemtap), 111 (no static lib), 146 (hashlib fips),
|
|
|
5023236 |
153 (fix test_gdb noise), 157 (uid, gid overflow - fixed upstream, just
|
|
|
5023236 |
keeping few more downstream tests)
|
|
|
5023236 |
- Removed patches: 3 (audiotest.au made it to upstream tarball)
|
|
|
5023236 |
- Removed workaround for http://bugs.python.org/issue14774, discussed in
|
|
|
5023236 |
http://bugs.python.org/issue15298 and fixed in revision 24d52d3060e8.
|
|
|
5023236 |
|
|
|
b4d586e |
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-10
|
|
|
b4d586e |
- fix gcc 4.8 incompatibility (rhbz#927358); regenerate autotool intermediates
|
|
|
b4d586e |
|
|
|
ff7dfb6 |
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-9
|
|
|
ff7dfb6 |
- renumber patches to keep them in sync with python.spec
|
|
|
ff7dfb6 |
|
|
|
7c28d2c |
* Fri Mar 15 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-8
|
|
|
7c28d2c |
- Fix error in platform.platform() when non-ascii byte strings are decoded to
|
|
|
7c28d2c |
unicode (rhbz#922149)
|
|
|
7c28d2c |
|
|
|
7c28d2c |
* Thu Mar 14 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-7
|
|
|
e721470 |
- Fix up shared library extension (rhbz#889784)
|
|
|
e721470 |
|
|
|
42e503c |
* Thu Mar 07 2013 Karsten Hopp <karsten@redhat.com> 3.3.0-6
|
|
|
42e503c |
- add ppc64p7 build target, optimized for Power7
|
|
|
42e503c |
|
|
|
260ceea |
* Mon Mar 4 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-5
|
|
|
260ceea |
- add workaround for ENOPROTOOPT seen running selftests in Koji
|
|
|
260ceea |
(rhbz#913732)
|
|
|
260ceea |
|
|
|
19e1adc |
* Mon Mar 4 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-4
|
|
|
19e1adc |
- remove config flag from /etc/rpm/macros.{python3|pybytecompile}
|
|
|
19e1adc |
|
|
|
a2f6453 |
* Mon Feb 11 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-3
|
|
|
a2f6453 |
- add aarch64 (rhbz#909783)
|
|
|
a2f6453 |
|
|
|
81ac8c8 |
* Thu Nov 29 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-2
|
|
|
81ac8c8 |
- add BR on bluez-libs-devel (rhbz#879720)
|
|
|
81ac8c8 |
|
|
|
513a269 |
* Sat Sep 29 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-1
|
|
|
513a269 |
- 3.3.0rc3 -> 3.3.0; drop alphatag
|
|
|
513a269 |
|
|
|
3705b64 |
* Mon Sep 24 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.6.rc3
|
|
|
3705b64 |
- 3.3.0rc2 -> 3.3.0rc3
|
|
|
3705b64 |
|
|
|
78727de |
* Mon Sep 10 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.5.rc2
|
|
|
78727de |
- 3.3.0rc1 -> 3.3.0rc2; refresh patch 55
|
|
|
78727de |
|
|
|
92d712a |
* Mon Aug 27 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.4.rc1
|
|
|
92d712a |
- 3.3.0b2 -> 3.3.0rc1; refresh patches 3, 55
|
|
|
92d712a |
|
|
|
62d7207 |
* Mon Aug 13 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.3.b2
|
|
|
62d7207 |
- 3.3b1 -> 3.3b2; drop upstreamed patch 152; refresh patches 3, 102, 111,
|
|
|
62d7207 |
134, 153, 160; regenenerate autotools patch; rework systemtap patch to work
|
|
|
62d7207 |
correctly when LANG=C (patch 55); importlib.test was moved to
|
|
|
62d7207 |
test.test_importlib upstream
|
|
|
62d7207 |
|
|
|
d474ecc |
* Mon Aug 13 2012 Karsten Hopp <karsten@redhat.com> 3.3.0-0.2.b1
|
|
|
d474ecc |
- disable some failing checks on PPC* (rhbz#846849)
|
|
|
d474ecc |
|
|
|
6a38560 |
* Fri Aug 3 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.1.b1
|
|
|
1c94c1a |
- 3.2 -> 3.3: https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
1c94c1a |
- 3.3.0b1: refresh patches 3, 55, 102, 111, 113, 114, 134, 157; drop upstream
|
|
|
1c94c1a |
patch 147; regenenerate autotools patch; drop "--with-wide-unicode" from
|
|
|
1c94c1a |
configure (PEP 393); "plat-linux2" -> "plat-linux" (upstream issue 12326);
|
|
|
1c94c1a |
"bz2" -> "_bz2" and "crypt" -> "_crypt"; egg-info files are no longer shipped
|
|
|
1c94c1a |
for stdlib (upstream issues 10645 and 12218); email/test moved to
|
|
|
1c94c1a |
test/test_email; add /usr/bin/pyvenv[-3.3] and venv module (PEP 405); add
|
|
|
1c94c1a |
_decimal and _lzma modules; make collections modules explicit in payload again
|
|
|
1c94c1a |
(upstream issue 11085); add _testbuffer module to tests subpackage (added in
|
|
|
823581e |
upstream commit 3f9b3b6f7ff0); fix test failures (patches 160 and 161);
|
|
|
08ca53f |
workaround erroneously shared _sysconfigdata.py upstream issue #14774; fix
|
|
|
f2b86e2 |
distutils.sysconfig traceback (patch 162); add BuildRequires: xz-devel (for
|
|
|
48d2048 |
_lzma module); skip some tests within test_socket (patch 163)
|
|
|
1c94c1a |
|
|
|
9924024 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-11
|
|
|
9924024 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
9924024 |
|
|
|
6a38560 |
* Fri Jul 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.1.b1
|
|
|
6a38560 |
|
|
|
cc23835 |
* Fri Jun 22 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-10
|
|
|
cc23835 |
- use macro for power64 (rhbz#834653)
|
|
|
cc23835 |
|
|
|
a25ec0b |
* Mon Jun 18 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-9
|
|
|
a25ec0b |
- fix missing include in uid/gid handling patch (patch 157; rhbz#830405)
|
|
|
a25ec0b |
|
|
|
f011cdc |
* Wed May 30 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 3.2.3-8
|
|
|
f011cdc |
- fix tapset for debug build
|
|
|
f011cdc |
|
|
|
7989368 |
* Tue May 15 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-7
|
|
|
7989368 |
- update uid/gid handling to avoid int overflows seen with uid/gid
|
|
|
7989368 |
values >= 2^31 on 32-bit architectures (patch 157; rhbz#697470)
|
|
|
7989368 |
|
|
|
8cb91f0 |
* Fri May 4 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-6
|
|
|
8cb91f0 |
- renumber autotools patch from 300 to 5000
|
|
|
8cb91f0 |
- specfile cleanups
|
|
|
8cb91f0 |
|
|
|
938d1d7 |
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-5
|
|
|
938d1d7 |
- fix test_gdb.py (patch 156; rhbz#817072)
|
|
|
938d1d7 |
|
|
|
8a28107 |
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-4
|
|
|
8a28107 |
- avoid allocating thunks in ctypes unless absolutely necessary, to avoid
|
|
|
8a28107 |
generating SELinux denials on "import ctypes" and "import uuid" when embedding
|
|
|
8a28107 |
Python within httpd (patch 155; rhbz#814391)
|
|
|
8a28107 |
|
|
|
5974f19 |
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-3
|
|
|
5974f19 |
- add explicit version requirements on expat to avoid linkage problems with
|
|
|
5974f19 |
XML_SetHashSalt
|
|
|
5974f19 |
|
|
|
3170c05 |
* Thu Apr 12 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-2
|
|
|
3170c05 |
- fix test_gdb (patch 153)
|
|
|
3170c05 |
|
|
|
2885662 |
* Wed Apr 11 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
|
|
|
2885662 |
- 3.2.3; refresh patch 102 (lib64); drop upstream patches 148 (gdbm magic
|
|
|
2885662 |
values), 149 (__pycache__ fix); add patch 152 (test_gdb regex)
|
|
|
2885662 |
|
|
Thomas Spura |
ae2fc1c |
* Thu Feb 9 2012 Thomas Spura <tomspur@fedoraproject.org> - 3.2.2-13
|
|
Thomas Spura |
ae2fc1c |
- use newly installed python for byte compiling (now for real)
|
|
Thomas Spura |
e6314e6 |
|
|
Thomas Spura |
1c26b68 |
* Sun Feb 5 2012 Thomas Spura <tomspur@fedoraproject.org> - 3.2.2-12
|
|
Thomas Spura |
1c26b68 |
- use newly installed python for byte compiling (#787498)
|
|
Thomas Spura |
1c26b68 |
|
|
|
8a69a67 |
* Wed Jan 4 2012 Ville Skyttä <ville.skytta@iki.fi> - 3.2.2-11
|
|
|
8a69a67 |
- Build with $RPM_LD_FLAGS (#756863).
|
|
|
8a69a67 |
- Use xz-compressed source tarball.
|
|
|
8a69a67 |
|
|
|
1af1383 |
* Wed Dec 07 2011 Karsten Hopp <karsten@redhat.com> 3.2.2-10
|
|
|
1af1383 |
- disable rAssertAlmostEqual in test_cmath on PPC (#750811)
|
|
|
1af1383 |
|
|
|
8c9e381 |
* Mon Oct 17 2011 Rex Dieter <rdieter@fedoraproject.org> - 3.2.2-9
|
|
|
8c9e381 |
- python3-devel missing autogenerated pkgconfig() provides (#746751)
|
|
|
8c9e381 |
|
|
|
e2a3db4 |
* Mon Oct 10 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-8
|
|
|
e2a3db4 |
- cherrypick fix for distutils not using __pycache__ when byte-compiling
|
|
|
e2a3db4 |
files (rhbz#722578)
|
|
|
e2a3db4 |
|
|
|
9b8d221 |
* Fri Sep 30 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-7
|
|
|
9b8d221 |
- re-enable gdbm (patch 148; rhbz#742242)
|
|
|
9b8d221 |
|
|
|
ab415c6 |
* Fri Sep 16 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-6
|
|
|
ab415c6 |
- add a sys._debugmallocstats() function (patch 147)
|
|
|
ab415c6 |
|
|
|
b8f92b4 |
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-5
|
|
|
b8f92b4 |
- support OpenSSL FIPS mode in _hashlib and hashlib; don't build the _md5 and
|
|
|
b8f92b4 |
_sha* modules, relying on _hashlib in hashlib (rhbz#563986; patch 146)
|
|
|
b8f92b4 |
|
|
|
5fe31d8 |
* Tue Sep 13 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-4
|
|
|
5fe31d8 |
- disable gdbm module to prepare for gdbm soname bump
|
|
|
5fe31d8 |
|
|
|
c923b51 |
* Mon Sep 12 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-3
|
|
|
c923b51 |
- renumber and rename patches for consistency with python.spec (8 to 55, 106
|
|
|
c923b51 |
to 104, 6 to 111, 104 to 113, 105 to 114, 125, 131, 130 to 143)
|
|
|
c923b51 |
|
|
|
0c8875f |
* Sat Sep 10 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-2
|
|
|
0c8875f |
- rewrite of "check", introducing downstream-only hooks for skipping specific
|
|
|
0c8875f |
cases in an rpmbuild (patch 132), and fixing/skipping failing tests in a more
|
|
|
0c8875f |
fine-grained manner than before; (patches 106, 133-142 sparsely, moving
|
|
|
0c8875f |
patches for consistency with python.spec: 128 to 134, 126 to 135, 127 to 141)
|
|
|
0c8875f |
|
|
|
06b3c5b |
* Tue Sep 6 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-1
|
|
|
06b3c5b |
- 3.2.2
|
|
|
06b3c5b |
|
|
|
28391cb |
* Thu Sep 1 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-7
|
|
|
28391cb |
- run selftests with "--verbose"
|
|
|
28391cb |
- disable parts of test_io on ppc (rhbz#732998)
|
|
|
28391cb |
|
|
|
9a778ac |
* Wed Aug 31 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-6
|
|
|
9a778ac |
- use "--findleaks --verbose3" when running test suite
|
|
|
9a778ac |
|
|
|
ceb359a |
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-5
|
|
|
ceb359a |
- re-enable and fix the --with-tsc option on ppc64, and rework it on 32-bit
|
|
|
ceb359a |
ppc to avoid aliasing violations (patch 130; rhbz#698726)
|
|
|
ceb359a |
|
|
|
4763ff8 |
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-4
|
|
|
4763ff8 |
- don't use --with-tsc on ppc64 debug builds (rhbz#698726)
|
|
|
4763ff8 |
|
|
|
65e90f6 |
* Thu Aug 18 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-3
|
|
|
65e90f6 |
- add %%python3_version to the rpm macros (rhbz#719082)
|
|
|
65e90f6 |
|
|
|
cdc1710 |
* Mon Jul 11 2011 Dennis Gilmore <dennis@ausil.us> - 3.2.1-2
|
|
Robert Kuska |
a0e3ab8 |
- disable some tests on sparc arches
|
|
|
cdc1710 |
|
|
|
cce760d |
* Mon Jul 11 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.1-1
|
|
|
cce760d |
- 3.2.1; refresh lib64 patch (102), subprocess unit test patch (129), disabling
|
|
|
cce760d |
of static library build (due to Modules/_testembed; patch 6), autotool
|
|
|
cce760d |
intermediates (patch 300)
|
|
|
cce760d |
|
|
|
cfd3e15 |
* Fri Jul 8 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-5
|
|
|
cfd3e15 |
- use the gdb hooks from the upstream tarball, rather than keeping our own copy
|
|
|
cfd3e15 |
|
|
|
5db81fb |
* Fri Jul 8 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-4
|
|
|
5db81fb |
- don't run test_openpty and test_pty in %%check
|
|
|
5db81fb |
|
|
|
c769a6b |
* Fri Jul 8 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-3
|
|
|
c769a6b |
- cleanup of BuildRequires; add comment headings to specfile sections
|
|
|
c769a6b |
|
|
|
b0ba5d4 |
* Tue Apr 19 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-2
|
|
|
b0ba5d4 |
- fix the libpython.stp systemtap tapset (rhbz#697730)
|
|
|
b0ba5d4 |
|
|
|
e516bd5 |
* Mon Feb 21 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-1
|
|
|
e516bd5 |
- 3.2
|
|
|
e516bd5 |
- drop alphatag
|
|
|
e516bd5 |
- regenerate autotool patch
|
|
|
e516bd5 |
|
|
|
9640a7e |
* Mon Feb 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.13.rc3
|
|
|
9640a7e |
- add a /usr/bin/python3-debug symlink within the debug subpackage
|
|
|
9640a7e |
|
|
|
3f75b3e |
* Mon Feb 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.12.rc3
|
|
|
3f75b3e |
- 3.2rc3
|
|
|
3f75b3e |
- regenerate autotool patch
|
|
|
3f75b3e |
|
|
|
fef240e |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-0.11.rc2
|
|
|
fef240e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fef240e |
|
|
|
fc9ba51 |
* Mon Jan 31 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.10.rc2
|
|
|
fc9ba51 |
- 3.2rc2
|
|
|
fc9ba51 |
|
|
|
34c15c7 |
* Mon Jan 17 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.9.rc1
|
|
|
34c15c7 |
- 3.2rc1
|
|
|
34c15c7 |
- rework patch 6 (static lib removal)
|
|
|
34c15c7 |
- remove upstreamed patch 130 (ppc debug build)
|
|
|
34c15c7 |
- regenerate patch 300 (autotool intermediates)
|
|
|
34c15c7 |
- updated packaging to reflect upstream rewrite of "Demo" (issue 7962)
|
|
|
34c15c7 |
- added libpython3.so and 2to3-3.2
|
|
|
34c15c7 |
|
|
|
5659c63 |
* Wed Jan 5 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.8.b2
|
|
|
5659c63 |
- set EXTRA_CFLAGS to our CFLAGS, rather than overriding OPT, fixing a linker
|
|
|
5659c63 |
error with dynamic annotations (when configured using --with-valgrind)
|
|
|
5659c63 |
- fix the ppc build of the debug configuration (patch 130; rhbz#661510)
|
|
|
5659c63 |
|
|
|
31a06df |
* Tue Jan 4 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.7.b2
|
|
|
31a06df |
- add --with-valgrind to configuration (on architectures that support this)
|
|
|
31a06df |
|
|
|
c23ee7d |
* Wed Dec 29 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.6.b2
|
|
|
c23ee7d |
- work around test_subprocess failure seen in koji (patch 129)
|
|
|
c23ee7d |
|
|
|
5080ffc |
* Tue Dec 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.b2
|
|
|
5080ffc |
- 3.2b2
|
|
|
5080ffc |
- rework patch 3 (removal of mimeaudio tests), patch 6 (no static libs),
|
|
|
5080ffc |
patch 8 (systemtap), patch 102 (lib64)
|
|
|
5080ffc |
- remove patch 4 (rendered redundant by upstream r85537), patch 103 (PEP 3149),
|
|
|
5080ffc |
patch 110 (upstreamed expat fix), patch 111 (parallel build fix for grammar
|
|
|
5080ffc |
fixed upstream)
|
|
|
5080ffc |
- regenerate patch 300 (autotool intermediates)
|
|
|
5080ffc |
- workaround COUNT_ALLOCS weakref issues in test suite (patch 126, patch 127,
|
|
|
5080ffc |
patch 128)
|
|
|
5080ffc |
- stop using runtest.sh in %%check (dropped by upstream), replacing with
|
|
|
5080ffc |
regrtest; fixup list of failing tests
|
|
|
5080ffc |
- introduce "pyshortver", "SOABI_optimized" and "SOABI_debug" macros
|
|
|
5080ffc |
- rework manifests of shared libraries to use "SOABI_" macros, reflecting
|
|
|
5080ffc |
PEP 3149
|
|
|
5080ffc |
- drop itertools, operator and _collections modules from the manifests as py3k
|
|
|
5080ffc |
commit r84058 moved these inside libpython; json/tests moved to test/json_tests
|
|
|
5080ffc |
- move turtle code into the tkinter subpackage
|
|
|
5080ffc |
|
|
|
824c34b |
* Wed Nov 17 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.a1
|
|
|
824c34b |
- fix sysconfig to not rely on the -devel subpackage (rhbz#653058)
|
|
|
824c34b |
|
|
|
26c1be5 |
* Thu Sep 9 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.4.a1
|
|
|
26c1be5 |
- move most of the content of the core package to the libs subpackage, given
|
|
|
26c1be5 |
that the libs aren't meaningfully usable without the standard libraries
|
|
|
26c1be5 |
|
|
|
e1c7be0 |
* Wed Sep 8 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.3.a1
|
|
|
e1c7be0 |
- Move test.support to core package (rhbz#596258)
|
|
|
e1c7be0 |
- Add various missing __pycache__ directories to payload
|
|
|
e1c7be0 |
|
|
|
13c4a4f |
* Sun Aug 22 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2-0.2.a1
|
|
|
13c4a4f |
- Add __pycache__ directory for site-packages
|
|
|
13c4a4f |
|
|
|
997d5a2 |
* Sun Aug 22 2010 Thomas Spura <tomspur@fedoraproject.org> - 3.2-0.1.a1
|
|
|
997d5a2 |
- on 64bit "stdlib" was still "/usr/lib/python*" (modify *lib64.patch)
|
|
|
997d5a2 |
- make find-provides-without-python-sonames.sh 64bit aware
|
|
|
997d5a2 |
|
|
|
7eb10c8 |
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
|
|
|
7eb10c8 |
- 3.2a1; add alphatag
|
|
|
7eb10c8 |
- rework %%files in the light of PEP 3147 (__pycache__)
|
|
|
7eb10c8 |
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
|
|
|
7eb10c8 |
better job of things, and the %%files explicitly lists our modules (r82746
|
|
|
7eb10c8 |
appears to break the old way of doing things). This leads to various modules
|
|
|
7eb10c8 |
changing from "foomodule.so" to "foo.so". It also leads to the optimized build
|
|
|
7eb10c8 |
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
|
|
|
7eb10c8 |
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
|
|
|
7eb10c8 |
testing/devel purposes)
|
|
|
7eb10c8 |
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
|
|
|
7eb10c8 |
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
|
|
|
7eb10c8 |
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
|
|
|
7eb10c8 |
- add machinery for rebuilding "configure" and friends, using the correct
|
|
|
7eb10c8 |
version of autoconf (patch 300)
|
|
|
7eb10c8 |
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
|
|
|
7eb10c8 |
- "modulator" was removed upstream
|
|
|
7eb10c8 |
- drop "-b" from patch applications affecting .py files to avoid littering the
|
|
|
7eb10c8 |
installation tree
|
|
|
7eb10c8 |
|
|
|
ab3441a |
* Thu Aug 19 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-13
|
|
|
91b7804 |
- Turn on computed-gotos.
|
|
|
ab3441a |
- Fix for parallel make and graminit.c
|
|
|
91b7804 |
|
|
|
9b81ebe |
* Fri Jul 2 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-12
|
|
|
9b81ebe |
- rebuild
|
|
|
9b81ebe |
|
|
|
03b7fb2 |
* Fri Jul 2 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-11
|
|
|
03b7fb2 |
- Fix an incompatibility between pyexpat and the system expat-2.0.1 that led to
|
|
|
03b7fb2 |
a segfault running test_pyexpat.py (patch 110; upstream issue 9054; rhbz#610312)
|
|
|
03b7fb2 |
|
|
|
5c9590b |
* Fri Jun 4 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-10
|
|
|
5c9590b |
- ensure that the compiler is invoked with "-fwrapv" (rhbz#594819)
|
|
|
5c9590b |
- reformat whitespace in audioop.c (patch 106)
|
|
|
5c9590b |
- CVE-2010-1634: fix various integer overflow checks in the audioop
|
|
|
5c9590b |
module (patch 107)
|
|
|
5c9590b |
- CVE-2010-2089: further checks within the audioop module (patch 108)
|
|
|
5c9590b |
- CVE-2008-5983: the new PySys_SetArgvEx entry point from r81399 (patch 109)
|
|
|
5c9590b |
|
|
|
66cf571 |
* Thu May 27 2010 Dan Horák <dan[at]danny.cz> - 3.1.2-9
|
|
|
66cf571 |
- reading the timestamp counter is available only on some arches (see Python/ceval.c)
|
|
|
66cf571 |
|
|
|
d73e38d |
* Wed May 26 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-8
|
|
|
d73e38d |
- add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
|
|
|
d73e38d |
(patch 105)
|
|
|
d73e38d |
|
|
|
021b2bc |
* Tue May 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-7
|
|
|
021b2bc |
- add configure-time support for COUNT_ALLOCS and CALL_PROFILE debug options
|
|
|
021b2bc |
(patch 104); enable them and the WITH_TSC option within the debug build
|
|
|
021b2bc |
|
|
|
55cf580 |
* Mon May 24 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-6
|
|
|
55cf580 |
- build and install two different configurations of Python 3: debug and
|
|
|
55cf580 |
standard, packaging the debug build in a new "python3-debug" subpackage
|
|
|
55cf580 |
(patch 103)
|
|
|
55cf580 |
|
|
|
bbd09cc |
* Tue Apr 13 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-5
|
|
|
bbd09cc |
- exclude test_http_cookies when running selftests, due to hang seen on
|
|
|
bbd09cc |
http://koji.fedoraproject.org/koji/taskinfo?taskID=2088463 (cancelled after
|
|
|
bbd09cc |
11 hours)
|
|
|
bbd09cc |
- update python-gdb.py from v5 to py3k version submitted upstream
|
|
|
bbd09cc |
|
|
|
80325d9 |
* Wed Mar 31 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-4
|
|
|
80325d9 |
- update python-gdb.py from v4 to v5 (improving performance and stability,
|
|
|
80325d9 |
adding commands)
|
|
|
80325d9 |
|
|
|
da0826a |
* Thu Mar 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-3
|
|
|
da0826a |
- update python-gdb.py from v3 to v4 (fixing infinite recursion on reference
|
|
|
da0826a |
cycles and tracebacks on bytes 0x80-0xff in strings, adding handlers for sets
|
|
|
da0826a |
and exceptions)
|
|
|
da0826a |
|
|
|
485fd76 |
* Wed Mar 24 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-2
|
|
|
485fd76 |
- refresh gdb hooks to v3 (reworking how they are packaged)
|
|
|
485fd76 |
|
|
|
eeb0b9b |
* Sun Mar 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-1
|
|
|
eeb0b9b |
- update to 3.1.2: http://www.python.org/download/releases/3.1.2/
|
|
|
eeb0b9b |
- drop upstreamed patch 2 (.pyc permissions handling)
|
|
|
eeb0b9b |
- drop upstream patch 5 (fix for the test_tk and test_ttk_* selftests)
|
|
|
eeb0b9b |
- drop upstreamed patch 200 (path-fixing script)
|
|
|
eeb0b9b |
|
|
|
536a207 |
* Sat Mar 20 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-28
|
|
|
536a207 |
- fix typo in libpython.stp (rhbz:575336)
|
|
|
536a207 |
|
|
|
71040c9 |
* Fri Mar 12 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-27
|
|
|
71040c9 |
- add pyfuntop.stp example (source 7)
|
|
|
71040c9 |
- convert usage of $$RPM_BUILD_ROOT to %%{buildroot} throughout, for
|
|
|
71040c9 |
consistency with python.spec
|
|
|
71040c9 |
|
|
|
3d86c8f |
* Mon Feb 15 2010 Thomas Spura <tomspur@fedoraproject.org> - 3.1.1-26
|
|
|
3d86c8f |
- rebuild for new package of redhat-rpm-config (rhbz:564527)
|
|
|
3d86c8f |
- use 'install -p' when running 'make install'
|
|
|
3d86c8f |
|
|
|
c969609 |
* Fri Feb 12 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-25
|
|
|
c969609 |
- split configure options into multiple lines for easy of editing
|
|
|
c969609 |
- add systemtap static markers (wcohen, mjw, dmalcolm; patch 8), a systemtap
|
|
|
c969609 |
tapset defining "python.function.entry" and "python.function.return" to make
|
|
|
c969609 |
the markers easy to use (dmalcolm; source 5), and an example of using the
|
|
|
c969609 |
tapset to the docs (dmalcolm; source 6) (rhbz:545179)
|
|
|
c969609 |
|
|
|
d5a5bf3 |
* Mon Feb 8 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-24
|
|
|
d5a5bf3 |
- move the -gdb.py file from %%{_libdir}/INSTSONAME-gdb.py to
|
|
|
d5a5bf3 |
%%{_prefix}/lib/debug/%%{_libdir}/INSTSONAME.debug-gdb.py to avoid noise from
|
|
|
d5a5bf3 |
ldconfig (bug 562980), and which should also ensure it becomes part of the
|
|
|
d5a5bf3 |
debuginfo subpackage, rather than the libs subpackage
|
|
|
d5a5bf3 |
- introduce %%{py_SOVERSION} and %%{py_INSTSONAME} to reflect the upstream
|
|
|
d5a5bf3 |
configure script, and to avoid fragile scripts that try to figure this out
|
|
|
d5a5bf3 |
dynamically (e.g. for the -gdb.py change)
|
|
|
d5a5bf3 |
|
|
|
b2154fa |
* Mon Feb 8 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-23
|
|
|
b2154fa |
- add gdb hooks for easier debugging (Source 4)
|
|
|
b2154fa |
|
|
|
1ae4dd3 |
* Thu Jan 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-22
|
|
|
1ae4dd3 |
- update python-3.1.1-config.patch to remove downstream customization of build
|
|
|
1ae4dd3 |
of pyexpat and elementtree modules
|
|
|
1ae4dd3 |
- add patch adapted from upstream (patch 7) to add support for building against
|
|
|
1ae4dd3 |
system expat; add --with-system-expat to "configure" invocation
|
|
|
1ae4dd3 |
- remove embedded copies of expat and zlib from source tree during "prep"
|
|
|
1ae4dd3 |
|
|
|
4aab458 |
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-21
|
|
|
4aab458 |
- introduce %%{dynload_dir} macro
|
|
|
4aab458 |
- explicitly list all lib-dynload files, rather than dynamically gathering the
|
|
|
4aab458 |
payload into a temporary text file, so that we can be sure what we are
|
|
|
4aab458 |
shipping
|
|
|
4aab458 |
- introduce a macros.pybytecompile source file, to help with packaging python3
|
|
|
4aab458 |
modules (Source3; written by Toshio)
|
|
|
4aab458 |
- rename "2to3-3" to "python3-2to3" to better reflect python 3 module packaging
|
|
|
4aab458 |
plans
|
|
|
4aab458 |
|
|
|
113725a |
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-20
|
|
|
113725a |
- change python-3.1.1-config.patch to remove our downstream change to curses
|
|
|
113725a |
configuration in Modules/Setup.dist, so that the curses modules are built using
|
|
|
113725a |
setup.py with the downstream default (linking against libncursesw.so, rather
|
|
|
113725a |
than libncurses.so), rather than within the Makefile; add a test to %%install
|
|
|
113725a |
to verify the dso files that the curses module is linked against the correct
|
|
|
113725a |
DSO (bug 539917; changes _cursesmodule.so -> _curses.so)
|
|
|
113725a |
|
|
|
d5d2307 |
* Fri Jan 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-19
|
|
|
d5d2307 |
- add %%py3dir macro to macros.python3 (to be used during unified python 2/3
|
|
|
d5d2307 |
builds for setting up the python3 copy of the source tree)
|
|
|
d5d2307 |
|
|
|
6a82c19 |
* Wed Jan 20 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-18
|
|
|
6a82c19 |
- move lib2to3 from -tools subpackage to main package (bug 556667)
|
|
|
6a82c19 |
|
|
|
aa4aef2 |
* Sun Jan 17 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-17
|
|
|
aa4aef2 |
- patch Makefile.pre.in to avoid building static library (patch 6, bug 556092)
|
|
|
aa4aef2 |
|
|
|
6859f23 |
* Fri Jan 15 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-16
|
|
|
6859f23 |
- use the %%{_isa} macro to ensure that the python-devel dependency on python
|
|
|
6859f23 |
is for the correct multilib arch (#555943)
|
|
|
6859f23 |
- delete bundled copy of libffi to make sure we use the system one
|
|
|
6859f23 |
|
|
|
a9e268f |
* Fri Jan 15 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-15
|
|
|
a9e268f |
- fix the URLs output by pydoc so they point at python.org's 3.1 build of the
|
|
|
a9e268f |
docs, rather than the 2.6 build
|
|
|
a9e268f |
|
|
|
37de674 |
* Wed Jan 13 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-14
|
|
|
37de674 |
- replace references to /usr with %%{_prefix}; replace references to
|
|
|
37de674 |
/usr/include with %%{_includedir} (Toshio)
|
|
|
37de674 |
|
|
|
a3483f9 |
* Mon Jan 11 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-13
|
|
|
a3483f9 |
- fix permission on find-provides-without-python-sonames.sh from 775 to 755
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Mon Jan 11 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-12
|
|
|
a3483f9 |
- remove build-time requirements on tix and tk, since we already have
|
|
|
a3483f9 |
build-time requirements on the -devel subpackages for each of these (Thomas
|
|
|
a3483f9 |
Spura)
|
|
|
a3483f9 |
- replace usage of %%define with %%global (Thomas Spura)
|
|
|
a3483f9 |
- remove forcing of CC=gcc as this old workaround for bug 109268 appears to
|
|
|
a3483f9 |
longer be necessary
|
|
|
a3483f9 |
- move various test files from the "tools"/"tkinter" subpackages to the "test"
|
|
|
a3483f9 |
subpackage
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Thu Jan 7 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.1-11
|
|
|
a3483f9 |
- add %%check section (thanks to Thomas Spura)
|
|
|
a3483f9 |
- update patch 4 to use correct shebang line
|
|
|
a3483f9 |
- get rid of stray patch file from buildroot
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Tue Nov 17 2009 Andrew McNabb <amcnabb@mcnabbs.org> - 3.1.1-10
|
|
|
a3483f9 |
- switched a few instances of "find |xargs" to "find -exec" for consistency.
|
|
|
a3483f9 |
- made the description of __os_install_post more accurate.
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Wed Nov 4 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-9
|
|
|
a3483f9 |
- add macros.python3 to the -devel subpackage, containing common macros for use
|
|
|
a3483f9 |
when packaging python3 modules
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Tue Nov 3 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-8
|
|
|
a3483f9 |
- add a provides of "python(abi)" (see bug 532118)
|
|
|
a3483f9 |
- fix issues identified by a.badger in package review (bug 526126, comment 39):
|
|
|
a3483f9 |
- use "3" thoughout metadata, rather than "3.*"
|
|
|
a3483f9 |
- remove conditional around "pkg-config openssl"
|
|
|
a3483f9 |
- use standard cleanup of RPM_BUILD_ROOT
|
|
|
a3483f9 |
- replace hardcoded references to /usr with _prefix macro
|
|
|
a3483f9 |
- stop removing egg-info files
|
|
|
a3483f9 |
- use /usr/bin/python3.1 rather than /use/bin/env python3.1 when fixing
|
|
|
a3483f9 |
up shebang lines
|
|
|
a3483f9 |
- stop attempting to remove no-longer-present .cvsignore files
|
|
|
a3483f9 |
- move the post/postun sections above the "files" sections
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Thu Oct 29 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-7
|
|
|
a3483f9 |
- remove commented-away patch 51 (python-2.6-distutils_rpm.patch): the -O1
|
|
|
a3483f9 |
flag is used by default in the upstream code
|
|
|
a3483f9 |
- "Makefile" and the config-32/64.h file are needed by distutils/sysconfig.py
|
|
|
a3483f9 |
_init_posix(), so we include them in the core package, along with their parent
|
|
|
a3483f9 |
directories (bug 531901)
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Tue Oct 27 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-6
|
|
|
a3483f9 |
- reword description, based on suggestion by amcnabb
|
|
|
a3483f9 |
- fix the test_email and test_imp selftests (patch 3 and patch 4 respectively)
|
|
|
a3483f9 |
- fix the test_tk and test_ttk_* selftests (patch 5)
|
|
|
a3483f9 |
- fix up the specfile's handling of shebang/perms to avoid corrupting
|
|
|
a3483f9 |
test_httpservers.py (sed command suggested by amcnabb)
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Thu Oct 22 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-5
|
|
|
a3483f9 |
- fixup importlib/_bootstrap.py so that it correctly handles being unable to
|
|
|
a3483f9 |
open .pyc files for writing (patch 2, upstream issue 7187)
|
|
|
a3483f9 |
- actually apply the rpath patch (patch 1)
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Thu Oct 22 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-4
|
|
|
a3483f9 |
- update patch0's setup of the crypt module to link it against libcrypt
|
|
|
a3483f9 |
- update patch0 to comment "datetimemodule" back out, so that it is built
|
|
|
a3483f9 |
using setup.py (see Setup, option 3), thus linking it statically against
|
|
|
a3483f9 |
timemodule.c and thus avoiding a run-time "undefined symbol:
|
|
|
a3483f9 |
_PyTime_DoubleToTimet" failure on "import datetime"
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Wed Oct 21 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-3
|
|
|
a3483f9 |
- remove executable flag from various files that shouldn't have it
|
|
|
a3483f9 |
- fix end-of-line encodings
|
|
|
a3483f9 |
- fix a character encoding
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Tue Oct 20 2009 David Malcolm <dmalcolm@redhat.com> - 3.1.1-2
|
|
|
a3483f9 |
- disable invocation of brp-python-bytecompile in postprocessing, since
|
|
|
a3483f9 |
it would be with the wrong version of python (adapted from ivazquez'
|
|
|
a3483f9 |
python3000 specfile)
|
|
|
a3483f9 |
- use a custom implementation of __find_provides in order to filter out bogus
|
|
|
a3483f9 |
provides lines for the various .so modules
|
|
|
a3483f9 |
- fixup distutils/unixccompiler.py to remove standard library path from rpath
|
|
|
a3483f9 |
(patch 1, was Patch0 in ivazquez' python3000 specfile)
|
|
|
a3483f9 |
- split out libraries into a -libs subpackage
|
|
|
a3483f9 |
- update summaries and descriptions, basing content on ivazquez' specfile
|
|
|
a3483f9 |
- fixup executable permissions on .py, .xpm and .xbm files, based on work in
|
|
|
a3483f9 |
ivazquez's specfile
|
|
|
a3483f9 |
- get rid of DOS batch files
|
|
|
a3483f9 |
- fixup permissions for shared libraries from non-standard 555 to standard 755
|
|
|
a3483f9 |
- move /usr/bin/python*-config to the -devel subpackage
|
|
|
a3483f9 |
- mark various directories as being documentation
|
|
|
a3483f9 |
|
|
|
a3483f9 |
* Thu Sep 24 2009 Andrew McNabb <amcnabb@mcnabbs.org> 3.1.1-1
|
|
|
a3483f9 |
- Initial package for Python 3.
|
|
|
a3483f9 |
|