|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
# Conditionals and other variables controlling the build
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Note that the bcond macros are named for the CLI option they create.
|
|
|
8db7d0 |
# "%%bcond_without" means "ENABLE by default and create a --without option"
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Ability to reuse RPM-installed pip using rewheel
|
|
|
8db7d0 |
%bcond_without rewheel
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Extra build for debugging the interpreter or C-API extensions
|
|
|
8db7d0 |
# (the -debug subpackages)
|
|
|
8db7d0 |
%bcond_without debug_build
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Only use this when bootstrapping python3
|
|
|
8db7d0 |
# Needed to build setuptools for the first time
|
|
|
8db7d0 |
%bcond_with python3_bootstrap
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%global unicode ucs4
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%global python python2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%global pybasever 2.7
|
|
|
8db7d0 |
%global pylibdir %{_libdir}/python%{pybasever}
|
|
|
8db7d0 |
%global tools_dir %{pylibdir}/Tools
|
|
|
8db7d0 |
%global demo_dir %{pylibdir}/Demo
|
|
|
8db7d0 |
%global doc_tools_dir %{pylibdir}/Doc/tools
|
|
|
8db7d0 |
%global dynload_dir %{pylibdir}/lib-dynload
|
|
|
8db7d0 |
%global site_packages %{pylibdir}/site-packages
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Python's configure script defines SOVERSION, and this is used in the Makefile
|
|
|
8db7d0 |
# to determine INSTSONAME, the name of the libpython DSO:
|
|
|
8db7d0 |
# LDLIBRARY='libpython$(VERSION).so'
|
|
|
8db7d0 |
# INSTSONAME="$LDLIBRARY".$SOVERSION
|
|
|
8db7d0 |
# We mirror this here in order to make it easier to add the -gdb.py hooks.
|
|
|
8db7d0 |
# (if these get out of sync, the payload of the libs subpackage will fail
|
|
|
8db7d0 |
# and halt the build)
|
|
|
8db7d0 |
%global py_SOVERSION 1.0
|
|
|
8db7d0 |
%global py_INSTSONAME_optimized libpython%{pybasever}.so.%{py_SOVERSION}
|
|
|
8db7d0 |
%global py_INSTSONAME_debug libpython%{pybasever}_d.so.%{py_SOVERSION}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Disabled for now:
|
|
|
8db7d0 |
%global with_huntrleaks 0
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%global with_gdb_hooks 1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%global with_systemtap 1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# some arches don't have valgrind so we need to disable its support on them
|
|
|
8db7d0 |
%ifnarch s390 %{mips} riscv64
|
|
|
8db7d0 |
%global with_valgrind 1
|
|
|
8db7d0 |
%else
|
|
|
8db7d0 |
%global with_valgrind 0
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%global with_gdbm 1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Run the test suite in %%check
|
|
|
8db7d0 |
%bcond_without tests
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Disable automatic bytecompilation. The python2.7 binary is not yet
|
|
|
8db7d0 |
# available in /usr/bin when Python is built. Also, the bytecompilation fails
|
|
|
8db7d0 |
# on files that test invalid syntax.
|
|
|
8db7d0 |
# This doesn't work now, see https://bugzilla.redhat.com/show_bug.cgi?id=1597664
|
|
|
8db7d0 |
# %%undefine __brp_python_bytecompile
|
|
|
8db7d0 |
# … and this is working workaround
|
|
|
8db7d0 |
%define __brp_python_bytecompile %{nil}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# We need to get a newer configure generated out of configure.in for the following
|
|
|
8db7d0 |
# patches:
|
|
|
8db7d0 |
# patch 4 (CFLAGS)
|
|
|
8db7d0 |
# patch 52 (valgrind)
|
|
|
8db7d0 |
# patch 55 (systemtap)
|
|
|
8db7d0 |
# patch 145 (linux2)
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# For patch 55 (systemtap), we need to get a new header for configure to use
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# configure.in requires autoconf-2.65, but the version in Fedora is currently
|
|
|
8db7d0 |
# autoconf-2.66
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# For now, we'll generate a patch to the generated configure script and
|
|
|
8db7d0 |
# pyconfig.h.in on a machine that has a local copy of autoconf 2.65
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Instructions on obtaining such a copy can be seen at
|
|
|
8db7d0 |
# http://bugs.python.org/issue7997
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# To make it easy to regenerate the patch, this specfile can be run in two
|
|
|
8db7d0 |
# ways:
|
|
|
8db7d0 |
# (i) regenerate_autotooling_patch 0 : the normal approach: prep the
|
|
|
8db7d0 |
# source tree using a pre-generated patch to the "configure" script, and do a
|
|
|
8db7d0 |
# full build
|
|
|
8db7d0 |
# (ii) regenerate_autotooling_patch 1 : intended to be run on a developer's
|
|
|
8db7d0 |
# workstation: prep the source tree without patching configure, then rerun a
|
|
|
8db7d0 |
# local copy of autoconf-2.65, regenerate the patch, then exit, without doing
|
|
|
8db7d0 |
# the rest of the build
|
|
|
8db7d0 |
%global regenerate_autotooling_patch 0
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# ==================
|
|
|
8db7d0 |
# Top-level metadata
|
|
|
8db7d0 |
# ==================
|
|
|
8db7d0 |
Summary: An interpreted, interactive, object-oriented programming language
|
|
|
8db7d0 |
Name: %{python}
|
|
|
8db7d0 |
# Remember to also rebase python2-docs when changing this:
|
|
|
8db7d0 |
Version: 2.7.15
|
|
|
8db7d0 |
Release: 21%{?dist}
|
|
|
8db7d0 |
License: Python
|
|
|
8db7d0 |
Group: Development/Languages
|
|
|
8db7d0 |
Requires: %{python}-libs%{?_isa} = %{version}-%{release}
|
|
|
8db7d0 |
Provides: python(abi) = %{pybasever}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# =======================
|
|
|
8db7d0 |
# Build-time requirements
|
|
|
8db7d0 |
# =======================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# (keep this list alphabetized)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
BuildRequires: autoconf
|
|
|
8db7d0 |
BuildRequires: bluez-libs-devel
|
|
|
8db7d0 |
BuildRequires: bzip2
|
|
|
8db7d0 |
BuildRequires: bzip2-devel
|
|
|
8db7d0 |
BuildRequires: glibc-devel
|
|
|
8db7d0 |
BuildRequires: gmp-devel
|
|
|
8db7d0 |
BuildRequires: libdb-devel
|
|
|
8db7d0 |
BuildRequires: libffi-devel
|
|
|
8db7d0 |
BuildRequires: ncurses-devel
|
|
|
8db7d0 |
BuildRequires: openssl-devel
|
|
|
8db7d0 |
BuildRequires: pkgconfig
|
|
|
8db7d0 |
BuildRequires: readline-devel
|
|
|
8db7d0 |
BuildRequires: sqlite-devel
|
|
|
8db7d0 |
BuildRequires: tcl-devel
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# For the nis module
|
|
|
8db7d0 |
BuildRequires: libnsl2-devel
|
|
|
8db7d0 |
BuildRequires: libtirpc-devel
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# expat 2.1.0 added the symbol XML_SetHashSalt without bumping SONAME. We use
|
|
|
8db7d0 |
# it (in pyexpat) in order to enable the fix in Python-2.7.3 for CVE-2012-0876:
|
|
|
8db7d0 |
BuildRequires: expat-devel >= 2.1.0
|
|
|
8db7d0 |
|
|
|
8db7d0 |
BuildRequires: findutils
|
|
|
8db7d0 |
BuildRequires: gcc-c++
|
|
|
8db7d0 |
%if %{with_gdbm}
|
|
|
8db7d0 |
# ABI change without soname bump, reverted
|
|
|
8db7d0 |
BuildRequires: gdbm-devel >= 1:1.13
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
BuildRequires: libGL-devel
|
|
|
8db7d0 |
BuildRequires: libX11-devel
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if 0%{?with_systemtap}
|
|
|
8db7d0 |
BuildRequires: systemtap-sdt-devel
|
|
|
8db7d0 |
# (this introduces a circular dependency, in that systemtap-sdt-devel's
|
|
|
8db7d0 |
# /usr/bin/dtrace is a python script)
|
|
|
8db7d0 |
%global tapsetdir /usr/share/systemtap/tapset
|
|
|
8db7d0 |
%endif # with_systemtap
|
|
|
8db7d0 |
|
|
|
8db7d0 |
BuildRequires: tar
|
|
|
8db7d0 |
BuildRequires: tix-devel
|
|
|
8db7d0 |
BuildRequires: tk-devel
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if 0%{?with_valgrind}
|
|
|
8db7d0 |
BuildRequires: valgrind-devel
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
BuildRequires: zlib-devel
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{with rewheel}
|
|
|
8db7d0 |
BuildRequires: python2-setuptools
|
|
|
8db7d0 |
Requires: python2-setuptools
|
|
|
8db7d0 |
|
|
|
8db7d0 |
BuildRequires: python2-pip
|
|
|
8db7d0 |
Requires: python2-pip
|
|
|
8db7d0 |
%endif # rewheel
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Runtime require alternatives
|
|
|
8db7d0 |
Requires: %{_sbindir}/alternatives
|
|
|
8db7d0 |
Requires(post): %{_sbindir}/alternatives
|
|
|
8db7d0 |
Requires(postun): %{_sbindir}/alternatives
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# =======================
|
|
|
8db7d0 |
# Source code and patches
|
|
|
8db7d0 |
# =======================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# The upstream tarball includes questionable executable files for Windows,
|
|
|
8db7d0 |
# which we should not ship even in the SRPM.
|
|
|
8db7d0 |
# Run the "get-source.sh" with the version as argument to download the upstream
|
|
|
8db7d0 |
# tarball and generate a version with the .exe files removed. For example:
|
|
|
8db7d0 |
# $ ./get-source.sh 2.7.15
|
|
|
8db7d0 |
|
|
|
8db7d0 |
Source: Python-%{version}-noexe.tar.xz
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# A script to remove .exe files from the source distribution
|
|
|
8db7d0 |
Source1: get-source.sh
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Work around bug 562906 until it's fixed in rpm-build by providing a fixed
|
|
|
8db7d0 |
# version of pythondeps.sh:
|
|
|
8db7d0 |
Source2: pythondeps.sh
|
|
|
8db7d0 |
%global __python_requires %{SOURCE2}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Systemtap tapset to make it easier to use the systemtap static probes
|
|
|
8db7d0 |
# (actually a template; LIBRARY_PATH will get fixed up during install)
|
|
|
8db7d0 |
# Written by dmalcolm; not yet sent upstream
|
|
|
8db7d0 |
Source3: libpython.stp
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Example systemtap script using the tapset
|
|
|
8db7d0 |
# Written by wcohen, mjw, dmalcolm; not yet sent upstream
|
|
|
8db7d0 |
Source4: systemtap-example.stp
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Another example systemtap script that uses the tapset
|
|
|
8db7d0 |
# Written by dmalcolm; not yet sent upstream
|
|
|
8db7d0 |
Source5: pyfuntop.stp
|
|
|
8db7d0 |
|
|
|
8db7d0 |
Source7: pynche
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Modules/Setup.dist is ultimately used by the "makesetup" script to construct
|
|
|
8db7d0 |
# the Makefile and config.c
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Upstream leaves many things disabled by default, to try to make it easy as
|
|
|
8db7d0 |
# possible to build the code on as many platforms as possible.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# TODO: many modules can also now be built by setup.py after the python binary
|
|
|
8db7d0 |
# has been built; need to assess if we should instead build things there
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# We patch it downstream as follows:
|
|
|
8db7d0 |
# - various modules are built by default by upstream as static libraries;
|
|
|
8db7d0 |
# we built them as shared libraries
|
|
|
8db7d0 |
# - build the "readline" module (appears to also be handled by setup.py now)
|
|
|
8db7d0 |
# - build the nis module (which needs the tirpc library since glibc 2.26)
|
|
|
8db7d0 |
# - enable the build of the following modules:
|
|
|
8db7d0 |
# - array arraymodule.c # array objects
|
|
|
8db7d0 |
# - cmath cmathmodule.c # -lm # complex math library functions
|
|
|
8db7d0 |
# - math mathmodule.c # -lm # math library functions, e.g. sin()
|
|
|
8db7d0 |
# - _struct _struct.c # binary structure packing/unpacking
|
|
|
8db7d0 |
# - time timemodule.c # -lm # time operations and variables
|
|
|
8db7d0 |
# - operator operator.c # operator.add() and similar goodies
|
|
|
8db7d0 |
# - _weakref _weakref.c # basic weak reference support
|
|
|
8db7d0 |
# - _testcapi _testcapimodule.c # Python C API test module
|
|
|
8db7d0 |
# - _random _randommodule.c # Random number generator
|
|
|
8db7d0 |
# - _collections _collectionsmodule.c # Container types
|
|
|
8db7d0 |
# - itertools itertoolsmodule.c
|
|
|
8db7d0 |
# - strop stropmodule.c
|
|
|
8db7d0 |
# - _functools _functoolsmodule.c
|
|
|
8db7d0 |
# - _bisect _bisectmodule.c # Bisection algorithms
|
|
|
8db7d0 |
# - unicodedata unicodedata.c # static Unicode character database
|
|
|
8db7d0 |
# - _locale _localemodule.c
|
|
|
8db7d0 |
# - fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
|
|
|
8db7d0 |
# - spwd spwdmodule.c # spwd(3)
|
|
|
8db7d0 |
# - grp grpmodule.c # grp(3)
|
|
|
8db7d0 |
# - select selectmodule.c # select(2); not on ancient System V
|
|
|
8db7d0 |
# - mmap mmapmodule.c # Memory-mapped files
|
|
|
8db7d0 |
# - _csv _csv.c # CSV file helper
|
|
|
8db7d0 |
# - _socket socketmodule.c # Socket module helper for socket(2)
|
|
|
8db7d0 |
# - _ssl _ssl.c
|
|
|
8db7d0 |
# - crypt cryptmodule.c -lcrypt # crypt(3)
|
|
|
8db7d0 |
# - termios termios.c # Steen Lumholt's termios module
|
|
|
8db7d0 |
# - resource resource.c # Jeremy Hylton's rlimit interface
|
|
|
8db7d0 |
# - audioop audioop.c # Operations on audio samples
|
|
|
8db7d0 |
# - imageop imageop.c # Operations on images
|
|
|
8db7d0 |
# - _md5 md5module.c md5.c
|
|
|
8db7d0 |
# - _sha shamodule.c
|
|
|
8db7d0 |
# - _sha256 sha256module.c
|
|
|
8db7d0 |
# - _sha512 sha512module.c
|
|
|
8db7d0 |
# - linuxaudiodev linuxaudiodev.c
|
|
|
8db7d0 |
# - timing timingmodule.c
|
|
|
8db7d0 |
# - _tkinter _tkinter.c tkappinit.c
|
|
|
8db7d0 |
# - dl dlmodule.c
|
|
|
8db7d0 |
# - gdbm gdbmmodule.c
|
|
|
8db7d0 |
# - _bsddb _bsddb.c
|
|
|
8db7d0 |
# - binascii binascii.c
|
|
|
8db7d0 |
# - parser parsermodule.c
|
|
|
8db7d0 |
# - cStringIO cStringIO.c
|
|
|
8db7d0 |
# - cPickle cPickle.c
|
|
|
8db7d0 |
# - zlib zlibmodule.c
|
|
|
8db7d0 |
# - _multibytecodec cjkcodecs/multibytecodec.c
|
|
|
8db7d0 |
# - _codecs_cn cjkcodecs/_codecs_cn.c
|
|
|
8db7d0 |
# - _codecs_hk cjkcodecs/_codecs_hk.c
|
|
|
8db7d0 |
# - _codecs_iso2022 cjkcodecs/_codecs_iso2022.c
|
|
|
8db7d0 |
# - _codecs_jp cjkcodecs/_codecs_jp.c
|
|
|
8db7d0 |
# - _codecs_kr cjkcodecs/_codecs_kr.c
|
|
|
8db7d0 |
# - _codecs_tw cjkcodecs/_codecs_tw.c
|
|
|
8db7d0 |
Patch0: python-2.7.1-config.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Removes the "-g" option from "pydoc", for some reason; I believe
|
|
|
8db7d0 |
# (dmalcolm 2010-01-29) that this was introduced in this change:
|
|
|
8db7d0 |
# - fix pydoc (#68082)
|
|
|
8db7d0 |
# in 2.2.1-12 as a response to the -g option needing TkInter installed
|
|
|
8db7d0 |
# (Red Hat Linux 8)
|
|
|
8db7d0 |
# Not upstream
|
|
|
8db7d0 |
Patch1: 00001-pydocnogui.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Add $(CFLAGS) to the linker arguments when linking the "python" binary
|
|
|
8db7d0 |
# since some architectures (sparc64) need this (rhbz:199373).
|
|
|
8db7d0 |
# Not yet filed upstream
|
|
|
8db7d0 |
Patch4: python-2.5-cflags.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Work around a bug in Python' gettext module relating to the "Plural-Forms"
|
|
|
8db7d0 |
# header (rhbz:252136)
|
|
|
8db7d0 |
# Related to upstream issues:
|
|
|
8db7d0 |
# http://bugs.python.org/issue1448060 and http://bugs.python.org/issue1475523
|
|
|
8db7d0 |
# though the proposed upstream patches are, alas, different
|
|
|
8db7d0 |
Patch6: python-2.5.1-plural-fix.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# This patch was listed in the changelog as:
|
|
|
8db7d0 |
# * Fri Sep 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-11
|
|
|
8db7d0 |
# - fix encoding of sqlite .py files to work around weird encoding problem
|
|
|
8db7d0 |
# in Turkish (#283331)
|
|
|
8db7d0 |
# A traceback attached to rhbz 244016 shows the problem most clearly: a
|
|
|
8db7d0 |
# traceback on attempting to import the sqlite module, with:
|
|
|
8db7d0 |
# "SyntaxError: encoding problem: with BOM (__init__.py, line 1)"
|
|
|
8db7d0 |
# This seems to come from Parser/tokenizer.c:check_coding_spec
|
|
|
8db7d0 |
# Our patch changes two source files within sqlite3, removing the
|
|
|
8db7d0 |
# "coding: ISO-8859-1" specs and character E4 = U+00E4 =
|
|
|
8db7d0 |
# LATIN SMALL LETTER A WITH DIAERESIS from in ghaering's surname.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# It may be that the conversion of "ISO-8859-1" to "iso-8859-1" is thwarted
|
|
|
8db7d0 |
# by the implementation of "tolower" in the Turkish locale; see:
|
|
|
8db7d0 |
# https://bugzilla.redhat.com/show_bug.cgi?id=191096#c9
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# TODO: Not yet sent upstream, and appears to me (dmalcolm 2010-01-29) that
|
|
|
8db7d0 |
# it may be papering over a symptom
|
|
|
8db7d0 |
Patch7: python-2.5.1-sqlite-encoding.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# FIXME: Lib/ctypes/util.py posix implementation defines a function
|
|
|
8db7d0 |
# _get_soname(f). Upstreams's implementation of this uses objdump to read the
|
|
|
8db7d0 |
# SONAME from a library; we avoid this, apparently to minimize space
|
|
|
8db7d0 |
# requirements on the live CD:
|
|
|
8db7d0 |
# (rhbz:307221)
|
|
|
8db7d0 |
Patch10: 00010-2.7.13-binutils-no-dep.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Upstream as of Python 2.7.3:
|
|
|
8db7d0 |
# Patch11: python-2.7rc1-codec-ascii-tolower.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Add various constants to the socketmodule (rhbz#436560):
|
|
|
8db7d0 |
# TODO: these patches were added in 2.5.1-22 and 2.5.1-24 but appear not to
|
|
|
8db7d0 |
# have been sent upstream yet:
|
|
|
8db7d0 |
Patch13: python-2.7rc1-socketmodule-constants.patch
|
|
|
8db7d0 |
Patch14: python-2.7rc1-socketmodule-constants2.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Remove an "-rpath $(LIBDIR)" argument from the linkage args in configure.in:
|
|
|
8db7d0 |
# FIXME: is this for OSF, not Linux?
|
|
|
8db7d0 |
Patch16: python-2.6-rpath.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Fixup distutils/unixccompiler.py to remove standard library path from rpath:
|
|
|
8db7d0 |
# Adapted from Patch0 in ivazquez' python3000 specfile, removing usage of
|
|
|
8db7d0 |
# super() as it's an old-style class
|
|
|
8db7d0 |
Patch17: python-2.6.4-distutils-rpath.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00055 #
|
|
|
8db7d0 |
# Systemtap support: add statically-defined probe points
|
|
|
8db7d0 |
# Patch based on upstream bug: http://bugs.python.org/issue4111
|
|
|
8db7d0 |
# fixed up by mjw and wcohen for 2.6.2, then fixed up by dmalcolm for 2.6.4
|
|
|
8db7d0 |
# then rewritten by mjw (attachment 390110 of rhbz 545179), then reformatted
|
|
|
8db7d0 |
# for 2.7rc1 by dmalcolm:
|
|
|
8db7d0 |
Patch55: 00055-systemtap.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Only used when "%%{_lib}" == "lib64"
|
|
|
8db7d0 |
# Fixup various paths throughout the build and in distutils from "lib" to "lib64",
|
|
|
8db7d0 |
# and add the /usr/lib64/pythonMAJOR.MINOR/site-packages to sitedirs, in front of
|
|
|
8db7d0 |
# /usr/lib/pythonMAJOR.MINOR/site-packages
|
|
|
8db7d0 |
# Not upstream
|
|
|
8db7d0 |
Patch102: 00102-2.7.13-lib64.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Python 2.7 split out much of the path-handling from distutils/sysconfig.py to
|
|
|
8db7d0 |
# a new sysconfig.py (in r77704).
|
|
|
8db7d0 |
# We need to make equivalent changes to that new file to ensure that the stdlib
|
|
|
8db7d0 |
# and platform-specific code go to /usr/lib64 not /usr/lib, on 64-bit archs:
|
|
|
8db7d0 |
Patch103: python-2.7-lib64-sysconfig.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00104 #
|
|
|
8db7d0 |
# Only used when "%%{_lib}" == "lib64"
|
|
|
8db7d0 |
# Another lib64 fix, for distutils/tests/test_install.py; not upstream:
|
|
|
8db7d0 |
Patch104: 00104-lib64-fix-for-test_install.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00111 #
|
|
|
8db7d0 |
# Patch the Makefile.pre.in so that the generated Makefile doesn't try to build
|
|
|
8db7d0 |
# a libpythonMAJOR.MINOR.a (bug 550692):
|
|
|
8db7d0 |
# Downstream only: not appropriate for upstream
|
|
|
8db7d0 |
Patch111: 00111-no-static-lib.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00112 #
|
|
|
8db7d0 |
# Patch to support building both optimized vs debug stacks DSO ABIs, sharing
|
|
|
8db7d0 |
# the same .py and .pyc files, using "_d.so" to signify a debug build of an
|
|
|
8db7d0 |
# extension module.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Based on Debian's patch for the same,
|
|
|
8db7d0 |
# http://patch-tracker.debian.org/patch/series/view/python2.6/2.6.5-2/debug-build.dpatch
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# (which was itself based on the upstream Windows build), but with some
|
|
|
8db7d0 |
# changes:
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# * Debian's patch to dynload_shlib.c looks for module_d.so, then module.so,
|
|
|
8db7d0 |
# but this can potentially find a module built against the wrong DSO ABI. We
|
|
|
8db7d0 |
# instead search for just module_d.so in a debug build
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# * We remove this change from configure.in's build of the Makefile:
|
|
|
8db7d0 |
# SO=$DEBUG_EXT.so
|
|
|
8db7d0 |
# so that sysconfig.py:customize_compiler stays with shared_lib_extension='.so'
|
|
|
8db7d0 |
# on debug builds, so that UnixCCompiler.find_library_file can find system
|
|
|
8db7d0 |
# libraries (otherwise "make sharedlibs" fails to find system libraries,
|
|
|
8db7d0 |
# erroneously looking e.g. for "libffi_d.so" rather than "libffi.so")
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# * We change Lib/distutils/command/build_ext.py:build_ext.get_ext_filename
|
|
|
8db7d0 |
# to add the _d there, when building an extension. This way, "make sharedlibs"
|
|
|
8db7d0 |
# can build ctypes, by finding the sysmtem libffi.so (rather than failing to
|
|
|
8db7d0 |
# find "libffi_d.so"), and builds the module as _ctypes_d.so
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# * Similarly, update build_ext:get_libraries handling of Py_ENABLE_SHARED by
|
|
|
8db7d0 |
# appending "_d" to the python library's name for the debug configuration
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# * We modify Modules/makesetup to add the "_d" to the generated Makefile
|
|
|
8db7d0 |
# rules for the various Modules/*.so targets
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# This may introduce issues when building an extension that links directly
|
|
|
8db7d0 |
# against another extension (e.g. users of NumPy?), but seems more robust when
|
|
|
8db7d0 |
# searching for external libraries
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# * We don't change Lib/distutils/command/build.py: build.build_purelib to
|
|
|
8db7d0 |
# embed plat_specifier, leaving it as is, as pure python builds should be
|
|
|
8db7d0 |
# unaffected by these differences (we'll be sharing the .py and .pyc files)
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# * We introduce DEBUG_SUFFIX as well as DEBUG_EXT:
|
|
|
8db7d0 |
# - DEBUG_EXT is used by ELF files (names and SONAMEs); it will be "_d" for
|
|
|
8db7d0 |
# a debug build
|
|
|
8db7d0 |
# - DEBUG_SUFFIX is used by filesystem paths; it will be "-debug" for a
|
|
|
8db7d0 |
# debug build
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Both will be empty in an optimized build. "_d" contains characters that
|
|
|
8db7d0 |
# are valid ELF metadata, but this leads to various ugly filesystem paths (such
|
|
|
8db7d0 |
# as the include path), and DEBUG_SUFFIX allows these paths to have more natural
|
|
|
8db7d0 |
# names. Changing this requires changes elsewhere in the distutils code.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# * We add DEBUG_SUFFIX to PYTHON in the Makefile, so that the two
|
|
|
8db7d0 |
# configurations build parallel-installable binaries with different names
|
|
|
8db7d0 |
# ("python-debug" vs "python").
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# * Similarly, we add DEBUG_SUFFIX within python-config and
|
|
|
8db7d0 |
# python$(VERSION)-config, so that the two configuration get different paths
|
|
|
8db7d0 |
# for these.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# See also patch 130 below
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
Patch112: 00112-2.7.13-debug-build.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00113 #
|
|
|
8db7d0 |
# Add configure-time support for the COUNT_ALLOCS and CALL_PROFILE options
|
|
|
8db7d0 |
# described at http://svn.python.org/projects/python/trunk/Misc/SpecialBuilds.txt
|
|
|
8db7d0 |
# so that if they are enabled, they will be in that build's pyconfig.h, so that
|
|
|
8db7d0 |
# extension modules will reliably use them
|
|
|
8db7d0 |
# Not yet sent upstream
|
|
|
8db7d0 |
Patch113: 00113-more-configuration-flags.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00114 #
|
|
|
8db7d0 |
# Add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
|
|
|
8db7d0 |
# (rhbz:553020); partially upstream as http://bugs.python.org/issue7647
|
|
|
8db7d0 |
# Not yet sent upstream
|
|
|
8db7d0 |
Patch114: 00114-statvfs-f_flag-constants.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Upstream r79310 removed the "Modules" directory from sys.path when Python is
|
|
|
8db7d0 |
# running from the build directory on POSIX to fix a unit test (issue #8205).
|
|
|
8db7d0 |
# This seems to have broken the compileall.py done in "make install": it cannot
|
|
|
8db7d0 |
# find shared library extension modules at this point in the build (sys.path
|
|
|
8db7d0 |
# does not contain DESTDIR/usr/lib(64)/python-2.7/lib-dynload for some reason),
|
|
|
8db7d0 |
# leading to the build failing with:
|
|
|
8db7d0 |
# Traceback (most recent call last):
|
|
|
8db7d0 |
# File "/home/david/rpmbuild/BUILDROOT/python-2.7-0.1.rc2.fc14.x86_64/usr/lib64/python2.7/compileall.py", line 17, in <module>
|
|
|
8db7d0 |
# import struct
|
|
|
8db7d0 |
# File "/home/david/rpmbuild/BUILDROOT/python-2.7-0.1.rc2.fc14.x86_64/usr/lib64/python2.7/struct.py", line 1, in <module>
|
|
|
8db7d0 |
# from _struct import *
|
|
|
8db7d0 |
# ImportError: No module named _struct
|
|
|
8db7d0 |
# This patch adds the build Modules directory to build path.
|
|
|
8db7d0 |
Patch121: 00121-add-Modules-to-build-path.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 2.7.1 (in r84230) added a test to test_abc which fails if python is
|
|
|
8db7d0 |
# configured with COUNT_ALLOCS, which is the case for our debug build
|
|
|
8db7d0 |
# (the COUNT_ALLOCS instrumentation keeps "C" alive).
|
|
|
8db7d0 |
# Not yet sent upstream
|
|
|
8db7d0 |
Patch128: python-2.7.1-fix_test_abc_with_COUNT_ALLOCS.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00130 #
|
|
|
8db7d0 |
# Add "--extension-suffix" option to python-config and python-debug-config
|
|
|
8db7d0 |
# (rhbz#732808)
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# This is adapted from 3.2's PEP-3149 support.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Fedora's debug build has some non-standard features (see also patch 112
|
|
|
8db7d0 |
# above), though largely shared with Debian/Ubuntu and Windows
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# In particular, SO in the Makefile is currently always just ".so" for our
|
|
|
8db7d0 |
# python 2 optimized builds, but for python 2 debug it should be '_d.so', to
|
|
|
8db7d0 |
# distinguish the debug vs optimized ABI, following the pattern in the above
|
|
|
8db7d0 |
# patch.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Not yet sent upstream
|
|
|
8db7d0 |
Patch130: python-2.7.2-add-extension-suffix-to-python-config.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00131 #
|
|
|
8db7d0 |
# The four tests in test_io built on top of check_interrupted_write_retry
|
|
|
8db7d0 |
# fail when built in Koji, for ppc and ppc64; for some reason, the SIGALRM
|
|
|
8db7d0 |
# handlers are never called, and the call to write runs to completion
|
|
|
8db7d0 |
# (rhbz#732998)
|
|
|
8db7d0 |
Patch131: 00131-disable-tests-in-test_io.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00132 #
|
|
|
8db7d0 |
# Add non-standard hooks to unittest for use in the "check" phase below, when
|
|
|
8db7d0 |
# running selftests within the build:
|
|
|
8db7d0 |
# @unittest._skipInRpmBuild(reason)
|
|
|
8db7d0 |
# for tests that hang or fail intermittently within the build environment, and:
|
|
|
8db7d0 |
# @unittest._expectedFailureInRpmBuild
|
|
|
8db7d0 |
# for tests that always fail within the build environment
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# The hooks only take effect if WITHIN_PYTHON_RPM_BUILD is set in the
|
|
|
8db7d0 |
# environment, which we set manually in the appropriate portion of the "check"
|
|
|
8db7d0 |
# phase below (and which potentially other python-* rpms could set, to reuse
|
|
|
8db7d0 |
# these unittest hooks in their own "check" phases)
|
|
|
8db7d0 |
Patch132: 00132-add-rpmbuild-hooks-to-unittest.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00133 #
|
|
|
8db7d0 |
# "dl" is deprecated, and test_dl doesn't work on 64-bit builds:
|
|
|
8db7d0 |
Patch133: 00133-skip-test_dl.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00136 #
|
|
|
8db7d0 |
# Some tests try to seek on sys.stdin, but don't work as expected when run
|
|
|
8db7d0 |
# within Koji/mock; skip them within the rpm build:
|
|
|
8db7d0 |
Patch136: 00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00137 #
|
|
|
8db7d0 |
# Some tests within distutils fail when run in an rpmbuild:
|
|
|
8db7d0 |
Patch137: 00137-skip-distutils-tests-that-fail-in-rpmbuild.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00138 #
|
|
|
8db7d0 |
# Fixup some tests within distutils to work with how debug builds are set up:
|
|
|
8db7d0 |
Patch138: 00138-fix-distutils-tests-in-debug-build.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00139 #
|
|
|
8db7d0 |
# ARM-specific: skip known failure in test_float:
|
|
|
8db7d0 |
# http://bugs.python.org/issue8265 (rhbz#706253)
|
|
|
8db7d0 |
Patch139: 00139-skip-test_float-known-failure-on-arm.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00140 #
|
|
|
8db7d0 |
# Sparc-specific: skip known failure in test_ctypes:
|
|
|
8db7d0 |
# http://bugs.python.org/issue8314 (rhbz#711584)
|
|
|
8db7d0 |
# which appears to be a libffi bug
|
|
|
8db7d0 |
Patch140: 00140-skip-test_ctypes-known-failure-on-sparc.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00142 #
|
|
|
8db7d0 |
# Some pty tests fail when run in mock (rhbz#714627):
|
|
|
8db7d0 |
Patch142: 00142-skip-failing-pty-tests-in-rpmbuild.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00143 #
|
|
|
8db7d0 |
# Fix the --with-tsc option on ppc64, and rework it on 32-bit ppc to avoid
|
|
|
8db7d0 |
# aliasing violations (rhbz#698726)
|
|
|
8db7d0 |
# Sent upstream as http://bugs.python.org/issue12872
|
|
|
8db7d0 |
Patch143: 00143-tsc-on-ppc.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00144 #
|
|
|
8db7d0 |
# (Optionally) disable the gdbm module:
|
|
|
8db7d0 |
Patch144: 00144-no-gdbm.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00146 #
|
|
|
8db7d0 |
# Support OpenSSL FIPS mode (e.g. when OPENSSL_FORCE_FIPS_MODE=1 is set)
|
|
|
8db7d0 |
# - handle failures from OpenSSL (e.g. on attempts to use MD5 in a
|
|
|
8db7d0 |
# FIPS-enforcing environment)
|
|
|
8db7d0 |
# - add a new "usedforsecurity" keyword argument to the various digest
|
|
|
8db7d0 |
# algorithms in hashlib so that you can whitelist a callsite with
|
|
|
8db7d0 |
# "usedforsecurity=False"
|
|
|
8db7d0 |
# (sent upstream for python 3 as http://bugs.python.org/issue9216; this is a
|
|
|
8db7d0 |
# backport to python 2.7; see RHEL6 patch 119)
|
|
|
8db7d0 |
# - enforce usage of the _hashlib implementation: don't fall back to the _md5
|
|
|
8db7d0 |
# and _sha* modules (leading to clearer error messages if fips selftests
|
|
|
8db7d0 |
# fail)
|
|
|
8db7d0 |
# - don't build the _md5 and _sha* modules; rely on the _hashlib implementation
|
|
|
8db7d0 |
# of hashlib (for example, md5.py will use _hashlib's implementation of MD5,
|
|
|
8db7d0 |
# if permitted by the FIPS setting)
|
|
|
8db7d0 |
# (rhbz#563986)
|
|
|
8db7d0 |
Patch146: 00146-hashlib-fips.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00147 #
|
|
|
8db7d0 |
# Add a sys._debugmallocstats() function
|
|
|
8db7d0 |
# Based on patch 202 from RHEL 5's python.spec, with updates from rhbz#737198
|
|
|
8db7d0 |
# Sent upstream as http://bugs.python.org/issue14785
|
|
|
8db7d0 |
Patch147: 00147-add-debug-malloc-stats.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00153 #
|
|
|
8db7d0 |
# Strip out lines of the form "warning: Unable to open ..." from gdb's stderr
|
|
|
8db7d0 |
# when running test_gdb.py; also cope with change to gdb in F17 onwards in
|
|
|
8db7d0 |
# which values are printed as "v@entry" rather than just "v":
|
|
|
8db7d0 |
# Not yet sent upstream
|
|
|
8db7d0 |
Patch153: 00153-fix-test_gdb-noise.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00155 #
|
|
|
8db7d0 |
# Avoid allocating thunks in ctypes unless absolutely necessary, to avoid
|
|
|
8db7d0 |
# generating SELinux denials on "import ctypes" and "import uuid" when
|
|
|
8db7d0 |
# embedding Python within httpd (rhbz#814391)
|
|
|
8db7d0 |
Patch155: 00155-avoid-ctypes-thunks.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00156 #
|
|
|
8db7d0 |
# Recent builds of gdb will only auto-load scripts from certain safe
|
|
|
8db7d0 |
# locations. Turn off this protection when running test_gdb in the selftest
|
|
|
8db7d0 |
# suite to ensure that it can load our -gdb.py script (rhbz#817072):
|
|
|
8db7d0 |
# Not yet sent upstream
|
|
|
8db7d0 |
Patch156: 00156-gdb-autoload-safepath.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00157 #
|
|
|
8db7d0 |
# Update uid/gid handling throughout the standard library: uid_t and gid_t are
|
|
|
8db7d0 |
# unsigned 32-bit values, but existing code often passed them through C long
|
|
|
8db7d0 |
# values, which are signed 32-bit values on 32-bit architectures, leading to
|
|
|
8db7d0 |
# negative int objects for uid/gid values >= 2^31 on 32-bit architectures.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Introduce _PyObject_FromUid/Gid to convert uid_t/gid_t values to python
|
|
|
8db7d0 |
# objects, using int objects where the value will fit (long objects otherwise),
|
|
|
8db7d0 |
# and _PyArg_ParseUid/Gid to convert int/long to uid_t/gid_t, with -1 allowed
|
|
|
8db7d0 |
# as a special case (since this is given special meaning by the chown syscall)
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Update standard library to use this throughout for uid/gid values, so that
|
|
|
8db7d0 |
# very large uid/gid values are round-trippable, and -1 remains usable.
|
|
|
8db7d0 |
# (rhbz#697470)
|
|
|
8db7d0 |
Patch157: 00157-uid-gid-overflows.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00165 #
|
|
|
8db7d0 |
# Backport to Python 2 from Python 3.3 of improvements to the "crypt" module
|
|
|
8db7d0 |
# adding precanned ways of salting a password (rhbz#835021)
|
|
|
8db7d0 |
# Based on r88500 patch to py3k from Python 3.3
|
|
|
8db7d0 |
# plus 6482dd1c11ed, 0586c699d467, 62994662676a, 74a1110a3b50, plus edits
|
|
|
8db7d0 |
# to docstrings to note that this additional functionality is not standard
|
|
|
8db7d0 |
# within 2.7
|
|
|
8db7d0 |
Patch165: 00165-crypt-module-salt-backport.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00167 #
|
|
|
8db7d0 |
# Don't run any of the stack navigation tests in test_gdb when Python is
|
|
|
8db7d0 |
# optimized, since there appear to be many different ways in which gdb can
|
|
|
8db7d0 |
# fail to read the PyFrameObject* for arbitrary places in the callstack,
|
|
|
8db7d0 |
# presumably due to compiler optimization (rhbz#912025)
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Not yet sent upstream
|
|
|
8db7d0 |
Patch167: 00167-disable-stack-navigation-tests-when-optimized-in-test_gdb.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00168 #
|
|
|
8db7d0 |
# Update distutils.sysconfig so that if CFLAGS is defined in the environment,
|
|
|
8db7d0 |
# when building extension modules, it is appended to the full compilation
|
|
|
8db7d0 |
# flags from Python's Makefile, rather than instead reducing the compilation
|
|
|
8db7d0 |
# flags to the subset within OPT and adding it to those.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# In particular, this should ensure that "-fno-strict-aliasing" is used by
|
|
|
8db7d0 |
# "python setup.py build" even when CFLAGS is defined in the environment.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# (rhbz#849994)
|
|
|
8db7d0 |
Patch168: 00168-distutils-cflags.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00169 #
|
|
|
8db7d0 |
# Use SHA-256 rather than implicitly using MD5 within the challenge handling
|
|
|
8db7d0 |
# in multiprocessing.connection
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Sent upstream as http://bugs.python.org/issue17258
|
|
|
8db7d0 |
# (rhbz#879695)
|
|
|
8db7d0 |
Patch169: 00169-avoid-implicit-usage-of-md5-in-multiprocessing.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00170 #
|
|
|
8db7d0 |
# In debug builds, try to print repr() when a C-level assert fails in the
|
|
|
8db7d0 |
# garbage collector (typically indicating a reference-counting error
|
|
|
8db7d0 |
# somewhere else e.g in an extension module)
|
|
|
8db7d0 |
# Backported to 2.7 from a patch I sent upstream for py3k
|
|
|
8db7d0 |
# http://bugs.python.org/issue9263 (rhbz#614680)
|
|
|
8db7d0 |
# hiding the proposed new macros/functions within gcmodule.c to avoid exposing
|
|
|
8db7d0 |
# them within the extension API.
|
|
|
8db7d0 |
# (rhbz#850013)
|
|
|
8db7d0 |
Patch170: 00170-gc-assertions.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00174 #
|
|
|
8db7d0 |
# Workaround for failure to set up prefix/exec_prefix when running
|
|
|
8db7d0 |
# an embededed libpython that sets Py_SetProgramName() to a name not
|
|
|
8db7d0 |
# on $PATH when run from the root directory due to
|
|
|
8db7d0 |
# https://fedoraproject.org/wiki/Features/UsrMove
|
|
|
8db7d0 |
# e.g. cmpi-bindings under systemd (rhbz#817554):
|
|
|
8db7d0 |
Patch174: 00174-fix-for-usr-move.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00180 #
|
|
|
8db7d0 |
# Enable building on ppc64p7
|
|
|
8db7d0 |
# Not appropriate for upstream, Fedora-specific naming
|
|
|
8db7d0 |
Patch180: 00180-python-add-support-for-ppc64p7.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00181 #
|
|
|
8db7d0 |
# Allow arbitrary timeout for Condition.wait, as reported in
|
|
|
8db7d0 |
# https://bugzilla.redhat.com/show_bug.cgi?id=917709
|
|
|
8db7d0 |
# Upstream doesn't want this: http://bugs.python.org/issue17748
|
|
|
8db7d0 |
# But we have no better solution downstream yet, and since there is
|
|
|
8db7d0 |
# no API breakage, we apply this patch.
|
|
|
8db7d0 |
# Doesn't apply to Python 3, where this is fixed otherwise and works.
|
|
|
8db7d0 |
Patch181: 00181-allow-arbitrary-timeout-in-condition-wait.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00185 #
|
|
|
8db7d0 |
# Makes urllib2 honor "no_proxy" enviroment variable for "ftp:" URLs
|
|
|
8db7d0 |
# when ftp_proxy is set
|
|
|
8db7d0 |
Patch185: 00185-urllib2-honors-noproxy-for-ftp.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00187 #
|
|
|
8db7d0 |
# Add an explicit RPATH to pyexpat.so pointing at the directory
|
|
|
8db7d0 |
# containing the system expat (which has the extra XML_SetHashSalt
|
|
|
8db7d0 |
# symbol), to avoid an ImportError with a link error if there's an
|
|
|
8db7d0 |
# LD_LIBRARY_PATH containing a "vanilla" build of expat (without the
|
|
|
8db7d0 |
# symbol)
|
|
|
8db7d0 |
Patch187: 00187-add-RPATH-to-pyexpat.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00189 #
|
|
|
8db7d0 |
# Fixes gdb py-bt command not to raise exception while processing
|
|
|
8db7d0 |
# statements from eval
|
|
|
8db7d0 |
# rhbz#1008154 (patch by Attila Fazekas)
|
|
|
8db7d0 |
Patch189: 00189-gdb-py-bt-dont-raise-exception-from-eval.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00191 #
|
|
|
8db7d0 |
# Disabling NOOP test as it fails without internet connection
|
|
|
8db7d0 |
Patch191: 00191-disable-NOOP.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00193 #
|
|
|
8db7d0 |
# Enable loading sqlite extensions. This patch isn't needed for
|
|
|
8db7d0 |
# python3.spec, since Python 3 has a configuration option for this.
|
|
|
8db7d0 |
# rhbz#1066708
|
|
|
8db7d0 |
# Patch provided by John C. Peterson
|
|
|
8db7d0 |
Patch193: 00193-enable-loading-sqlite-extensions.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00198 #
|
|
|
8db7d0 |
Patch198: 00198-add-rewheel-module.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00257 #
|
|
|
8db7d0 |
# Python's threading library doesn't use the monotonic clock when handling wait timeouts,
|
|
|
8db7d0 |
# so when the system clock is set backwards, the wait doesn't return after the timeout,
|
|
|
8db7d0 |
# causing deadlocks.
|
|
|
8db7d0 |
# This patch works around the issue.
|
|
|
8db7d0 |
# Resolves: rhbz#1653754
|
|
|
8db7d0 |
# DOWNSTREAM ONLY PATCH
|
|
|
8db7d0 |
Patch257: 00257-threading-wait-clamp-remaining-time.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00288 #
|
|
|
8db7d0 |
# Adds a warning when /usr/bin/python is invoked during rpmbuild
|
|
|
8db7d0 |
# See https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
|
|
|
8db7d0 |
Patch288: 00288-ambiguous-python-version-rpmbuild-warn.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00289 #
|
|
|
8db7d0 |
# Disable automatic detection for the nis module
|
|
|
8db7d0 |
# (we handle it it in Setup.dist, see Patch0)
|
|
|
8db7d0 |
Patch289: 00289-disable-nis-detection.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00310 #
|
|
|
8db7d0 |
# CVE-2018-14647
|
|
|
8db7d0 |
# Use XML_SetHashSalt in _elementtree
|
|
|
8db7d0 |
# rhbz#1632095
|
|
|
8db7d0 |
# Fixed upstream: https://bugs.python.org/issue34623
|
|
|
8db7d0 |
Patch310: 00310-use-xml-sethashsalt-in-elementtree.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00311 #
|
|
|
8db7d0 |
# Fix test_dbm_gnu for gdbm 1.15 which fails on ppc64le
|
|
|
8db7d0 |
# Resolves: rhbz#1638716
|
|
|
8db7d0 |
# Fixed upstream: https://bugs.python.org/issue33901
|
|
|
8db7d0 |
Patch311: 00311-fix-test_dbm_gnu.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# 00313 #
|
|
|
8db7d0 |
# Add choices for sort option of cProfile for better output message
|
|
|
8db7d0 |
# Fixed upstream: http://bugs.python.org/issue23420
|
|
|
8db7d0 |
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1649473
|
|
|
8db7d0 |
Patch313: 00313-cprofile-sort-option.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# (New patches go here ^^^)
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# When adding new patches to "python2" and "python3" in Fedora, EL, etc.,
|
|
|
8db7d0 |
# please try to keep the patch numbers in-sync between all specfiles.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# More information, and a patch number catalog, is at:
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# https://fedoraproject.org/wiki/SIGs/Python/PythonPatches
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# This is the generated patch to "configure"; see the description of
|
|
|
8db7d0 |
# %%{regenerate_autotooling_patch}
|
|
|
8db7d0 |
# above:
|
|
|
8db7d0 |
|
|
|
8db7d0 |
Patch5000: 05000-autotool-intermediates.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
# Additional metadata, and subpackages
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Providing python27 as now multiple interpreters exist in Fedora
|
|
|
8db7d0 |
# alongside the system one e.g. python26, python33 etc
|
|
|
8db7d0 |
Provides: python27 = %{version}-%{release}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# When the user tries to `yum install python`, yum will list this package among
|
|
|
8db7d0 |
# the possible alternatives
|
|
|
8db7d0 |
Provides: alternative-for(python)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
URL: https://www.python.org/
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%description
|
|
|
8db7d0 |
Python 2 is an old version of the language that is incompatible with the 3.x
|
|
|
8db7d0 |
line of releases. The language is mostly the same, but many details, especially
|
|
|
8db7d0 |
how built-in objects like dictionaries and strings work, have changed
|
|
|
8db7d0 |
considerably, and a lot of deprecated features have finally been removed in the
|
|
|
8db7d0 |
3.x line.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
Note that documentation for Python 2 is provided in the python2-docs
|
|
|
8db7d0 |
package.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
This package provides the "python2" executable; most of the actual
|
|
|
8db7d0 |
implementation is within the "python2-libs" package.
|
|
|
8db7d0 |
For the unversioned "python" executable, see manual page "unversioned-python".
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%package libs
|
|
|
8db7d0 |
Summary: Runtime libraries for Python 2
|
|
|
8db7d0 |
Group: Applications/System
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Needed for ctypes, to load libraries, worked around for Live CDs size
|
|
|
8db7d0 |
# Requires: binutils
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# expat 2.1.0 added the symbol XML_SetHashSalt without bumping SONAME. We use
|
|
|
8db7d0 |
# this symbol (in pyexpat), so we must explicitly state this dependency to
|
|
|
8db7d0 |
# prevent "import pyexpat" from failing with a linker error if someone hasn't
|
|
|
8db7d0 |
# yet upgraded expat:
|
|
|
8db7d0 |
Requires: expat >= 2.1.0
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Python built with glibc >= 2.24.90-26 needs to require it (rhbz#1410644).
|
|
|
8db7d0 |
Requires: glibc%{?_isa} >= 2.24.90-26
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{with_gdbm}
|
|
|
8db7d0 |
# ABI change without soname bump, reverted
|
|
|
8db7d0 |
Requires: gdbm%{?_isa} >= 1:1.13
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%description libs
|
|
|
8db7d0 |
This package contains files used to embed Python 2 into applications.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%package devel
|
|
|
8db7d0 |
Summary: Libraries and header files needed for Python 2 development
|
|
|
8db7d0 |
Group: Development/Libraries
|
|
|
8db7d0 |
Requires: %{python}%{?_isa} = %{version}-%{release}
|
|
|
8db7d0 |
Requires: python-rpm-macros
|
|
|
8db7d0 |
Requires: python2-rpm-macros
|
|
|
8db7d0 |
Requires: pkgconfig
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{without python3_bootstrap}
|
|
|
8db7d0 |
# When bootstrapping python3, we need to build setuptools
|
|
|
8db7d0 |
# But setuptools BR python2-devel and that brings in python3-rpm-generators
|
|
|
8db7d0 |
# python3-rpm-generators needs python3-setuptools, so we cannot have it yet
|
|
|
8db7d0 |
Requires: python3-rpm-generators
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1217376
|
|
|
8db7d0 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1496757
|
|
|
8db7d0 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1218294
|
|
|
8db7d0 |
# TODO change to a specific subpackage once available (#1218294)
|
|
|
8db7d0 |
Requires: redhat-rpm-config
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Needed here because of the migration of Makefile from -devel to the main
|
|
|
8db7d0 |
# package
|
|
|
8db7d0 |
Conflicts: %{python} < %{version}-%{release}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%description devel
|
|
|
8db7d0 |
This package contains libraries and header files used to build applications
|
|
|
8db7d0 |
with and native libraries for Python 2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%package tools
|
|
|
8db7d0 |
Summary: A collection of development tools included with Python 2
|
|
|
8db7d0 |
Group: Development/Tools
|
|
|
8db7d0 |
Requires: %{name} = %{version}-%{release}
|
|
|
8db7d0 |
Requires: %{python}-tkinter = %{version}-%{release}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%description tools
|
|
|
8db7d0 |
This package includes several tools to help with the development of Python 2
|
|
|
8db7d0 |
programs, including IDLE (an IDE with editing and debugging facilities), a
|
|
|
8db7d0 |
color editor (pynche), and a python gettext program (pygettext.py).
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%package tkinter
|
|
|
8db7d0 |
Summary: A graphical user interface for the Python 2 scripting language
|
|
|
8db7d0 |
Group: Development/Languages
|
|
|
8db7d0 |
Requires: %{name} = %{version}-%{release}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
Provides: tkinter2 = %{version}-%{release}
|
|
|
8db7d0 |
Provides: tkinter2%{?_isa} = %{version}-%{release}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%description tkinter
|
|
|
8db7d0 |
|
|
|
8db7d0 |
The Tkinter (Tk interface) program is an graphical user interface for
|
|
|
8db7d0 |
the Python 2 scripting language.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
You should install the python2tkinter package if you'd like to use a graphical
|
|
|
8db7d0 |
user interface for Python 2 programming.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%package test
|
|
|
8db7d0 |
Summary: The test modules from the main python2 package
|
|
|
8db7d0 |
Group: Development/Languages
|
|
|
8db7d0 |
Requires: %{name} = %{version}-%{release}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%description test
|
|
|
8db7d0 |
|
|
|
8db7d0 |
The test modules from the main python2 package: %{name}
|
|
|
8db7d0 |
These have been removed to save space, as they are never or almost
|
|
|
8db7d0 |
never used in production.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
You might want to install the python2-test package if you're developing python 2
|
|
|
8db7d0 |
code that uses more than just unittest and/or test.support.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{with debug_build}
|
|
|
8db7d0 |
%package debug
|
|
|
8db7d0 |
Summary: Debug version of the Python 2 runtime
|
|
|
8db7d0 |
Group: Applications/System
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# The debug build is an all-in-one package version of the regular build, and
|
|
|
8db7d0 |
# shares the same .py/.pyc files and directories as the regular build. Hence
|
|
|
8db7d0 |
# we depend on all of the subpackages of the regular build:
|
|
|
8db7d0 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
8db7d0 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
8db7d0 |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
8db7d0 |
Requires: %{name}-test%{?_isa} = %{version}-%{release}
|
|
|
8db7d0 |
Requires: %{python}-tkinter%{?_isa} = %{version}-%{release}
|
|
|
8db7d0 |
Requires: %{name}-tools%{?_isa} = %{version}-%{release}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%description debug
|
|
|
8db7d0 |
python2-debug provides a version of the Python 2 runtime with numerous debugging
|
|
|
8db7d0 |
features enabled, aimed at advanced Python users, such as developers of Python
|
|
|
8db7d0 |
extension modules.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
This version uses more memory and will be slower than the regular Python 2 build,
|
|
|
8db7d0 |
but is useful for tracking down reference-counting issues, and other bugs.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
The bytecodes are unchanged, so that .pyc files are compatible between the two
|
|
|
8db7d0 |
version of Python 2, but the debugging features mean that C/C++ extension modules
|
|
|
8db7d0 |
are ABI-incompatible with those built for the standard runtime.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
It shares installation directories with the standard Python 2 runtime, so that
|
|
|
8db7d0 |
.py and .pyc files can be shared. All compiled extension modules gain a "_d"
|
|
|
8db7d0 |
suffix ("foo_d.so" rather than "foo.so") so that each Python 2 implementation can
|
|
|
8db7d0 |
load its own extensions.
|
|
|
8db7d0 |
%endif # with debug_build
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
# The prep phase of the build:
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%prep
|
|
|
8db7d0 |
%setup -q -n Python-%{version}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if 0%{?with_systemtap}
|
|
|
8db7d0 |
# Provide an example of usage of the tapset:
|
|
|
8db7d0 |
cp -a %{SOURCE4} .
|
|
|
8db7d0 |
cp -a %{SOURCE5} .
|
|
|
8db7d0 |
%endif # with_systemtap
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Ensure that we're using the system copy of various libraries, rather than
|
|
|
8db7d0 |
# copies shipped by upstream in the tarball:
|
|
|
8db7d0 |
# Remove embedded copy of expat:
|
|
|
8db7d0 |
rm -r Modules/expat || exit 1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Remove embedded copy of libffi:
|
|
|
8db7d0 |
for SUBDIR in darwin libffi libffi_arm_wince libffi_msvc libffi_osx ; do
|
|
|
8db7d0 |
rm -r Modules/_ctypes/$SUBDIR || exit 1 ;
|
|
|
8db7d0 |
done
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Remove embedded copy of zlib:
|
|
|
8db7d0 |
rm -r Modules/zlib || exit 1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
## Disabling hashlib patch for now as it needs to be reimplemented
|
|
|
8db7d0 |
## for OpenSSL 1.1.0.
|
|
|
8db7d0 |
# Don't build upstream Python's implementation of these crypto algorithms;
|
|
|
8db7d0 |
# instead rely on _hashlib and OpenSSL.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# For example, in our builds md5.py uses always uses hashlib.md5 (rather than
|
|
|
8db7d0 |
# falling back to _md5 when hashlib.md5 is not available); hashlib.md5 is
|
|
|
8db7d0 |
# implemented within _hashlib via OpenSSL (and thus respects FIPS mode)
|
|
|
8db7d0 |
#for f in md5module.c md5.c shamodule.c sha256module.c sha512module.c; do
|
|
|
8db7d0 |
# rm Modules/$f
|
|
|
8db7d0 |
#done
|
|
|
8db7d0 |
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Apply patches:
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
%patch0 -p1 -b .rhconfig
|
|
|
8db7d0 |
%patch1 -p1 -b .no_gui
|
|
|
8db7d0 |
%patch4 -p1 -b .cflags
|
|
|
8db7d0 |
%patch6 -p1 -b .plural
|
|
|
8db7d0 |
%patch7 -p1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if "%{_lib}" == "lib64"
|
|
|
8db7d0 |
%patch102 -p1 -b .lib64
|
|
|
8db7d0 |
%patch103 -p1 -b .lib64-sysconfig
|
|
|
8db7d0 |
%patch104 -p1
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%patch10 -p1 -b .binutils-no-dep
|
|
|
8db7d0 |
%patch13 -p1 -b .socketmodule
|
|
|
8db7d0 |
%patch14 -p1 -b .socketmodule2
|
|
|
8db7d0 |
%patch16 -p1 -b .rpath
|
|
|
8db7d0 |
%patch17 -p1 -b .distutils-rpath
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if 0%{?with_systemtap}
|
|
|
8db7d0 |
%patch55 -p1 -b .systemtap
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%patch111 -p1 -b .no-static-lib
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%patch112 -p1 -b .debug-build
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%patch113 -p1 -b .more-configuration-flags
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%patch114 -p1 -b .statvfs-f-flag-constants
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%patch121 -p1
|
|
|
8db7d0 |
%patch128 -p1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%patch130 -p1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%ifarch ppc %{power64}
|
|
|
8db7d0 |
%patch131 -p1
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%patch132 -p1
|
|
|
8db7d0 |
%patch133 -p1
|
|
|
8db7d0 |
%patch136 -p1 -b .stdin-test
|
|
|
8db7d0 |
%patch137 -p1
|
|
|
8db7d0 |
%patch138 -p1
|
|
|
8db7d0 |
%ifarch %{arm}
|
|
|
8db7d0 |
%patch139 -p1
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
%ifarch %{sparc}
|
|
|
8db7d0 |
%patch140 -p1
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
%patch142 -p1 -b .tty-fail
|
|
|
8db7d0 |
%patch143 -p1 -b .tsc-on-ppc
|
|
|
8db7d0 |
%if !%{with_gdbm}
|
|
|
8db7d0 |
%patch144 -p1
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
#patch146 -p1
|
|
|
8db7d0 |
%patch147 -p1
|
|
|
8db7d0 |
%patch153 -p0
|
|
|
8db7d0 |
%patch155 -p1
|
|
|
8db7d0 |
%patch156 -p1
|
|
|
8db7d0 |
%patch157 -p1
|
|
|
8db7d0 |
%patch165 -p1
|
|
|
8db7d0 |
mv Modules/cryptmodule.c Modules/_cryptmodule.c
|
|
|
8db7d0 |
%patch167 -p1
|
|
|
8db7d0 |
%patch168 -p1
|
|
|
8db7d0 |
%patch169 -p1
|
|
|
8db7d0 |
%patch170 -p1
|
|
|
8db7d0 |
%patch174 -p1 -b .fix-for-usr-move
|
|
|
8db7d0 |
%patch180 -p1
|
|
|
8db7d0 |
%patch181 -p1
|
|
|
8db7d0 |
%patch185 -p1
|
|
|
8db7d0 |
%patch187 -p1
|
|
|
8db7d0 |
%patch189 -p1
|
|
|
8db7d0 |
%patch191 -p1
|
|
|
8db7d0 |
%patch193 -p1
|
|
|
8db7d0 |
%if %{with rewheel}
|
|
|
8db7d0 |
%patch198 -p1
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
%patch257 -p1
|
|
|
8db7d0 |
%patch288 -p1
|
|
|
8db7d0 |
%patch289 -p1
|
|
|
8db7d0 |
%patch310 -p1
|
|
|
8db7d0 |
%patch311 -p1
|
|
|
8db7d0 |
%patch313 -p1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# This shouldn't be necesarry, but is right now (2.2a3)
|
|
|
8db7d0 |
find -name "*~" |xargs rm -f
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if ! 0%{regenerate_autotooling_patch}
|
|
|
8db7d0 |
# Normally we apply the patch to "configure"
|
|
|
8db7d0 |
# We don't apply the patch if we're working towards regenerating it
|
|
|
8db7d0 |
%patch5000 -p0 -b .autotool-intermediates
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
# Configuring and building the code:
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%build
|
|
|
8db7d0 |
topdir=$(pwd)
|
|
|
8db7d0 |
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
|
|
|
8db7d0 |
export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
|
|
|
8db7d0 |
export CPPFLAGS="$(pkg-config --cflags-only-I libffi)"
|
|
|
8db7d0 |
export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
|
|
|
8db7d0 |
export LINKCC="gcc"
|
|
|
8db7d0 |
export LDFLAGS="$RPM_LD_FLAGS"
|
|
|
8db7d0 |
if pkg-config openssl ; then
|
|
|
8db7d0 |
export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
|
|
|
8db7d0 |
export LDFLAGS="$LDFLAGS $(pkg-config --libs-only-L openssl)"
|
|
|
8db7d0 |
fi
|
|
|
8db7d0 |
# Force CC
|
|
|
8db7d0 |
export CC=gcc
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if 0%{regenerate_autotooling_patch}
|
|
|
8db7d0 |
# If enabled, this code regenerates the patch to "configure", using a
|
|
|
8db7d0 |
# local copy of autoconf-2.65, then exits the build
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# The following assumes that the copy is installed to ~/autoconf-2.65/bin
|
|
|
8db7d0 |
# as per these instructions:
|
|
|
8db7d0 |
# http://bugs.python.org/issue7997
|
|
|
8db7d0 |
|
|
|
8db7d0 |
for f in pyconfig.h.in configure ; do
|
|
|
8db7d0 |
cp $f $f.autotool-intermediates ;
|
|
|
8db7d0 |
done
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Rerun the autotools:
|
|
|
8db7d0 |
PATH=~/autoconf-2.65/bin:$PATH autoconf
|
|
|
8db7d0 |
autoheader
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Regenerate the patch:
|
|
|
8db7d0 |
gendiff . .autotool-intermediates > %{PATCH5000}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Exit the build
|
|
|
8db7d0 |
exit 1
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Define a function, for how to perform a "build" of python for a given
|
|
|
8db7d0 |
# configuration:
|
|
|
8db7d0 |
BuildPython() {
|
|
|
8db7d0 |
ConfName=$1
|
|
|
8db7d0 |
BinaryName=$2
|
|
|
8db7d0 |
SymlinkName=$3
|
|
|
8db7d0 |
ExtraConfigArgs=$4
|
|
|
8db7d0 |
PathFixWithThisBinary=$5
|
|
|
8db7d0 |
|
|
|
8db7d0 |
ConfDir=build/$ConfName
|
|
|
8db7d0 |
|
|
|
8db7d0 |
echo STARTING: BUILD OF PYTHON FOR CONFIGURATION: $ConfName - %{_bindir}/$BinaryName
|
|
|
8db7d0 |
mkdir -p $ConfDir
|
|
|
8db7d0 |
|
|
|
8db7d0 |
pushd $ConfDir
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Use the freshly created "configure" script, but in the directory two above:
|
|
|
8db7d0 |
%global _configure $topdir/configure
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%configure \
|
|
|
8db7d0 |
--enable-ipv6 \
|
|
|
8db7d0 |
--enable-shared \
|
|
|
8db7d0 |
--enable-unicode=%{unicode} \
|
|
|
8db7d0 |
--with-dbmliborder=gdbm:ndbm:bdb \
|
|
|
8db7d0 |
--with-system-expat \
|
|
|
8db7d0 |
--with-system-ffi \
|
|
|
8db7d0 |
%if 0%{?with_systemtap}
|
|
|
8db7d0 |
--with-dtrace \
|
|
|
8db7d0 |
--with-tapset-install-dir=%{tapsetdir} \
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
%if 0%{?with_valgrind}
|
|
|
8db7d0 |
--with-valgrind \
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
$ExtraConfigArgs \
|
|
|
8db7d0 |
%{nil}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
make EXTRA_CFLAGS="$CFLAGS" %{?_smp_mflags}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# We need to fix shebang lines across the full source tree.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# We do this using the pathfix.py script, which requires one of the
|
|
|
8db7d0 |
# freshly-built Python binaries.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# We use the optimized python binary, and make the shebangs point at that same
|
|
|
8db7d0 |
# optimized python binary:
|
|
|
8db7d0 |
if $PathFixWithThisBinary
|
|
|
8db7d0 |
then
|
|
|
8db7d0 |
# pathfix.py currently only works with files matching ^[a-zA-Z0-9_]+\.py$
|
|
|
8db7d0 |
# when crawling through directories, so we handle the special cases manually
|
|
|
8db7d0 |
LD_LIBRARY_PATH="$topdir/$ConfDir" ./$BinaryName \
|
|
|
8db7d0 |
$topdir/Tools/scripts/pathfix.py \
|
|
|
8db7d0 |
-i "%{_bindir}/python%{pybasever}" \
|
|
|
8db7d0 |
$topdir \
|
|
|
8db7d0 |
$topdir/Tools/pynche/pynche \
|
|
|
8db7d0 |
$topdir/Demo/pdist/{rcvs,rcsbump,rrcs} \
|
|
|
8db7d0 |
$topdir/Demo/scripts/find-uname.py \
|
|
|
8db7d0 |
$topdir/Tools/scripts/reindent-rst.py
|
|
|
8db7d0 |
fi
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Rebuild with new python
|
|
|
8db7d0 |
# We need a link to a versioned python in the build directory
|
|
|
8db7d0 |
ln -s $BinaryName $SymlinkName
|
|
|
8db7d0 |
LD_LIBRARY_PATH="$topdir/$ConfDir" PATH=$PATH:$topdir/$ConfDir make -s EXTRA_CFLAGS="$CFLAGS" %{?_smp_mflags}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
popd
|
|
|
8db7d0 |
echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfDir
|
|
|
8db7d0 |
}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Use "BuildPython" to support building with different configurations:
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{with debug_build}
|
|
|
8db7d0 |
BuildPython debug \
|
|
|
8db7d0 |
python-debug \
|
|
|
8db7d0 |
python%{pybasever}-debug \
|
|
|
8db7d0 |
%ifarch %{ix86} x86_64 ppc %{power64}
|
|
|
8db7d0 |
"--with-pydebug --with-tsc --with-count-allocs --with-call-profile" \
|
|
|
8db7d0 |
%else
|
|
|
8db7d0 |
"--with-pydebug --with-count-allocs --with-call-profile" \
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
false
|
|
|
8db7d0 |
%endif # with debug_build
|
|
|
8db7d0 |
|
|
|
8db7d0 |
BuildPython optimized \
|
|
|
8db7d0 |
python \
|
|
|
8db7d0 |
python%{pybasever} \
|
|
|
8db7d0 |
%ifarch %{ix86} x86_64
|
|
|
8db7d0 |
"" \
|
|
|
8db7d0 |
%else
|
|
|
8db7d0 |
"" \
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
true
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
# Installing the built code:
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%install
|
|
|
8db7d0 |
topdir=$(pwd)
|
|
|
8db7d0 |
rm -rf %{buildroot}
|
|
|
8db7d0 |
mkdir -p %{buildroot}%{_prefix} %{buildroot}%{_mandir}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Clean up patched .py files that are saved as .lib64
|
|
|
8db7d0 |
for f in distutils/command/install distutils/sysconfig; do
|
|
|
8db7d0 |
rm -f Lib/$f.py.lib64
|
|
|
8db7d0 |
done
|
|
|
8db7d0 |
|
|
|
8db7d0 |
InstallPython() {
|
|
|
8db7d0 |
|
|
|
8db7d0 |
ConfName=$1
|
|
|
8db7d0 |
BinaryName=$2
|
|
|
8db7d0 |
PyInstSoName=$3
|
|
|
8db7d0 |
|
|
|
8db7d0 |
ConfDir=build/$ConfName
|
|
|
8db7d0 |
|
|
|
8db7d0 |
echo STARTING: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName - %{_bindir}/$BinaryName
|
|
|
8db7d0 |
mkdir -p $ConfDir
|
|
|
8db7d0 |
|
|
|
8db7d0 |
pushd $ConfDir
|
|
|
8db7d0 |
|
|
|
8db7d0 |
make install DESTDIR=%{buildroot}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# We install a collection of hooks for gdb that make it easier to debug
|
|
|
8db7d0 |
# executables linked against libpython (such as /usr/lib/python itself)
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# These hooks are implemented in Python itself
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# gdb-archer looks for them in the same path as the ELF file, with a -gdb.py suffix.
|
|
|
8db7d0 |
# We put them in the debuginfo package by installing them to e.g.:
|
|
|
8db7d0 |
# /usr/lib/debug/usr/lib/libpython2.6.so.1.0.debug-gdb.py
|
|
|
8db7d0 |
# (note that the debug path is /usr/lib/debug for both 32/64 bit)
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# See https://fedoraproject.org/wiki/Features/EasierPythonDebugging for more
|
|
|
8db7d0 |
# information
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Initially I tried:
|
|
|
8db7d0 |
# /usr/lib/libpython2.6.so.1.0-gdb.py
|
|
|
8db7d0 |
# but doing so generated noise when ldconfig was rerun (rhbz:562980)
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
%if 0%{?with_gdb_hooks}
|
|
|
8db7d0 |
DirHoldingGdbPy=%{_prefix}/lib/debug/%{_libdir}
|
|
|
8db7d0 |
PathOfGdbPy=$DirHoldingGdbPy/$PyInstSoName-%{version}-%{release}.%{_arch}.debug-gdb.py
|
|
|
8db7d0 |
|
|
|
8db7d0 |
mkdir -p %{buildroot}$DirHoldingGdbPy
|
|
|
8db7d0 |
cp $topdir/Tools/gdb/libpython.py %{buildroot}$PathOfGdbPy
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Manually byte-compile the file, in case find-debuginfo.sh is run before
|
|
|
8db7d0 |
# brp-python-bytecompile, so that the .pyc/.pyo files are properly listed in
|
|
|
8db7d0 |
# the debuginfo manifest:
|
|
|
8db7d0 |
LD_LIBRARY_PATH="$topdir/$ConfDir" $topdir/$ConfDir/$BinaryName \
|
|
|
8db7d0 |
-c "import compileall; import sys; compileall.compile_dir('%{buildroot}$DirHoldingGdbPy', ddir='$DirHoldingGdbPy')"
|
|
|
8db7d0 |
|
|
|
8db7d0 |
LD_LIBRARY_PATH="$topdir/$ConfDir" $topdir/$ConfDir/$BinaryName -O \
|
|
|
8db7d0 |
-c "import compileall; import sys; compileall.compile_dir('%{buildroot}$DirHoldingGdbPy', ddir='$DirHoldingGdbPy')"
|
|
|
8db7d0 |
%endif # with_gdb_hooks
|
|
|
8db7d0 |
|
|
|
8db7d0 |
popd
|
|
|
8db7d0 |
|
|
|
8db7d0 |
echo FINISHED: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
8db7d0 |
}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Use "InstallPython" to support building with different configurations:
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Install the "debug" build first, so that we can move some files aside
|
|
|
8db7d0 |
%if %{with debug_build}
|
|
|
8db7d0 |
InstallPython debug \
|
|
|
8db7d0 |
python%{pybasever}-debug \
|
|
|
8db7d0 |
%{py_INSTSONAME_debug}
|
|
|
8db7d0 |
%endif # with debug_build
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Now the optimized build:
|
|
|
8db7d0 |
InstallPython optimized \
|
|
|
8db7d0 |
python%{pybasever} \
|
|
|
8db7d0 |
%{py_INSTSONAME_optimized}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Fix the interpreter path in binaries installed by distutils
|
|
|
8db7d0 |
# (which changes them by itself)
|
|
|
8db7d0 |
# Make sure we preserve the file permissions
|
|
|
8db7d0 |
for fixed in %{buildroot}%{_bindir}/pydoc; do
|
|
|
8db7d0 |
sed 's,#!.*/python$,#!/usr/bin/env python%{pybasever},' $fixed > $fixed- \
|
|
|
8db7d0 |
&& cat $fixed- > $fixed && rm -f $fixed-
|
|
|
8db7d0 |
done
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Junk, no point in putting in -test sub-pkg
|
|
|
8db7d0 |
rm -f %{buildroot}/%{pylibdir}/idlelib/testcode.py*
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# don't include tests that are run at build time in the package
|
|
|
8db7d0 |
# This is documented, and used: rhbz#387401
|
|
|
8db7d0 |
if /bin/false; then
|
|
|
8db7d0 |
# Move this to -test subpackage.
|
|
|
8db7d0 |
mkdir save_bits_of_test
|
|
|
8db7d0 |
for i in test_support.py __init__.py; do
|
|
|
8db7d0 |
cp -a %{buildroot}/%{pylibdir}/test/$i save_bits_of_test
|
|
|
8db7d0 |
done
|
|
|
8db7d0 |
rm -rf %{buildroot}/%{pylibdir}/test
|
|
|
8db7d0 |
mkdir %{buildroot}/%{pylibdir}/test
|
|
|
8db7d0 |
cp -a save_bits_of_test/* %{buildroot}/%{pylibdir}/test
|
|
|
8db7d0 |
fi
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# tools
|
|
|
8db7d0 |
|
|
|
8db7d0 |
mkdir -p ${RPM_BUILD_ROOT}%{site_packages}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
#pynche
|
|
|
8db7d0 |
install -p -m755 %{SOURCE7} ${RPM_BUILD_ROOT}%{_bindir}/pynche
|
|
|
8db7d0 |
chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/pynche
|
|
|
8db7d0 |
rm -f Tools/pynche/*.pyw
|
|
|
8db7d0 |
cp -rp Tools/pynche \
|
|
|
8db7d0 |
${RPM_BUILD_ROOT}%{site_packages}/
|
|
|
8db7d0 |
|
|
|
8db7d0 |
mv Tools/pynche/README Tools/pynche/README.pynche
|
|
|
8db7d0 |
|
|
|
8db7d0 |
#gettext
|
|
|
8db7d0 |
install -m755 Tools/i18n/pygettext.py %{buildroot}%{_bindir}/
|
|
|
8db7d0 |
install -m755 Tools/i18n/msgfmt.py %{buildroot}%{_bindir}/
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Useful development tools
|
|
|
8db7d0 |
install -m755 -d %{buildroot}%{tools_dir}/scripts
|
|
|
8db7d0 |
install Tools/README %{buildroot}%{tools_dir}/
|
|
|
8db7d0 |
install Tools/scripts/*py %{buildroot}%{tools_dir}/scripts/
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Documentation tools
|
|
|
8db7d0 |
install -m755 -d %{buildroot}%{doc_tools_dir}
|
|
|
8db7d0 |
#install -m755 Doc/tools/mkhowto %{buildroot}%{doc_tools_dir}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Useful demo scripts
|
|
|
8db7d0 |
install -m755 -d %{buildroot}%{demo_dir}
|
|
|
8db7d0 |
cp -ar Demo/* %{buildroot}%{demo_dir}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Get rid of crap
|
|
|
8db7d0 |
find %{buildroot}/ -name "*~"|xargs rm -f
|
|
|
8db7d0 |
find %{buildroot}/ -name ".cvsignore"|xargs rm -f
|
|
|
8db7d0 |
find %{buildroot}/ -name "*.bat"|xargs rm -f
|
|
|
8db7d0 |
find . -name "*~"|xargs rm -f
|
|
|
8db7d0 |
find . -name ".cvsignore"|xargs rm -f
|
|
|
8db7d0 |
#zero length
|
|
|
8db7d0 |
rm -f %{buildroot}%{pylibdir}/LICENSE.txt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Provide binaries in the form of bin2 and bin2.7, thus implementing
|
|
|
8db7d0 |
# (and expanding) the recommendations of PEP 394.
|
|
|
8db7d0 |
mv %{buildroot}%{_bindir}/idle %{buildroot}%{_bindir}/idle%{pybasever}
|
|
|
8db7d0 |
ln -s ./idle%{pybasever} %{buildroot}%{_bindir}/idle2
|
|
|
8db7d0 |
ln -s ./idle2 %{buildroot}%{_bindir}/idle
|
|
|
8db7d0 |
|
|
|
8db7d0 |
mv %{buildroot}%{_bindir}/pynche %{buildroot}%{_bindir}/pynche%{pybasever}
|
|
|
8db7d0 |
ln -s ./pynche%{pybasever} %{buildroot}%{_bindir}/pynche2
|
|
|
8db7d0 |
ln -s ./pynche2 %{buildroot}%{_bindir}/pynche
|
|
|
8db7d0 |
|
|
|
8db7d0 |
mv %{buildroot}%{_bindir}/pydoc %{buildroot}%{_bindir}/pydoc%{pybasever}
|
|
|
8db7d0 |
ln -s ./pydoc%{pybasever} %{buildroot}%{_bindir}/pydoc2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
mv %{buildroot}%{_bindir}/pygettext.py %{buildroot}%{_bindir}/pygettext%{pybasever}.py
|
|
|
8db7d0 |
ln -s ./pygettext%{pybasever}.py %{buildroot}%{_bindir}/pygettext2.py
|
|
|
8db7d0 |
ln -s ./pygettext2.py %{buildroot}%{_bindir}/pygettext.py
|
|
|
8db7d0 |
|
|
|
8db7d0 |
mv %{buildroot}%{_bindir}/msgfmt.py %{buildroot}%{_bindir}/msgfmt%{pybasever}.py
|
|
|
8db7d0 |
ln -s ./msgfmt%{pybasever}.py %{buildroot}%{_bindir}/msgfmt2.py
|
|
|
8db7d0 |
ln -s ./msgfmt2.py %{buildroot}%{_bindir}/msgfmt.py
|
|
|
8db7d0 |
|
|
|
8db7d0 |
mv %{buildroot}%{_bindir}/smtpd.py %{buildroot}%{_bindir}/smtpd%{pybasever}.py
|
|
|
8db7d0 |
ln -s ./smtpd%{pybasever}.py %{buildroot}%{_bindir}/smtpd2.py
|
|
|
8db7d0 |
ln -s ./smtpd2.py %{buildroot}%{_bindir}/smtpd.py
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Fix bug #143667: python should own /usr/lib/python2.x on 64-bit machines
|
|
|
8db7d0 |
%if "%{_lib}" == "lib64"
|
|
|
8db7d0 |
install -d %{buildroot}/%{_prefix}/lib/python%{pybasever}/site-packages
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Make python-devel multilib-ready (bug #192747, #139911)
|
|
|
8db7d0 |
%global _pyconfig32_h pyconfig-32.h
|
|
|
8db7d0 |
%global _pyconfig64_h pyconfig-64.h
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%ifarch %{power64} s390x x86_64 ia64 alpha sparc64 aarch64 %{mips64} riscv64
|
|
|
8db7d0 |
%global _pyconfig_h %{_pyconfig64_h}
|
|
|
8db7d0 |
%else
|
|
|
8db7d0 |
%global _pyconfig_h %{_pyconfig32_h}
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{with debug_build}
|
|
|
8db7d0 |
%global PyIncludeDirs python%{pybasever} python%{pybasever}-debug
|
|
|
8db7d0 |
%else
|
|
|
8db7d0 |
%global PyIncludeDirs python%{pybasever}
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
for PyIncludeDir in %{PyIncludeDirs} ; do
|
|
|
8db7d0 |
mv %{buildroot}%{_includedir}/$PyIncludeDir/pyconfig.h \
|
|
|
8db7d0 |
%{buildroot}%{_includedir}/$PyIncludeDir/%{_pyconfig_h}
|
|
|
8db7d0 |
cat > %{buildroot}%{_includedir}/$PyIncludeDir/pyconfig.h << EOF
|
|
|
8db7d0 |
#include <bits/wordsize.h>
|
|
|
8db7d0 |
|
|
|
8db7d0 |
#if __WORDSIZE == 32
|
|
|
8db7d0 |
#include "%{_pyconfig32_h}"
|
|
|
8db7d0 |
#elif __WORDSIZE == 64
|
|
|
8db7d0 |
#include "%{_pyconfig64_h}"
|
|
|
8db7d0 |
#else
|
|
|
8db7d0 |
#error "Unknown word size"
|
|
|
8db7d0 |
#endif
|
|
|
8db7d0 |
EOF
|
|
|
8db7d0 |
done
|
|
|
8db7d0 |
ln -s ../../libpython%{pybasever}.so %{buildroot}%{pylibdir}/config/libpython%{pybasever}.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Fix for bug 201434: make sure distutils looks at the right pyconfig.h file
|
|
|
8db7d0 |
# Similar for sysconfig: sysconfig.get_config_h_filename tries to locate
|
|
|
8db7d0 |
# pyconfig.h so it can be parsed, and needs to do this at runtime in site.py
|
|
|
8db7d0 |
# when python starts up.
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Split this out so it goes directly to the pyconfig-32.h/pyconfig-64.h
|
|
|
8db7d0 |
# variants:
|
|
|
8db7d0 |
sed -i -e "s/'pyconfig.h'/'%{_pyconfig_h}'/" \
|
|
|
8db7d0 |
%{buildroot}%{pylibdir}/distutils/sysconfig.py \
|
|
|
8db7d0 |
%{buildroot}%{pylibdir}/sysconfig.py
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Ensure that the curses module was linked against libncursesw.so, rather than
|
|
|
8db7d0 |
# libncurses.so (bug 539917)
|
|
|
8db7d0 |
ldd %{buildroot}/%{dynload_dir}/_curses*.so \
|
|
|
8db7d0 |
| grep curses \
|
|
|
8db7d0 |
| grep libncurses.so && (echo "_curses.so linked against libncurses.so" ; exit 1)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Ensure that the debug modules are linked against the debug libpython, and
|
|
|
8db7d0 |
# likewise for the optimized modules and libpython:
|
|
|
8db7d0 |
for Module in %{buildroot}/%{dynload_dir}/*.so ; do
|
|
|
8db7d0 |
case $Module in
|
|
|
8db7d0 |
*_d.so)
|
|
|
8db7d0 |
ldd $Module | grep %{py_INSTSONAME_optimized} &&
|
|
|
8db7d0 |
(echo Debug module $Module linked against optimized %{py_INSTSONAME_optimized} ; exit 1)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
;;
|
|
|
8db7d0 |
*)
|
|
|
8db7d0 |
ldd $Module | grep %{py_INSTSONAME_debug} &&
|
|
|
8db7d0 |
(echo Optimized module $Module linked against debug %{py_INSTSONAME_optimized} ; exit 1)
|
|
|
8db7d0 |
;;
|
|
|
8db7d0 |
esac
|
|
|
8db7d0 |
done
|
|
|
8db7d0 |
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Systemtap hooks:
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
%if 0%{?with_systemtap}
|
|
|
8db7d0 |
# Install a tapset for this libpython into tapsetdir, fixing up the path to the
|
|
|
8db7d0 |
# library:
|
|
|
8db7d0 |
mkdir -p %{buildroot}%{tapsetdir}
|
|
|
8db7d0 |
%ifarch %{power64} s390x x86_64 ia64 alpha sparc64 aarch64 %{mips64}
|
|
|
8db7d0 |
%global libpython_stp_optimized libpython%{pybasever}-64.stp
|
|
|
8db7d0 |
%global libpython_stp_debug libpython%{pybasever}-debug-64.stp
|
|
|
8db7d0 |
%else
|
|
|
8db7d0 |
%global libpython_stp_optimized libpython%{pybasever}-32.stp
|
|
|
8db7d0 |
%global libpython_stp_debug libpython%{pybasever}-debug-32.stp
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
sed \
|
|
|
8db7d0 |
-e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_optimized}|" \
|
|
|
8db7d0 |
%{SOURCE3} \
|
|
|
8db7d0 |
> %{buildroot}%{tapsetdir}/%{libpython_stp_optimized}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{with debug_build}
|
|
|
8db7d0 |
sed \
|
|
|
8db7d0 |
-e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" \
|
|
|
8db7d0 |
%{SOURCE3} \
|
|
|
8db7d0 |
> %{buildroot}%{tapsetdir}/%{libpython_stp_debug}
|
|
|
8db7d0 |
%endif # with debug_build
|
|
|
8db7d0 |
%endif # with_systemtap
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Do bytecompilation with the newly installed interpreter.
|
|
|
8db7d0 |
# compile *.pyo
|
|
|
8db7d0 |
find %{buildroot} -type f -a -name "*.py" -print0 | \
|
|
|
8db7d0 |
LD_LIBRARY_PATH="%{buildroot}%{dynload_dir}/:%{buildroot}%{_libdir}" \
|
|
|
8db7d0 |
PYTHONPATH="%{buildroot}%{_libdir}/python%{pybasever} %{buildroot}%{_libdir}/python%{pybasever}/site-packages" \
|
|
|
8db7d0 |
xargs -0 %{buildroot}%{_bindir}/python%{pybasever} -O -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("%{buildroot}")[2]) for f in sys.argv[1:]]' || :
|
|
|
8db7d0 |
# compile *.pyc
|
|
|
8db7d0 |
find %{buildroot} -type f -a -name "*.py" -print0 | \
|
|
|
8db7d0 |
LD_LIBRARY_PATH="%{buildroot}%{dynload_dir}/:%{buildroot}%{_libdir}" \
|
|
|
8db7d0 |
PYTHONPATH="%{buildroot}%{_libdir}/python%{pybasever} %{buildroot}%{_libdir}/python%{pybasever}/site-packages" \
|
|
|
8db7d0 |
xargs -0 %{buildroot}%{_bindir}/python%{pybasever} -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("%{buildroot}")[2]) for f in sys.argv[1:]]' || :
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Make library-files user writable
|
|
|
8db7d0 |
/usr/bin/chmod 755 %{buildroot}%{dynload_dir}/*.so
|
|
|
8db7d0 |
/usr/bin/chmod 755 %{buildroot}%{_libdir}/libpython%{pybasever}.so.1.0
|
|
|
8db7d0 |
%if %{with debug_build}
|
|
|
8db7d0 |
/usr/bin/chmod 755 %{buildroot}%{_libdir}/libpython%{pybasever}_d.so.1.0
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Remove the /usr/bin/python executable so that the user can chose where it
|
|
|
8db7d0 |
# points to by installing streams of the @python module
|
|
|
8db7d0 |
rm %{buildroot}%{_bindir}/python
|
|
|
8db7d0 |
# The same with the symlink to man page
|
|
|
8db7d0 |
rm %{buildroot}%{_mandir}/man1/python.1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Remove unversioned executables in /usr/bin/ so that there is no "default"
|
|
|
8db7d0 |
# Python 2 or Python 3 version
|
|
|
8db7d0 |
rm %{buildroot}%{_bindir}/idle
|
|
|
8db7d0 |
rm %{buildroot}%{_bindir}/msgfmt.py
|
|
|
8db7d0 |
rm %{buildroot}%{_bindir}/pygettext.py
|
|
|
8db7d0 |
rm %{buildroot}%{_bindir}/pynche
|
|
|
8db7d0 |
rm %{buildroot}%{_bindir}/smtpd.py
|
|
|
8db7d0 |
rm %{buildroot}%{_bindir}/python-config
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# All ghost files controlled by alternatives need to exist for the files
|
|
|
8db7d0 |
# section check to succeed
|
|
|
8db7d0 |
# - Don't list /usr/bin/python as a ghost file so `yum install /usr/bin/python`
|
|
|
8db7d0 |
# doesn't install this package
|
|
|
8db7d0 |
touch %{buildroot}%{_bindir}/unversioned-python
|
|
|
8db7d0 |
touch %{buildroot}%{_mandir}/man1/python.1.gz
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
# Running the upstream test suite
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%check
|
|
|
8db7d0 |
topdir=$(pwd)
|
|
|
8db7d0 |
CheckPython() {
|
|
|
8db7d0 |
ConfName=$1
|
|
|
8db7d0 |
BinaryName=$2
|
|
|
8db7d0 |
ConfDir=$(pwd)/build/$ConfName
|
|
|
8db7d0 |
|
|
|
8db7d0 |
echo STARTING: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Note that we're running the tests using the version of the code in the
|
|
|
8db7d0 |
# builddir, not in the buildroot.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
pushd $ConfDir
|
|
|
8db7d0 |
|
|
|
8db7d0 |
EXTRATESTOPTS="--verbose"
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%ifarch s390 s390x %{power64} %{arm} aarch64 %{mips}
|
|
|
8db7d0 |
EXTRATESTOPTS="$EXTRATESTOPTS -x test_gdb"
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
%ifarch %{mips64}
|
|
|
8db7d0 |
EXTRATESTOPTS="$EXTRATESTOPTS -x test_ctypes"
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if 0%{?with_huntrleaks}
|
|
|
8db7d0 |
# Try to detect reference leaks on debug builds. By default this means
|
|
|
8db7d0 |
# running every test 10 times (6 to stabilize, then 4 to watch):
|
|
|
8db7d0 |
if [ "$ConfName" = "debug" ] ; then
|
|
|
8db7d0 |
EXTRATESTOPTS="$EXTRATESTOPTS --huntrleaks : "
|
|
|
8db7d0 |
fi
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Run the upstream test suite, setting "WITHIN_PYTHON_RPM_BUILD" so that the
|
|
|
8db7d0 |
# our non-standard decorators take effect on the relevant tests:
|
|
|
8db7d0 |
# @unittest._skipInRpmBuild(reason)
|
|
|
8db7d0 |
# @unittest._expectedFailureInRpmBuild
|
|
|
8db7d0 |
WITHIN_PYTHON_RPM_BUILD= EXTRATESTOPTS="$EXTRATESTOPTS -x test_ftplib test_poplib test_ssl \
|
|
|
8db7d0 |
-x test_httplib -x test_urllib2_localnet -x test_distutils" make test
|
|
|
8db7d0 |
|
|
|
8db7d0 |
popd
|
|
|
8db7d0 |
|
|
|
8db7d0 |
echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
|
|
|
8db7d0 |
|
|
|
8db7d0 |
}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{with tests}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# no locale coercion in python2
|
|
|
8db7d0 |
# test_ssl:test_load_dh_params shutil.copies into unicode filename
|
|
|
8db7d0 |
export LC_ALL=C.utf-8
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Check each of the configurations:
|
|
|
8db7d0 |
%if %{with debug_build}
|
|
|
8db7d0 |
CheckPython \
|
|
|
8db7d0 |
debug \
|
|
|
8db7d0 |
python%{pybasever}-debug
|
|
|
8db7d0 |
%endif # with debug_build
|
|
|
8db7d0 |
CheckPython \
|
|
|
8db7d0 |
optimized \
|
|
|
8db7d0 |
python%{pybasever}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%endif # with tests
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
# Cleaning up
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%post
|
|
|
8db7d0 |
# Alternative for /usr/bin/python -> /usr/bin/python2 + man page
|
|
|
8db7d0 |
alternatives --install %{_bindir}/unversioned-python \
|
|
|
8db7d0 |
python \
|
|
|
8db7d0 |
%{_bindir}/python2 \
|
|
|
8db7d0 |
200 \
|
|
|
8db7d0 |
--slave %{_bindir}/python \
|
|
|
8db7d0 |
unversioned-python \
|
|
|
8db7d0 |
%{_bindir}/python2 \
|
|
|
8db7d0 |
--slave %{_mandir}/man1/python.1.gz \
|
|
|
8db7d0 |
unversioned-python-man \
|
|
|
8db7d0 |
%{_mandir}/man1/python2.1.gz
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%postun
|
|
|
8db7d0 |
# Do this only during uninstall process (not during update)
|
|
|
8db7d0 |
if [ $1 -eq 0 ]; then
|
|
|
8db7d0 |
alternatives --remove python \
|
|
|
8db7d0 |
%{_bindir}/python2
|
|
|
8db7d0 |
fi
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%files
|
|
|
8db7d0 |
%defattr(-, root, root, -)
|
|
|
8db7d0 |
%{!?_licensedir:%global license %%doc}
|
|
|
8db7d0 |
%license LICENSE
|
|
|
8db7d0 |
%doc README
|
|
|
8db7d0 |
%{_bindir}/pydoc2*
|
|
|
8db7d0 |
%{_bindir}/%{python}
|
|
|
8db7d0 |
%{_bindir}/python%{pybasever}
|
|
|
8db7d0 |
%{_mandir}/man1/python2.1.gz
|
|
|
8db7d0 |
%{_mandir}/man1/python2.7.1.gz
|
|
|
8db7d0 |
%ghost %{_bindir}/unversioned-python
|
|
|
8db7d0 |
%ghost %{_mandir}/man1/python.1.gz
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%files libs
|
|
|
8db7d0 |
%defattr(-,root,root,-)
|
|
|
8db7d0 |
%{!?_licensedir:%global license %%doc}
|
|
|
8db7d0 |
%license LICENSE
|
|
|
8db7d0 |
%doc README
|
|
|
8db7d0 |
%dir %{pylibdir}
|
|
|
8db7d0 |
%dir %{dynload_dir}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%{dynload_dir}/_md5module.so
|
|
|
8db7d0 |
%{dynload_dir}/_sha256module.so
|
|
|
8db7d0 |
%{dynload_dir}/_sha512module.so
|
|
|
8db7d0 |
%{dynload_dir}/_shamodule.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%{dynload_dir}/Python-%{version}-py%{pybasever}.egg-info
|
|
|
8db7d0 |
%{dynload_dir}/_bisectmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/_bsddb.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_cn.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_hk.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_iso2022.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_jp.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_kr.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_tw.so
|
|
|
8db7d0 |
%{dynload_dir}/_collectionsmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/_csv.so
|
|
|
8db7d0 |
%{dynload_dir}/_ctypes.so
|
|
|
8db7d0 |
%{dynload_dir}/_curses.so
|
|
|
8db7d0 |
%{dynload_dir}/_curses_panel.so
|
|
|
8db7d0 |
%{dynload_dir}/_elementtree.so
|
|
|
8db7d0 |
%{dynload_dir}/_functoolsmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/_hashlib.so
|
|
|
8db7d0 |
%{dynload_dir}/_heapq.so
|
|
|
8db7d0 |
%{dynload_dir}/_hotshot.so
|
|
|
8db7d0 |
%{dynload_dir}/_io.so
|
|
|
8db7d0 |
%{dynload_dir}/_json.so
|
|
|
8db7d0 |
%{dynload_dir}/_localemodule.so
|
|
|
8db7d0 |
%{dynload_dir}/_lsprof.so
|
|
|
8db7d0 |
%{dynload_dir}/_multibytecodecmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/_multiprocessing.so
|
|
|
8db7d0 |
%{dynload_dir}/_randommodule.so
|
|
|
8db7d0 |
%{dynload_dir}/_socketmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/_sqlite3.so
|
|
|
8db7d0 |
%{dynload_dir}/_ssl.so
|
|
|
8db7d0 |
%{dynload_dir}/_struct.so
|
|
|
8db7d0 |
%{dynload_dir}/arraymodule.so
|
|
|
8db7d0 |
%{dynload_dir}/audioop.so
|
|
|
8db7d0 |
%{dynload_dir}/binascii.so
|
|
|
8db7d0 |
%{dynload_dir}/bz2.so
|
|
|
8db7d0 |
%{dynload_dir}/cPickle.so
|
|
|
8db7d0 |
%{dynload_dir}/cStringIO.so
|
|
|
8db7d0 |
%{dynload_dir}/cmathmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/_cryptmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/datetime.so
|
|
|
8db7d0 |
%{dynload_dir}/dbm.so
|
|
|
8db7d0 |
%{dynload_dir}/dlmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/fcntlmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/future_builtins.so
|
|
|
8db7d0 |
%if %{with_gdbm}
|
|
|
8db7d0 |
%{dynload_dir}/gdbmmodule.so
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
%{dynload_dir}/grpmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/imageop.so
|
|
|
8db7d0 |
%{dynload_dir}/itertoolsmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/linuxaudiodev.so
|
|
|
8db7d0 |
%{dynload_dir}/math.so
|
|
|
8db7d0 |
%{dynload_dir}/mmapmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/nismodule.so
|
|
|
8db7d0 |
%{dynload_dir}/operator.so
|
|
|
8db7d0 |
%{dynload_dir}/ossaudiodev.so
|
|
|
8db7d0 |
%{dynload_dir}/parsermodule.so
|
|
|
8db7d0 |
%{dynload_dir}/pyexpat.so
|
|
|
8db7d0 |
%{dynload_dir}/readline.so
|
|
|
8db7d0 |
%{dynload_dir}/resource.so
|
|
|
8db7d0 |
%{dynload_dir}/selectmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/spwdmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/stropmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/syslog.so
|
|
|
8db7d0 |
%{dynload_dir}/termios.so
|
|
|
8db7d0 |
%{dynload_dir}/timemodule.so
|
|
|
8db7d0 |
%{dynload_dir}/timingmodule.so
|
|
|
8db7d0 |
%{dynload_dir}/unicodedata.so
|
|
|
8db7d0 |
%{dynload_dir}/xxsubtype.so
|
|
|
8db7d0 |
%{dynload_dir}/zlibmodule.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%dir %{site_packages}
|
|
|
8db7d0 |
%{site_packages}/README
|
|
|
8db7d0 |
%{pylibdir}/*.py*
|
|
|
8db7d0 |
%{pylibdir}/*.doc
|
|
|
8db7d0 |
%{pylibdir}/wsgiref.egg-info
|
|
|
8db7d0 |
%dir %{pylibdir}/bsddb
|
|
|
8db7d0 |
%{pylibdir}/bsddb/*.py*
|
|
|
8db7d0 |
%{pylibdir}/compiler
|
|
|
8db7d0 |
%dir %{pylibdir}/ctypes
|
|
|
8db7d0 |
%{pylibdir}/ctypes/*.py*
|
|
|
8db7d0 |
%{pylibdir}/ctypes/macholib
|
|
|
8db7d0 |
%{pylibdir}/curses
|
|
|
8db7d0 |
%dir %{pylibdir}/distutils
|
|
|
8db7d0 |
%{pylibdir}/distutils/*.py*
|
|
|
8db7d0 |
%{pylibdir}/distutils/README
|
|
|
8db7d0 |
%{pylibdir}/distutils/command
|
|
|
8db7d0 |
%dir %{pylibdir}/email
|
|
|
8db7d0 |
%{pylibdir}/email/*.py*
|
|
|
8db7d0 |
%{pylibdir}/email/mime
|
|
|
8db7d0 |
%{pylibdir}/encodings
|
|
|
8db7d0 |
%{pylibdir}/hotshot
|
|
|
8db7d0 |
%{pylibdir}/idlelib
|
|
|
8db7d0 |
%{pylibdir}/importlib
|
|
|
8db7d0 |
%dir %{pylibdir}/json
|
|
|
8db7d0 |
%{pylibdir}/json/*.py*
|
|
|
8db7d0 |
%{pylibdir}/lib2to3
|
|
|
8db7d0 |
%exclude %{pylibdir}/lib2to3/tests
|
|
|
8db7d0 |
%{pylibdir}/logging
|
|
|
8db7d0 |
%{pylibdir}/multiprocessing
|
|
|
8db7d0 |
%{pylibdir}/plat-linux2
|
|
|
8db7d0 |
%{pylibdir}/pydoc_data
|
|
|
8db7d0 |
%dir %{pylibdir}/sqlite3
|
|
|
8db7d0 |
%{pylibdir}/sqlite3/*.py*
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Some bits of test are used for actual testing of stuff, not just python itself:
|
|
|
8db7d0 |
# See also https://bugzilla.redhat.com/show_bug.cgi?id=1528899
|
|
|
8db7d0 |
%dir %{pylibdir}/test
|
|
|
8db7d0 |
%{pylibdir}/test/__init__.py*
|
|
|
8db7d0 |
%{pylibdir}/test/support/
|
|
|
8db7d0 |
%{pylibdir}/test/script_helper.py*
|
|
|
8db7d0 |
%{pylibdir}/test/test_support.py*
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%{pylibdir}/unittest
|
|
|
8db7d0 |
%{pylibdir}/wsgiref
|
|
|
8db7d0 |
%{pylibdir}/xml
|
|
|
8db7d0 |
%if "%{_lib}" == "lib64"
|
|
|
8db7d0 |
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}
|
|
|
8db7d0 |
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# "Makefile" and the config-32/64.h file are needed by
|
|
|
8db7d0 |
# distutils/sysconfig.py:_init_posix(), so we include them in the libs
|
|
|
8db7d0 |
# package, along with their parent directories (bug 531901):
|
|
|
8db7d0 |
%dir %{pylibdir}/config
|
|
|
8db7d0 |
%{pylibdir}/config/Makefile
|
|
|
8db7d0 |
%dir %{_includedir}/python%{pybasever}
|
|
|
8db7d0 |
%{_includedir}/python%{pybasever}/%{_pyconfig_h}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%{_libdir}/%{py_INSTSONAME_optimized}
|
|
|
8db7d0 |
%if 0%{?with_systemtap}
|
|
|
8db7d0 |
%dir %(dirname %{tapsetdir})
|
|
|
8db7d0 |
%dir %{tapsetdir}
|
|
|
8db7d0 |
%{tapsetdir}/%{libpython_stp_optimized}
|
|
|
8db7d0 |
%doc systemtap-example.stp pyfuntop.stp
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%dir %{pylibdir}/ensurepip/
|
|
|
8db7d0 |
%{pylibdir}/ensurepip/*.py*
|
|
|
8db7d0 |
%exclude %{pylibdir}/ensurepip/_bundled
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{with rewheel}
|
|
|
8db7d0 |
%dir %{pylibdir}/ensurepip/rewheel/
|
|
|
8db7d0 |
%{pylibdir}/ensurepip/rewheel/*.py*
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%files devel
|
|
|
8db7d0 |
%defattr(-,root,root,-)
|
|
|
8db7d0 |
%{_libdir}/pkgconfig/python-%{pybasever}.pc
|
|
|
8db7d0 |
%{_libdir}/pkgconfig/python.pc
|
|
|
8db7d0 |
%{_libdir}/pkgconfig/python2.pc
|
|
|
8db7d0 |
%{pylibdir}/config/*
|
|
|
8db7d0 |
%exclude %{pylibdir}/config/Makefile
|
|
|
8db7d0 |
%{_includedir}/python%{pybasever}/*.h
|
|
|
8db7d0 |
%exclude %{_includedir}/python%{pybasever}/%{_pyconfig_h}
|
|
|
8db7d0 |
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
|
|
|
8db7d0 |
%{_bindir}/python2-config
|
|
|
8db7d0 |
%{_bindir}/python%{pybasever}-config
|
|
|
8db7d0 |
%{_libdir}/libpython%{pybasever}.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%files tools
|
|
|
8db7d0 |
%defattr(-,root,root,755)
|
|
|
8db7d0 |
%doc Tools/pynche/README.pynche
|
|
|
8db7d0 |
%{site_packages}/pynche
|
|
|
8db7d0 |
%{_bindir}/smtpd2*.py*
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1111275
|
|
|
8db7d0 |
%exclude %{_bindir}/2to3*
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%{_bindir}/idle2*
|
|
|
8db7d0 |
%{_bindir}/pynche2*
|
|
|
8db7d0 |
%{_bindir}/pygettext2*.py*
|
|
|
8db7d0 |
%{_bindir}/msgfmt2*.py*
|
|
|
8db7d0 |
%{tools_dir}
|
|
|
8db7d0 |
%{demo_dir}
|
|
|
8db7d0 |
%{pylibdir}/Doc
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%files tkinter
|
|
|
8db7d0 |
%defattr(-,root,root,755)
|
|
|
8db7d0 |
%{pylibdir}/lib-tk
|
|
|
8db7d0 |
%{dynload_dir}/_tkinter.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%files test
|
|
|
8db7d0 |
%defattr(-, root, root, -)
|
|
|
8db7d0 |
%{pylibdir}/bsddb/test
|
|
|
8db7d0 |
%{pylibdir}/ctypes/test
|
|
|
8db7d0 |
%{pylibdir}/distutils/tests
|
|
|
8db7d0 |
%{pylibdir}/email/test
|
|
|
8db7d0 |
%{pylibdir}/json/tests
|
|
|
8db7d0 |
%{pylibdir}/lib2to3/tests
|
|
|
8db7d0 |
%{pylibdir}/sqlite3/test
|
|
|
8db7d0 |
%{pylibdir}/test/*
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Some bits of test are used for actual testing of stuff, not just python itself:
|
|
|
8db7d0 |
# See also https://bugzilla.redhat.com/show_bug.cgi?id=1528899
|
|
|
8db7d0 |
%exclude %{pylibdir}/test/__init__.py*
|
|
|
8db7d0 |
%exclude %{pylibdir}/test/support/
|
|
|
8db7d0 |
%exclude %{pylibdir}/test/script_helper.py*
|
|
|
8db7d0 |
%exclude %{pylibdir}/test/test_support.py*
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%{dynload_dir}/_ctypes_test.so
|
|
|
8db7d0 |
%{dynload_dir}/_testcapimodule.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# We don't bother splitting the debug build out into further subpackages:
|
|
|
8db7d0 |
# if you need it, you're probably a developer.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Hence the manifest is the combination of analogous files in the manifests of
|
|
|
8db7d0 |
# all of the other subpackages
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%if %{with debug_build}
|
|
|
8db7d0 |
%files debug
|
|
|
8db7d0 |
%defattr(-,root,root,-)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Analog of the core subpackage's files:
|
|
|
8db7d0 |
%{_bindir}/python-debug
|
|
|
8db7d0 |
%{_bindir}/%{python}-debug
|
|
|
8db7d0 |
%{_bindir}/python%{pybasever}-debug
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Analog of the -libs subpackage's files, with debug builds of the built-in
|
|
|
8db7d0 |
# "extension" modules:
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%{dynload_dir}/_md5module_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_sha256module_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_sha512module_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_shamodule_d.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%{dynload_dir}/_bisectmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_bsddb_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_cn_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_hk_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_iso2022_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_jp_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_kr_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_codecs_tw_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_collectionsmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_csv_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_ctypes_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_curses_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_curses_panel_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_elementtree_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_functoolsmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_hashlib_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_heapq_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_hotshot_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_io_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_json_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_localemodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_lsprof_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_multibytecodecmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_multiprocessing_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_randommodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_socketmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_sqlite3_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_ssl_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_struct_d.so
|
|
|
8db7d0 |
%{dynload_dir}/arraymodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/audioop_d.so
|
|
|
8db7d0 |
%{dynload_dir}/binascii_d.so
|
|
|
8db7d0 |
%{dynload_dir}/bz2_d.so
|
|
|
8db7d0 |
%{dynload_dir}/cPickle_d.so
|
|
|
8db7d0 |
%{dynload_dir}/cStringIO_d.so
|
|
|
8db7d0 |
%{dynload_dir}/cmathmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_cryptmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/datetime_d.so
|
|
|
8db7d0 |
%{dynload_dir}/dbm_d.so
|
|
|
8db7d0 |
%{dynload_dir}/dlmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/fcntlmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/future_builtins_d.so
|
|
|
8db7d0 |
%if %{with_gdbm}
|
|
|
8db7d0 |
%{dynload_dir}/gdbmmodule_d.so
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
%{dynload_dir}/grpmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/imageop_d.so
|
|
|
8db7d0 |
%{dynload_dir}/itertoolsmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/linuxaudiodev_d.so
|
|
|
8db7d0 |
%{dynload_dir}/math_d.so
|
|
|
8db7d0 |
%{dynload_dir}/mmapmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/nismodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/operator_d.so
|
|
|
8db7d0 |
%{dynload_dir}/ossaudiodev_d.so
|
|
|
8db7d0 |
%{dynload_dir}/parsermodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/pyexpat_d.so
|
|
|
8db7d0 |
%{dynload_dir}/readline_d.so
|
|
|
8db7d0 |
%{dynload_dir}/resource_d.so
|
|
|
8db7d0 |
%{dynload_dir}/selectmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/spwdmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/stropmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/syslog_d.so
|
|
|
8db7d0 |
%{dynload_dir}/termios_d.so
|
|
|
8db7d0 |
%{dynload_dir}/timemodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/timingmodule_d.so
|
|
|
8db7d0 |
%{dynload_dir}/unicodedata_d.so
|
|
|
8db7d0 |
%{dynload_dir}/xxsubtype_d.so
|
|
|
8db7d0 |
%{dynload_dir}/zlibmodule_d.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# No need to split things out the "Makefile" and the config-32/64.h file as we
|
|
|
8db7d0 |
# do for the regular build above (bug 531901), since they're all in one package
|
|
|
8db7d0 |
# now; they're listed below, under "-devel":
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%{_libdir}/%{py_INSTSONAME_debug}
|
|
|
8db7d0 |
%if 0%{?with_systemtap}
|
|
|
8db7d0 |
%dir %(dirname %{tapsetdir})
|
|
|
8db7d0 |
%dir %{tapsetdir}
|
|
|
8db7d0 |
%{tapsetdir}/%{libpython_stp_debug}
|
|
|
8db7d0 |
%endif
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Analog of the -devel subpackage's files:
|
|
|
8db7d0 |
%dir %{pylibdir}/config-debug
|
|
|
8db7d0 |
%{_libdir}/pkgconfig/python-%{pybasever}-debug.pc
|
|
|
8db7d0 |
%{_libdir}/pkgconfig/python-debug.pc
|
|
|
8db7d0 |
%{_libdir}/pkgconfig/python2-debug.pc
|
|
|
8db7d0 |
%{pylibdir}/config-debug/*
|
|
|
8db7d0 |
%{_includedir}/python%{pybasever}-debug/*.h
|
|
|
8db7d0 |
%{_bindir}/python-debug-config
|
|
|
8db7d0 |
%{_bindir}/python2-debug-config
|
|
|
8db7d0 |
%{_bindir}/python%{pybasever}-debug-config
|
|
|
8db7d0 |
%{_libdir}/libpython%{pybasever}_d.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Analog of the -tools subpackage's files:
|
|
|
8db7d0 |
# None for now; we could build precanned versions that have the appropriate
|
|
|
8db7d0 |
# shebang if needed
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Analog of the tkinter subpackage's files:
|
|
|
8db7d0 |
%{dynload_dir}/_tkinter_d.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Analog of the -test subpackage's files:
|
|
|
8db7d0 |
%{dynload_dir}/_ctypes_test_d.so
|
|
|
8db7d0 |
%{dynload_dir}/_testcapimodule_d.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%endif # with debug_build
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# We put the debug-gdb.py file inside /usr/lib/debug to avoid noise from
|
|
|
8db7d0 |
# ldconfig (rhbz:562980).
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# The /usr/lib/rpm/redhat/macros defines the __debug_package macro to use
|
|
|
8db7d0 |
# debugfiles.list, and it appears that everything below /usr/lib/debug and
|
|
|
8db7d0 |
# (/usr/src/debug) gets added to this file (via LISTFILES) in
|
|
|
8db7d0 |
# /usr/lib/rpm/find-debuginfo.sh
|
|
|
8db7d0 |
#
|
|
|
8db7d0 |
# Hence by installing it below /usr/lib/debug we ensure it is added to the
|
|
|
8db7d0 |
# -debuginfo subpackage
|
|
|
8db7d0 |
# (if it doesn't, then the rpmbuild ought to fail since the debug-gdb.py
|
|
|
8db7d0 |
# payload file would be unpackaged)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# Workaround for rhbz#1476593
|
|
|
8db7d0 |
%undefine _debuginfo_subpackages
|
|
|
8db7d0 |
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
# Finally, the changelog:
|
|
|
8db7d0 |
# ======================================================
|
|
|
8db7d0 |
|
|
|
8db7d0 |
%changelog
|
|
|
8db7d0 |
* Wed Dec 12 2018 Tomas Orsava <torsava@redhat.com> - 2.7.15-21
|
|
|
8db7d0 |
- Fix Tkinter
|
|
|
8db7d0 |
- Undo changes commited by the modularity team, as they are no longer needed
|
|
|
8db7d0 |
and harm functionality
|
|
|
8db7d0 |
- Remove wininst exe files, that are no longer included, from the files section
|
|
|
8db7d0 |
- Resolves: rhbz#1656488
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Dec 12 2018 Tomas Orsava <torsava@redhat.com> - 2.7.15-20
|
|
|
8db7d0 |
- Fix launcher of pynche
|
|
|
8db7d0 |
- Resolves: rhbz#1656479
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Dec 11 2018 Tomas Orsava <torsava@redhat.com> - 2.7.15-19
|
|
|
8db7d0 |
- Remove remaining unversioned executables (idle, msgfmt.py, pygettext.py,
|
|
|
8db7d0 |
pynche, smtpd.py, python-config)
|
|
|
8db7d0 |
Resolves: rhbz#1656511
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Nov 28 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.15-18
|
|
|
8db7d0 |
- Workaround Python's threading library issue with non returning wait, for signals with timeout
|
|
|
8db7d0 |
Resolves: rhbz#1653754
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Nov 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.15-17
|
|
|
8db7d0 |
- Add choices for sort option of cProfile for better output
|
|
|
8db7d0 |
Resolves: rhbz#1649473
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Nov 07 2018 Lumír Balhar <lbalhar@redhat.com> - 2.7.15-16
|
|
|
8db7d0 |
- Bring audiotest.au back to package. It's not copyrighted anymore.
|
|
|
8db7d0 |
- Resolves: rhbz#1647692
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Oct 16 2018 Tomas Orsava <torsava@redhat.com> - 2.7.15-15
|
|
|
8db7d0 |
- Slightly edit the description
|
|
|
8db7d0 |
- Related: rhbz#1633537
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Oct 14 2018 Tomas Orsava <torsava@redhat.com> - 2.7.15-14
|
|
|
8db7d0 |
- Add Requires (/post/postun) on /usr/sbin/alternatives
|
|
|
8db7d0 |
- Resolves: rhbz#1633537
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Oct 12 2018 Tomas Orsava <torsava@redhat.com> - 2.7.15-13
|
|
|
8db7d0 |
- Don't list /usr/bin/python as a ghost file so `yum install /usr/bin/python`
|
|
|
8db7d0 |
doesn't install this package
|
|
|
8db7d0 |
- Resolves: rhbz#1633537
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Oct 12 2018 Petr Viktorin <pviktori@redhat.com> - 2.7.15-12
|
|
|
8db7d0 |
- Remove Windows binaries from the source archive
|
|
|
8db7d0 |
- Resolves: rhbz#1633220
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Oct 12 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.15-11
|
|
|
8db7d0 |
- Fix test_dbm_gnu for gdbm 1.15 which fails on ppc64le
|
|
|
8db7d0 |
Resolves: rhbz#1638716
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Oct 11 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-10
|
|
|
8db7d0 |
- Security fix for CVE-2018-14647
|
|
|
8db7d0 |
Resolves: rhbz#1632095
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Oct 08 2018 Tomas Orsava <torsava@redhat.com> - 2.7.15-9
|
|
|
8db7d0 |
- Set a special Provides tag that advertises the `python2` package as an
|
|
|
8db7d0 |
alternative to the non-existing `python` package
|
|
|
8db7d0 |
- Resolves: rhbz#1633559
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Oct 04 2018 Lumír Balhar <lbalhar@redhat.com> - 2.7.15-8
|
|
|
8db7d0 |
- Remove unversioned provides
|
|
|
8db7d0 |
- Resolves: rhbz#1628242
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Oct 02 2018 Tomas Orsava <torsava@redhat.com> - 2.7.15-7
|
|
|
8db7d0 |
- Implement the alternatives system for Python in RHEL8
|
|
|
8db7d0 |
- Resolves: rhbz#1633537
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Aug 09 2018 Lumír Balhar <lbalhar@redhat.com> - 2.7.15-6
|
|
|
8db7d0 |
- Remove unversioned symlink to manual page and to pydoc binary.
|
|
|
8db7d0 |
They are both available in streams of `python` module.
|
|
|
8db7d0 |
- Resolves: rhbz#1613343
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Aug 02 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.15-5
|
|
|
8db7d0 |
- Disable optimizations
|
|
|
8db7d0 |
- Disable ssl related tests for now
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Aug 01 2018 Lumír Balhar <lbalhar@redhat.com> - 2.7.15-4
|
|
|
8db7d0 |
- Hotfix issue with byte compilation macro - rhbz#1597664
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu May 24 2018 Tomas Orsava <torsava@redhat.com> - 2.7.15-3
|
|
|
8db7d0 |
- Remove the /usr/bin/python executable so that the user can chose where it
|
|
|
8db7d0 |
points to by installing various streams of the `python` module
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 15 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.15-2
|
|
|
8db7d0 |
- Fix loading of the gdb python plugin (rhbz#1578001)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 01 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-1
|
|
|
8db7d0 |
- Update to version 2.7.15
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 25 2018 Tomas Orsava <torsava@redhat.com> - 2.7.14-17
|
|
|
8db7d0 |
- Change shebangs to the proper versioned binary
|
|
|
8db7d0 |
- Bytecompile files manually, disbale brp-python-bytecompile
|
|
|
8db7d0 |
Resolves: rhbz#1572171
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Apr 13 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-16
|
|
|
8db7d0 |
- Remove Obsoletes tag from when python was renamed to python2 (Fedora 25 was last)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Mar 14 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-15
|
|
|
8db7d0 |
- Fix broken SSL module
|
|
|
8db7d0 |
Resolves: rhbz#1555081
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.14-14
|
|
|
8db7d0 |
- Do not send IP addresses in SNI TLS extension
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 26 2018 Petr Viktorin <pviktori@redhat.com> - 2.7.14-13
|
|
|
8db7d0 |
- Fix -Wint-in-bool-context warnings
|
|
|
8db7d0 |
Resolves: rhbz#1473425
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 2.7.14-12
|
|
|
8db7d0 |
- Rebuild with new LDFLAGS from redhat-rpm-config
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-11
|
|
|
8db7d0 |
- Move test.support and test.script_helper to python2-libs
|
|
|
8db7d0 |
Resolves: rhbz#1528899
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.14-10
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 2.7.14-9
|
|
|
8db7d0 |
- Add patch 288: warn/fail if Python 2 is called as /usr/bin/python and
|
|
|
8db7d0 |
PYTHON_DISALLOW_AMBIGUOUS_VERSION is set
|
|
|
8db7d0 |
- Add patch 289: Fix for over-aligned GC info
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 2.7.14-8
|
|
|
8db7d0 |
- Rebuilt for switch to libxcrypt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 17 2018 Petr Viktorin <pviktori@redhat.com> - 2.7.14-7
|
|
|
8db7d0 |
- Build the nis module with tirpc
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 16 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-6
|
|
|
8db7d0 |
- Rebuild for reverted gdbm 1.13 on Fedora 27
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jan 11 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.14-5
|
|
|
8db7d0 |
- Rebuild for gdbm 1.14
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Dec 11 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.14-4
|
|
|
8db7d0 |
- Fix hanging of all threads when trying to access an inaccessible NFS server.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Nov 09 2017 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-3
|
|
|
8db7d0 |
- Make the -devel package require redhat-rpm-config
|
|
|
8db7d0 |
Resolves: rhbz#1496757
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Nov 02 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.14-2
|
|
|
8db7d0 |
- Add a new PYTHONSHOWREFCOUNT environment variable for printing the reference
|
|
|
8db7d0 |
count in debug builds.
|
|
|
8db7d0 |
- Fix nondeterministic read in test_pty.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Oct 09 2017 Iryna Shcherbina <ishcherb@redhat.com> - 2.7.14-1
|
|
|
8db7d0 |
- Update to version 2.7.14
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Aug 31 2017 Tomas Orsava <torsava@redhat.com> - 2.7.13-18
|
|
|
8db7d0 |
- Switch some macros into bconds to facilitate modularity
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Aug 16 2017 Miro Hrončok <mhroncok@redhat.com> - 2.7.13-17
|
|
|
8db7d0 |
- Exclude /usr/bin/2to3 (rhbz#1111275)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Aug 14 2017 David "Sanqui" Labský <dlabsky@redhat.com> - 2.7.13-16
|
|
|
8db7d0 |
- Do not generate debuginfo subpackages (#1476593)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Aug 09 2017 Michal Cyprian <mcyprian@redhat.com> - 2.7.13-15
|
|
|
8db7d0 |
- Revert "Add --executable option to install.py command"
|
|
|
8db7d0 |
This enhancement is currently not needed and it can possibly
|
|
|
8db7d0 |
collide with `pip --editable`option
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.13-14
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.13-13
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 26 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-11
|
|
|
8db7d0 |
- Fix test_alpn_protocols from test_ssl
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed May 31 2017 Miro Hrončok <mhroncok@redhat.com> - 2.7.13-11
|
|
|
8db7d0 |
- Change fixed Obsoletes version with a dynamic one (rhbz#1457336)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu May 18 2017 Karsten Hopp <karsten@redhat.com> - 2.7.13-10
|
|
|
8db7d0 |
- revert logic for modularity patch and enable gdbm for modularity
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 16 2017 Tomas Orsava <torsava@redhat.com> - 2.7.13-9
|
|
|
8db7d0 |
- Added a dependency to the devel subpackage on python3-rpm-generators which
|
|
|
8db7d0 |
have been excised out of rpm-build
|
|
|
8db7d0 |
- There is no Python 2 package containing Python RPM generators, therefore
|
|
|
8db7d0 |
Python 3 is needed when Python 2 package is to be built, but this was
|
|
|
8db7d0 |
decided not to be a problem due to nearing EOL of Python 2
|
|
|
8db7d0 |
- Involves: rhbz#1410631, rhbz#1444925
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed May 10 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-8
|
|
|
8db7d0 |
- Enable profile guided optimizations for x86_64 and i686 architectures
|
|
|
8db7d0 |
- Update description to reflect that Python 2 is not the default Python
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Apr 25 2017 Karsten Hopp <karsten@redhat.com> - 2.7.13-7
|
|
|
8db7d0 |
- apply modularity patch only during module builds
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Apr 23 2017 Karsten Hopp <karsten@redhat.com> - 2.7.13-6
|
|
|
8db7d0 |
- add missing patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Apr 21 2017 Karsten Hopp <karsten@redhat.com> - 2.7.13-5
|
|
|
8db7d0 |
- drop a couple of dependencies for Modularity builds
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 21 2017 Michal Cyprian <mcyprian@redhat.com> - 2.7.13-5
|
|
|
8db7d0 |
- Add --executable option to install.py command
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 17 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-4
|
|
|
8db7d0 |
- Fix the upgrade path to F26 due to renaming the package to python2 (rhbz#1420332)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.13-3
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.7.13-2
|
|
|
8db7d0 |
- Rebuild for readline 7.x
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 11 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-1
|
|
|
8db7d0 |
- Update to 2.7.13
|
|
|
8db7d0 |
- Don't blow up on EL7 kernel (random generator) (rhbz#1410175, rhbz#1410187)
|
|
|
8db7d0 |
- Require glibc >= 2.24.90-26 (rhbz#1410644)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Oct 27 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-9
|
|
|
8db7d0 |
- Rename package to python2 and also rename the subpackages accordingly
|
|
|
8db7d0 |
- Provide and obsolete python and the respective subpackages to ensure a clean
|
|
|
8db7d0 |
upgrade path
|
|
|
8db7d0 |
- Remove old provides for packages that got into stdlib
|
|
|
8db7d0 |
- Implement PEP 394
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Oct 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-8
|
|
|
8db7d0 |
- Port ssl and hashlib modules to OpenSSL 1.1.0
|
|
|
8db7d0 |
- Drop hashlib patch for now
|
|
|
8db7d0 |
- Add riscv64 arch to 64bit and no-valgrind arches
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 29 2016 Miro Hrončok <mhroncok@redhat.com> - 2.7.12-7
|
|
|
8db7d0 |
- Provide python27
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Sep 02 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-6
|
|
|
8db7d0 |
- Remove unversioned Obsoletes
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 01 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-5
|
|
|
8db7d0 |
- Rebase rewheel patch so it applies properly (rhbz#1372183)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-4
|
|
|
8db7d0 |
- SPEC file cleanup
|
|
|
8db7d0 |
- Removal of unapplied patches
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-3
|
|
|
8db7d0 |
- Fix for CVE-2016-1000110 HTTPoxy attack
|
|
|
8db7d0 |
- SPEC file cleanup
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Aug 01 2016 Michal Toman <mtoman@fedoraproject.org> - 2.7.12-2
|
|
|
8db7d0 |
- Build properly on MIPS
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 15 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-1
|
|
|
8db7d0 |
- Update to 2.7.12
|
|
|
8db7d0 |
- Refactored patches: 10, 102, 112, 134, 153
|
|
|
8db7d0 |
- Dropped patches: 166, 209, 210
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.11-8
|
|
|
8db7d0 |
- Refactor patch for properly fixing CVE-2016-5636
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.11-7
|
|
|
8db7d0 |
- Fix test_pyexpat failure with Expat version of 2.2.0
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jun 16 2016 Tomas Orsava <torsava@redhat.com> - 2.7.11-6
|
|
|
8db7d0 |
- Fix for: CVE-2016-0772 python: smtplib StartTLS stripping attack
|
|
|
8db7d0 |
- Raise an error when STARTTLS fails
|
|
|
8db7d0 |
- rhbz#1303647: https://bugzilla.redhat.com/show_bug.cgi?id=1303647
|
|
|
8db7d0 |
- rhbz#1346344: https://bugzilla.redhat.com/show_bug.cgi?id=1346344
|
|
|
8db7d0 |
- Fixed upstream: https://hg.python.org/cpython/rev/b3ce713fb9be
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.11-5
|
|
|
8db7d0 |
- Added patch for fixing possible integer overflow and heap corruption in zipimporter.get_data()
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.11-4
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 13 2016 Orion Poplawski <orion@cora.nwra.com> - 2.7.11-3
|
|
|
8db7d0 |
- Drop macros, require python/python2-rpm-macros
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Dec 30 2015 Orion Poplawski <orion@cora.nwra.com> - 2.7.11-2
|
|
|
8db7d0 |
- Get ready for separate python-macros package
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Dec 15 2015 Robert Kuska <rkuska@redhat.com> - 2.7.11-1
|
|
|
8db7d0 |
- Update to 2.7.11
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Oct 15 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-11
|
|
|
8db7d0 |
- provide/obsolete _isa packages in python_provide (#1271776)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Sep 23 2015 Robert Kuska <rkuska@redhat.com> - 2.7.10-10
|
|
|
8db7d0 |
- Revert the moving modules to python-tools because distutils uses lib2to3
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Sep 22 2015 Robert Kuska <rkuska@redhat.com> - 2.7.10-9
|
|
|
8db7d0 |
- Move idlelib and lib2to3 modules to pythont-tools
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 3 2015 Orion Poplawski <orion@cora.nwra.com> - 2.7.10-8
|
|
|
8db7d0 |
- Fix quoting in %%python_provide macro
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 3 2015 Orion Poplawski <orion@cora.nwra.com> - 2.7.10-7
|
|
|
8db7d0 |
- Add obsoletes to %%python_provide macro to fix upgrade path
|
|
|
8db7d0 |
- Fix python2- provides for python- packages in %%python_provide
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 23 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-6
|
|
|
8db7d0 |
- python-macros: remove R on python (#1246036)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jul 22 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-5
|
|
|
8db7d0 |
- Include epoch in the python_provide macro fpc#534 (Slavek Kabrda)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 29 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-4
|
|
|
8db7d0 |
- correct python_provide macro to include version only when emiting provides
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jun 25 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-3
|
|
|
8db7d0 |
- Add unversioned python-macros from fpc#281 and fpc#534
|
|
|
8db7d0 |
and require it from python-devel
|
|
|
8db7d0 |
- Make python-macros noarch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jun 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.7.10-2
|
|
|
8db7d0 |
- Make relocating Python by changing _prefix actually work
|
|
|
8db7d0 |
Resolves: rhbz#1231801
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon May 25 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.7.10-1
|
|
|
8db7d0 |
- Update to 2.7.10
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 5 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.7.9-11
|
|
|
8db7d0 |
- Disable test_gdb on aarch64 (rhbz#1196181), it joins all other non x86 arches
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 15 2015 Robert Kuska <rkuska@redhat.com> - 2.7.9-10
|
|
|
8db7d0 |
- Remove provides/obsolates for unittest2
|
|
|
8db7d0 |
- Skip test_gdb on arm until rhbz#1196181 is resolved
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Mar 05 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.7.9-9
|
|
|
8db7d0 |
- Add proper rewheel Requires
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.7.9-8
|
|
|
8db7d0 |
- Rebuilt for Fedora 23 Change
|
|
|
8db7d0 |
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.7.9-7
|
|
|
8db7d0 |
- Rebuilt for Fedora 23 Change
|
|
|
8db7d0 |
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 17 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.7.9-6
|
|
|
8db7d0 |
- Own systemtap dirs (#710733)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 06 2015 Karsten Hopp <karsten@redhat.com> 2.7.9-5
|
|
|
8db7d0 |
- disable test_gdb on ppc64* until rhbz#1132488 is really resolved
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 20 2015 Slavek Kabrda <bkabrda@redhat.com> - 2.7.9-4
|
|
|
8db7d0 |
- We need to provide both arch specific and noarch Provide for python2-devel
|
|
|
8db7d0 |
in order not to break noarch builds.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 20 2015 Slavek Kabrda <bkabrda@redhat.com> - 2.7.9-3
|
|
|
8db7d0 |
- Make python2-devel provide arch specific.
|
|
|
8db7d0 |
Resolves: rhbz#1183530
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jan 12 2015 Dan Horák <dan[at]danny.cz> - 2.7.9-2
|
|
|
8db7d0 |
- build with valgrind on ppc64le
|
|
|
8db7d0 |
- disable test_gdb on s390(x) until rhbz#1181034 is resolved
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Dec 11 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.9-1
|
|
|
8db7d0 |
- Update to 2.7.9
|
|
|
8db7d0 |
- Refreshed patches: #55, #137, #146, #153, #156, #198
|
|
|
8db7d0 |
- Dropped patches: #196, #197
|
|
|
8db7d0 |
- New patch: #199
|
|
|
8db7d0 |
- Added the rewheel module
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Nov 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.8-10
|
|
|
8db7d0 |
- Improve python2_version macros
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Nov 13 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.8-9
|
|
|
8db7d0 |
- Add python2_version_nodots macro
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Nov 10 2014 Slavek Kabrda <bkabrda@redhat.com> - 2.7.8-8
|
|
|
8db7d0 |
- Revert previous change, see rhbz#1161166#c6.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Nov 07 2014 Slavek Kabrda <bkabrda@redhat.com> - 2.7.8-7
|
|
|
8db7d0 |
- Provide importable unittest2
|
|
|
8db7d0 |
Resolves: rhbz#1161166
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Aug 21 2014 Robert Kuska <rkuska@redhat.com> - 2.7.8-6
|
|
|
8db7d0 |
- Update patch 196 (ssl backport)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 19 2014 Robert Kuska <rkuska@redhat.com> - 2.7.8-5
|
|
|
8db7d0 |
- Backport ssl module from python3
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.8-4
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 31 2014 Tom Callaway <spot@fedoraproject.org> - 2.7.8-3
|
|
|
8db7d0 |
- fix license handling
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 18 2014 Robert Kuska <rkuska@redhat.com> - 2.7.8-2
|
|
|
8db7d0 |
- Enable SSLv2 and SSLv3 when SSLv23_method is used in ssl
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jul 14 2014 Robert Kuska <rkuska@redhat.com> - 2.7.8-1
|
|
|
8db7d0 |
- Update to 2.7.8
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 11 2014 Dan Horák <dan[at]danny.cz> - 2.7.7-3
|
|
|
8db7d0 |
- rebuilt for updated libffi ABI on ppc64le
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Jun 7 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.7.7-2
|
|
|
8db7d0 |
- aarch64 has valgrind, just list those that don't support it
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jun 04 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.7-1
|
|
|
8db7d0 |
- Update to 2.7.7
|
|
|
8db7d0 |
- Refreshed patches: #16, #112, #138, #147, #157, #166, #173, #5000
|
|
|
8db7d0 |
- Dropped patches: #190, #192, #194
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 03 2014 Dan Horák <dan[at]danny.cz> - 2.7.6-9
|
|
|
8db7d0 |
- update the arch list where valgrind exists - %%power64 includes also
|
|
|
8db7d0 |
ppc64le which is not supported yet
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7.6-8
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri May 09 2014 Tomas Radej <tradej@redhat.com> - 2.7.6-7
|
|
|
8db7d0 |
- Fixed obsoletes on ordereddict (bz #1095434)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 14 2014 Tomas Radej <tradej@redhat.com> - 2.7.6-6
|
|
|
8db7d0 |
- Obsoletes python-ordereddict (bz #1085593, not precisely 1:1 replacement)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 07 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.6-5
|
|
|
8db7d0 |
- Fix test failure with SQLite > 3.8.4.
|
|
|
8db7d0 |
- Obsolete/Provide python-unittest2
|
|
|
8db7d0 |
Related: rhbz#1060426
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 19 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.6-4
|
|
|
8db7d0 |
- Enable loading sqlite extensions.
|
|
|
8db7d0 |
Resolves: rhbz#1066708
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 10 2014 Tomas Radej <tradej@redhat.com> - 2.7.6-3
|
|
|
8db7d0 |
- Fixed buffer overflow (upstream patch)
|
|
|
8db7d0 |
Resolves: rhbz#1062375
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 04 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.6-2
|
|
|
8db7d0 |
- Install macros in _rpmconfigdir.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 29 2014 Tomas Radej <tradej@redhat.com> - 2.7.6-1
|
|
|
8db7d0 |
- Updated to v2.7.6
|
|
|
8db7d0 |
- Freshened patches 102, 111, 112, 136, and 142
|
|
|
8db7d0 |
- Dropped patches 186, 188 (both fixed upstream)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 15 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.5-11
|
|
|
8db7d0 |
- Make library-files user writable to get rid of
|
|
|
8db7d0 |
Permission Denied in buildlog from debuginfo-packaging
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 14 2014 Dennis Gilmore <dennis@ausil.us> - 2.7.5-10
|
|
|
8db7d0 |
- enable valgrind support on 32 bit arm
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Nov 12 2013 Tomas Radej <tradej@redhat.com> - 2.7.5-9
|
|
|
8db7d0 |
- Import get_python_version in bdist_rpm
|
|
|
8db7d0 |
Resolves: rhbz#1029082
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Oct 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-8
|
|
|
8db7d0 |
- Fix processing gdb py-bt command in eval calls.
|
|
|
8db7d0 |
Resolves: rhbz#1008154
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Sep 03 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-7
|
|
|
8db7d0 |
- Removed ancient Obsolete: python-sqlite2.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Aug 26 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-6
|
|
|
8db7d0 |
- Sync back/renumber patches to stay consistent with rhel.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Aug 19 2013 Matej Stuchlik <mstuchli@redhat.com> - 2.7.5-5
|
|
|
8db7d0 |
- Added fix for CVE-2013-4238 (rhbz#998430)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.5-4
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jul 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-3
|
|
|
8db7d0 |
- Fix build with libffi containing multilib wrapper for ffi.h (rhbz#979696).
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jul 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-2
|
|
|
8db7d0 |
- Obsolete PyXML as requested in rhbz#981137.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu May 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-1
|
|
|
8db7d0 |
- Updated to Python 2.7.5.
|
|
|
8db7d0 |
- Refreshed patches: 0 (config), 102 (lib64), 121 (add Modules to build path),
|
|
|
8db7d0 |
153 (gdb test noise)
|
|
|
8db7d0 |
- Dropped patches: 126, 127 (big endian issues, both fixed upstream),
|
|
|
8db7d0 |
175 (configure -Wformat, fixed upstream)
|
|
|
8db7d0 |
- Synced patch numbers with python3.spec.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 14 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.4-5
|
|
|
8db7d0 |
- fix multilib issue in python-tools due to /usr/bin/pynche (source 7;
|
|
|
8db7d0 |
rhbz#831437)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu May 02 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-4
|
|
|
8db7d0 |
- Add patch that enables building on ppc64p7.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 22 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-3
|
|
|
8db7d0 |
- Allow arbitrary timeout in Condition.wait (rhbz#917709).
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Apr 11 2013 Kalev Lember <kalevlember@gmail.com> - 2.7.4-2
|
|
|
8db7d0 |
- Build with libdb 5.3 instead of libdb4
|
|
|
8db7d0 |
- Refreshed patches: 0 (config), 102 (lib64)
|
|
|
8db7d0 |
- Dropped patches: 54 (db4 version), 159 (db4 include path adjustment)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-1
|
|
|
8db7d0 |
- Updated to Python 2.7.4.
|
|
|
8db7d0 |
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
|
|
|
8db7d0 |
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
|
|
|
8db7d0 |
configuration flags), 130 (add extension to python config), 134 (fix
|
|
|
8db7d0 |
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
|
|
|
8db7d0 |
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
|
|
|
8db7d0 |
keeping few more downstream tests), 165 (crypt module salt backport),
|
|
|
8db7d0 |
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
|
|
|
8db7d0 |
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
|
|
|
8db7d0 |
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
|
|
|
8db7d0 |
connection; merged upstream)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-35
|
|
|
8db7d0 |
- fix gcc 4.8 incompatibility (rhbz#927358); regenerate autotool intermediates
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Mar 6 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-34
|
|
|
8db7d0 |
- restrict scope of workaround for cmpi-bindings issue to avoid breaking
|
|
|
8db7d0 |
in-tree running of test_sys and test_subprocess (rhbz#817554)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Mar 6 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-33
|
|
|
8db7d0 |
- add workaround for cmpi-bindings issue (rhbz#817554)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Mar 4 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-32
|
|
|
8db7d0 |
- add workaround for ENOPROTOOPT seen running selftests in Koji
|
|
|
8db7d0 |
(rhbz#913732)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Mar 4 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-31
|
|
|
8db7d0 |
- remove config flag from /etc/rpm/macros.python2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 22 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-30
|
|
|
8db7d0 |
- remove __debug_package macro from comment
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 22 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-29
|
|
|
8db7d0 |
- drop -b from application of patch 157 (uid/gid overflows)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 22 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-28
|
|
|
8db7d0 |
- fix bogus dates in changelog
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 21 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-27
|
|
|
8db7d0 |
- port _multiprocessing.Connection.poll() to use the "poll" syscall, rather
|
|
|
8db7d0 |
than "select", allowing large numbers of subprocesses (patch 172;
|
|
|
8db7d0 |
rhbz#849992)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 21 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-26
|
|
|
8db7d0 |
- raise correct exception in os.urandom() when /dev/urandom is missing
|
|
|
8db7d0 |
(patch 171; rhbz#907383)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-25
|
|
|
8db7d0 |
- in debug builds, try to print repr() when a C-level assert fails in the
|
|
|
8db7d0 |
garbage collector (typically indicating a reference-counting error somewhere
|
|
|
8db7d0 |
else e.g in an extension module) (patch 170; rhbz#850013)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-24
|
|
|
8db7d0 |
- move lib2to3/tests from python-libs to python-test (rhbz#850056)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-23
|
|
|
8db7d0 |
- use SHA-256 rather than implicitly using MD5 within the challenge handling
|
|
|
8db7d0 |
in multiprocessing.connection (patch 169; rhbz#879695)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-22
|
|
|
8db7d0 |
- fix a problem with distutils.sysconfig when CFLAGS is defined in the
|
|
|
8db7d0 |
environment (patch 168; rhbz#849994)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-21
|
|
|
8db7d0 |
- don't run any stack navigation tests in test_gdb for optimized builds
|
|
|
8db7d0 |
(patch 167; rhbz#912025)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-20
|
|
|
8db7d0 |
- s/cryptmodule/_cryptmodule/ in package payload (rhbz#835021)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 19 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-19
|
|
|
8db7d0 |
- bulletproof the gdb debugging hooks against a failure seen in ARM builds
|
|
|
8db7d0 |
(patch 166; rhbz#912025)
|
|
|
8db7d0 |
- re-enable make check on ARM (rhbz#912025)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 19 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-18
|
|
|
8db7d0 |
- backport pre-canned ways of salting a password to the "crypt" module from 3.3
|
|
|
8db7d0 |
(rhbz#835021)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 19 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-17
|
|
|
8db7d0 |
- remove "_default_patch_fuzz" directive to avoid patches being silently
|
|
|
8db7d0 |
misapplied (refresh patch 1, patch 101, patch 102, patch 111, patch 121,
|
|
|
8db7d0 |
patch 158; rename patch 1, patch 101, patch 121; apply patch 54 before the
|
|
|
8db7d0 |
lib64 patches to avoid fuzz problems caused by the conditional application
|
|
|
8db7d0 |
of the lib64 patches)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 18 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.7.3-16
|
|
|
8db7d0 |
- disable make check on ARM for the moment until 912025 is fixed
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 11 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-15
|
|
|
8db7d0 |
- add aarch64 (rhbz#909783)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Nov 29 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-14
|
|
|
8db7d0 |
- add BR on bluez-libs-devel (rhbz#879720)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Aug 9 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-13
|
|
|
8db7d0 |
- remove f18 conditional from patch 159
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.3-12
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jul 17 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.3-11
|
|
|
8db7d0 |
- fix memory leak in module _hashlib (patch 158, rhbz#836285)
|
|
|
8db7d0 |
- fix db4 include path for libdb4 package (f18 and above) (patch 159)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 26 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-10
|
|
|
8db7d0 |
- fix missing include in uid/gid handling patch (patch 157; rhbz#830405)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jun 22 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-9
|
|
|
8db7d0 |
- use rpm macro for power64 (rhbz#834653)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 15 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-8
|
|
|
8db7d0 |
- update uid/gid handling to avoid int overflows seen with uid/gid
|
|
|
8db7d0 |
values >= 2^31 on 32-bit architectures (patch 157; rhbz#697470)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri May 4 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-7
|
|
|
8db7d0 |
- renumber autotools patch from 300 to 5000
|
|
|
8db7d0 |
- specfile cleanups
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-6
|
|
|
8db7d0 |
- try again to fix test_gdb.py (patch 156; rhbz#817072)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-5
|
|
|
8db7d0 |
- fix test_gdb.py (patch 156; rhbz#817072)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-4
|
|
|
8db7d0 |
- avoid allocating thunks in ctypes unless absolutely necessary, to avoid
|
|
|
8db7d0 |
generating SELinux denials on "import ctypes" and "import uuid" when embedding
|
|
|
8db7d0 |
Python within httpd (patch 155; rhbz#814391)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Apr 19 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-3
|
|
|
8db7d0 |
- add explicit version requirements on expat to avoid linkage problems with
|
|
|
8db7d0 |
XML_SetHashSalt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 18 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-2
|
|
|
8db7d0 |
- fix -config symlinks (patch 112; rhbz#813836)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 11 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-1
|
|
|
8db7d0 |
- 2.7.3: refresh patch 102 (lib64); drop upstream patches 11 (ascii-to-lower),
|
|
|
8db7d0 |
115 (pydoc robustness), 145 (linux2), 148 (gdbm magic values), 151 (deadlock
|
|
|
8db7d0 |
in fork); refresh patch 112 (debug build); revise patch 127
|
|
|
8db7d0 |
(test_structmember); fix test_gdb (patch 153); refresh patch 137 (distutils
|
|
|
8db7d0 |
tests); add python2.pc to python-devel; regenerate the autotool intermediates
|
|
|
8db7d0 |
patch (patch 300)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Feb 25 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.7.2-20
|
|
|
8db7d0 |
- fix deadlock issue (#787712)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 17 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7.2-19
|
|
|
8db7d0 |
- Obsolete python-sqlite2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Nov 24 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.7.2-18
|
|
|
8db7d0 |
- Build with $RPM_LD_FLAGS (#756862).
|
|
|
8db7d0 |
- Use xz-compressed source tarball.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.2-17
|
|
|
8db7d0 |
- Rebuilt for glibc bug#747377
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Sep 30 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-16
|
|
|
8db7d0 |
- re-enable gdbm (patch 148; rhbz#742242)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Sep 16 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-15
|
|
|
8db7d0 |
- add a sys._debugmallocstats() function (patch 147)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-14
|
|
|
8db7d0 |
- support OpenSSL FIPS mode in _hashlib and hashlib; don't build the _md5 and
|
|
|
8db7d0 |
_sha* modules, relying on _hashlib in hashlib, and thus within md5 etc
|
|
|
8db7d0 |
(rhbz#563986; patch 146)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-13
|
|
|
8db7d0 |
- force sys.platform to be "linux2" (patch 145)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Sep 13 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-12
|
|
|
8db7d0 |
- disable gdbm module to prepare for gdbm soname bump
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Sep 12 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-11
|
|
|
8db7d0 |
- rename and renumber patches for consistency with python3.spec (55, 111, 113,
|
|
|
8db7d0 |
114, 125, 131, 129 to 143)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Sep 10 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-10
|
|
|
8db7d0 |
- rewrite of "check", introducing downstream-only hooks for skipping specific
|
|
|
8db7d0 |
cases in an rpmbuild (patch 132), and fixing/skipping failing tests in a more
|
|
|
8db7d0 |
fine-grained manner than before (patches 104, 133-142)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 1 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-9
|
|
|
8db7d0 |
- run selftests with "--verbose"
|
|
|
8db7d0 |
- disable parts of test_io on ppc (rhbz#732998)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-8
|
|
|
8db7d0 |
- add --extension-suffix option to python-config (patch 130; rhbz#732808)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-7
|
|
|
8db7d0 |
- re-enable and fix the --with-tsc option on ppc64, and rework it on 32-bit
|
|
|
8db7d0 |
ppc to avoid aliasing violations (patch 129; rhbz#698726)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-6
|
|
|
8db7d0 |
- don't use --with-tsc on ppc64 debug builds (rhbz#698726)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Aug 18 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-5
|
|
|
8db7d0 |
- add rpm macros file (rhbz#731800)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 8 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-4
|
|
|
8db7d0 |
- cleanup of BuildRequires; add comment headings to specfile sections
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jun 22 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-3
|
|
|
8db7d0 |
- reorganize test exclusions (test_openpty and test_pty seem to be failing on
|
|
|
8db7d0 |
every arch, not just the explicitly-listed ones)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 13 2011 Dan Horák <dan[at]danny.cz> - 2.7.2-2
|
|
|
8db7d0 |
- add s390(x) excluded tests
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 13 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-1
|
|
|
8db7d0 |
- 2.7.2; drop upstreamed patches: patch 122 (parallel make fix), patch 124
|
|
|
8db7d0 |
(test_commands and SELinux), patch 130 (ppc preprocessor macro in debug
|
|
|
8db7d0 |
build); patch 131 (decimal in Turkish locale); regenerate the autotool
|
|
|
8db7d0 |
intermediates patch (patch 300)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 07 2011 Dennis Gilmore <dennis@ausil.us> - 2.7.1-9
|
|
|
8db7d0 |
- fix sparc building by excluding failing tests RHBZ#711584
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon May 23 2011 Peter Robinson <pbrobinson@gmail.com> - 2.7.1-8
|
|
|
8db7d0 |
- fix compile on ARM by excluding failing tests on arm - RHBZ #706253
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Apr 12 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-7
|
|
|
8db7d0 |
- fix "import decimal" in the Turkish locale (patch 131; rhbz#694928)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-6
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 21 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7.1-5
|
|
|
8db7d0 |
- Switch from setting OPT to setting EXTRA_CFLAGS so we don't overwrite the
|
|
|
8db7d0 |
DNDEBUG flag
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 7 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-4
|
|
|
8db7d0 |
- for now, drop "obsoletes" of python-argparse, since it interracts badly with
|
|
|
8db7d0 |
multilib (rhbz#667984)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 7 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.7.1-3
|
|
|
8db7d0 |
- obsolete/provide python-argparse (new in 2.7)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jan 6 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-2
|
|
|
8db7d0 |
- fix the ppc build of the debug configuration (patch 130; rhbz#661510)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Dec 23 2010 David Malcolm <dmalcolm@redhat.com> - 2.7.1-1
|
|
|
8db7d0 |
- 2.7.1, reworking patch 0 (config), patch 102 (lib64); drop upstream
|
|
|
8db7d0 |
patch 56 (cfgparse), patch 110 (ctypes/SELinux/noexecmem), patch 119 (expat
|
|
|
8db7d0 |
compat), patch 123 (2to3 on "from itertools import *")
|
|
|
8db7d0 |
- fix test_abc's test_cache_leak in the debug build (patch 128)
|
|
|
8db7d0 |
- drop _weakref.so from manifest (_weakref became a core module in r84230)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Sep 29 2010 jkeating - 2.7-13
|
|
|
8db7d0 |
- Rebuilt for gcc bug 634757
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Sep 27 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-12
|
|
|
8db7d0 |
- fix test_structmember on 64bit-bigendian (patch 127)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Sep 24 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-11
|
|
|
8db7d0 |
- fix dbm_contains on 64bit-bigendian (patch 126; rhbz#626756)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 16 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7-10
|
|
|
8db7d0 |
- backport a patch to fix a change in behaviour in configparse.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 9 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-9
|
|
|
8db7d0 |
- move most of the payload of the core package to the libs subpackage, given
|
|
|
8db7d0 |
that the libs aren't meaningfully usable without the standard libraries
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Aug 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-8
|
|
|
8db7d0 |
- add %%check section
|
|
|
8db7d0 |
- update lib64 patch (patch 102) to fix expected output in test_site.py on
|
|
|
8db7d0 |
64-bit systems
|
|
|
8db7d0 |
- patch test_commands.py to work with SELinux (patch 124)
|
|
|
8db7d0 |
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-7
|
|
|
8db7d0 |
- fixup missing -lcrypt to "crypt" module in config patch (patch 0)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-6
|
|
|
8db7d0 |
- re-enable systemtap
|
|
|
8db7d0 |
- cherrypick upstream patch to 2to3 for "from itertools import *"
|
|
|
8db7d0 |
traceback (patch 123)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-5
|
|
|
8db7d0 |
- disable systemtap for now (dtrace is failing on startup due to the bug
|
|
|
8db7d0 |
mentioned in 2.7-4)
|
|
|
8db7d0 |
- provide relative path to python binary when running pathfix.py
|
|
|
8db7d0 |
- fix parallel make (patch 122)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-4
|
|
|
8db7d0 |
- fix reference to pyconfig.h in sysconfig that led to failure on startup if
|
|
|
8db7d0 |
python-devel was not installed
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 8 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-3
|
|
|
8db7d0 |
- add patch to fixup the new sysconfig.py for our multilib support on
|
|
|
8db7d0 |
64-bit (patch 103)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 8 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-2
|
|
|
8db7d0 |
- add machinery for regenerating the "configure" script in the face of
|
|
|
8db7d0 |
mismatching autoconf versions (patch 300)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jul 6 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-1
|
|
|
8db7d0 |
- 2.7 final; drop alphatag
|
|
|
8db7d0 |
- drop patch 117 (upstream), patch 120 (upstreamed)
|
|
|
8db7d0 |
- fix the commented-out __python_ver from 26 to 27
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-0.1.rc2
|
|
|
8db7d0 |
- 2.7rc2
|
|
|
8db7d0 |
- revert r79310 (patch 121)
|
|
|
8db7d0 |
- remove modulator: upstream removed it in r78338
|
|
|
8db7d0 |
- rename mathmodule(_d).so to math(_d).so in manifests (appears to be changed
|
|
|
8db7d0 |
by r76861)
|
|
|
8db7d0 |
- _bytesio(_d).so and _filesio(_d).so were consolidated into _io(_d).so in
|
|
|
8db7d0 |
r73394 (upstream issue 6215)
|
|
|
8db7d0 |
- use the gdb hooks from the upstream tarball, rather than keeping our own
|
|
|
8db7d0 |
copy. The upstream version has some whitespace changes, a new write_repr for
|
|
|
8db7d0 |
unicode objects, and various bulletproofings for being run on older gdbs
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-0.1.rc1
|
|
|
8db7d0 |
- 2.7rc1:
|
|
|
8db7d0 |
- rework patches to apply against 2.7 (which among other changes has had a
|
|
|
8db7d0 |
whitespace cleanup of the .c code): .rhconfig (patch0), .binutils-no-dep
|
|
|
8db7d0 |
(patch10), .ascii-tolower (patch11), .socketmodule (patch13), .socketmodule2
|
|
|
8db7d0 |
(patch14), .systemtap (patch55), .lib64 (patch102), .selinux (patch110),
|
|
|
8db7d0 |
.no-static-lib (patch111), .debug-build (patch112), .statvfs-f-flag-constants
|
|
|
8db7d0 |
(patch114), ..CVE-2010-2089 (patch117)
|
|
|
8db7d0 |
- drop upstream patches: .expat (patch3), .brprpm (patch51), .valgrind
|
|
|
8db7d0 |
(patch52), .db48 (patch53), .CVE-2010-1634 (patch 116), .CVE-2008-5983 (patch
|
|
|
8db7d0 |
118)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-17
|
|
|
8db7d0 |
- Stop python bailing out with an assertion failure when UnicodeDecodeErrors
|
|
|
8db7d0 |
occur on very large buffers (patch 120, upstream issue 9058)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-16
|
|
|
8db7d0 |
- Fix an incompatibility between pyexpat and the system expat-2.0.1 that led to
|
|
|
8db7d0 |
a segfault running test_pyexpat.py (patch 119; upstream issue 9054)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 8 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-15
|
|
|
8db7d0 |
- add a flag to make it easy to turn off the debug build when troubleshooting
|
|
|
8db7d0 |
the rpm build
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Jun 5 2010 Dan Horák <dan[at]danny.cz> - 2.6.5-14
|
|
|
8db7d0 |
- reading the timestamp counter is available only on some arches (see Python/ceval.c)
|
|
|
8db7d0 |
- disable --with-valgrind on s390(x) arches
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jun 4 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-13
|
|
|
8db7d0 |
- ensure that the compiler is invoked with "-fwrapv" (rhbz#594819)
|
|
|
8db7d0 |
- CVE-2010-1634: fix various integer overflow checks in the audioop
|
|
|
8db7d0 |
module (patch 116)
|
|
|
8db7d0 |
- CVE-2010-2089: further checks within the audioop module (patch 117)
|
|
|
8db7d0 |
- CVE-2008-5983: the new PySys_SetArgvEx entry point from r81399 (patch 118)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu May 27 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-12
|
|
|
8db7d0 |
- make "pydoc -k" more robust in the face of broken modules (rhbz:461419, patch115)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed May 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-11
|
|
|
8db7d0 |
- add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
|
|
|
8db7d0 |
(patch 114)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-10
|
|
|
8db7d0 |
- add configure-time support for COUNT_ALLOCS and CALL_PROFILE debug options
|
|
|
8db7d0 |
(patch 113); enable them and the WITH_TSC option within the debug build
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-9
|
|
|
8db7d0 |
- build and install two different configurations of Python: debug and standard,
|
|
|
8db7d0 |
packaging the debug build in a new "python-debug" subpackage (patch 112)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 4 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-8
|
|
|
8db7d0 |
- don't delete wsgiref.egg-info (rhbz:588426)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-7
|
|
|
8db7d0 |
- disable --with-valgrind on sparc arches
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 12 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-6
|
|
|
8db7d0 |
- move the "bdist_wininst" command's template .exe files from the core package
|
|
|
8db7d0 |
to the devel subpackage, to save space (rhbz:525469)
|
|
|
8db7d0 |
- fix stray doublelisting of config directory wildcard in devel subpackage
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Mar 31 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-5
|
|
|
8db7d0 |
- update python-gdb.py from v4 to v5 (improving performance and stability,
|
|
|
8db7d0 |
adding commands)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Mar 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-4
|
|
|
8db7d0 |
- update python-gdb.py from v3 to v4 (fixing infinite recursion on reference
|
|
|
8db7d0 |
cycles and tracebacks on bytes 0x80-0xff in strings, adding handlers for sets
|
|
|
8db7d0 |
and exceptions)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Mar 24 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-3
|
|
|
8db7d0 |
- refresh gdb hooks to v3 (reworking how they are packaged)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Mar 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-2
|
|
|
8db7d0 |
- remove unnecessary arch-conditionality for patch 101
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Mar 19 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-1
|
|
|
8db7d0 |
- update to 2.6.5: http://www.python.org/download/releases/2.6.5/
|
|
|
8db7d0 |
- replace our patch to compile against db4.8 with a patch from
|
|
|
8db7d0 |
upstream (patch 53, from r78974); update patch 54 since part of it is now in
|
|
|
8db7d0 |
that upstream patch
|
|
|
8db7d0 |
- update patch 110 so that it still applies in the face of upstream r78380
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Mar 16 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-23
|
|
|
8db7d0 |
- fixup distutils/unixccompiler.py to remove standard library path from
|
|
|
8db7d0 |
rpath (patch 17)
|
|
|
8db7d0 |
- delete DOS batch files
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Mar 12 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-22
|
|
|
8db7d0 |
- add pyfuntop.stp; allow systemtap support to be disabled
|
|
|
8db7d0 |
- remove trailing period from tkinter summary
|
|
|
8db7d0 |
- don't own /usr/bin/python-config if you're not the main python
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Mar 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.6.4-21
|
|
|
8db7d0 |
- rebuild with new gdbm
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 11 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-20
|
|
|
8db7d0 |
- avoid having the "test" subdirectory and the files within it that are in the
|
|
|
8db7d0 |
core subpackage also be owned by the test subpackage (rhbz:467588)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 10 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-19
|
|
|
8db7d0 |
- revise the systemtap patch (patch 55:python-2.6.4-dtrace.patch) to the
|
|
|
8db7d0 |
new version by mjw in attachment 390110 of rhbz:545179, as this should
|
|
|
8db7d0 |
eliminate the performance penalty for the case where the probes aren't in
|
|
|
8db7d0 |
use, and eliminate all architecture-specific code (rhbz:563541; except on
|
|
|
8db7d0 |
sparc)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 9 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-18
|
|
|
8db7d0 |
- add a systemtap tapset defining "python.function.entry" and
|
|
|
8db7d0 |
"python.function.return" to make it easy to use the static probepoint within
|
|
|
8db7d0 |
Python; add an example of using the tapset to the docs
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 9 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-17
|
|
|
8db7d0 |
- add systemtap static probes (wcohen; patch 55; rh bug #545179)
|
|
|
8db7d0 |
- update some comments in specfile relating to gdb work
|
|
|
8db7d0 |
- manually byte-compile the gdb.py file with the freshly-built python to ensure
|
|
|
8db7d0 |
that .pyx and .pyo files make it into the debuginfo manifest if they are later
|
|
|
8db7d0 |
byte-compiled after find-debuginfo.sh is run
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 8 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-16
|
|
|
8db7d0 |
- move the -gdb.py file from %%{_libdir}/INSTSONAME-gdb.py to
|
|
|
8db7d0 |
%%{_prefix}/lib/debug/%%{_libdir}/INSTSONAME.debug-gdb.py to avoid noise from
|
|
|
8db7d0 |
ldconfig (bug 562980), and which should also ensure it becomes part of the
|
|
|
8db7d0 |
debuginfo subpackage, rather than the libs subpackage
|
|
|
8db7d0 |
- introduce %%{py_SOVERSION} and %%{py_INSTSONAME} to reflect the upstream
|
|
|
8db7d0 |
configure script, and to avoid fragile scripts that try to figure this out
|
|
|
8db7d0 |
dynamically (e.g. for the -gdb.py change)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 8 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-15
|
|
|
8db7d0 |
- work around bug 562906 by supplying a fixed version of pythondeps.sh
|
|
|
8db7d0 |
- set %%{_python_bytecompile_errors_terminate_build} to 0 to prevent the broken
|
|
|
8db7d0 |
test files from killing the build on buildroots where python is installed
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 5 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-14
|
|
|
8db7d0 |
- add gdb hooks for easier debugging
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 29 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-13
|
|
|
8db7d0 |
- document all patches, and remove the commented-out ones
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-12
|
|
|
8db7d0 |
- Address some of the issues identified in package review (bug 226342):
|
|
|
8db7d0 |
- update libs requirement on base package to use %%{name} for consistency's
|
|
|
8db7d0 |
sake
|
|
|
8db7d0 |
- convert from backticks to $() syntax throughout
|
|
|
8db7d0 |
- wrap value of LD_LIBRARY_PATH in quotes
|
|
|
8db7d0 |
- convert "/usr/bin/find" requirement to "findutils"
|
|
|
8db7d0 |
- remove trailing periods from summaries of -devel and -tools subpackages
|
|
|
8db7d0 |
- fix spelling mistake in description of -test subpackage
|
|
|
8db7d0 |
- convert usage of $$RPM_BUILD_ROOT to %%{buildroot} throughout, for
|
|
|
8db7d0 |
stylistic consistency
|
|
|
8db7d0 |
- supply dirmode arguments to defattr directives
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-11
|
|
|
8db7d0 |
- update python-2.6.2-config.patch to remove downstream customization of build
|
|
|
8db7d0 |
of pyexpat and elementtree modules
|
|
|
8db7d0 |
- add patch adapted from upstream (patch 3) to add support for building against
|
|
|
8db7d0 |
system expat; add --with-system-expat to "configure" invocation
|
|
|
8db7d0 |
- remove embedded copy of expat from source tree during "prep"
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-10
|
|
|
8db7d0 |
- introduce macros for 3 directories, replacing expanded references throughout:
|
|
|
8db7d0 |
%%{pylibdir}, %%{dynload_dir}, %%{site_packages}
|
|
|
8db7d0 |
- explicitly list all lib-dynload files, rather than dynamically gathering the
|
|
|
8db7d0 |
payload into a temporary text file, so that we can be sure what we are
|
|
|
8db7d0 |
shipping; remove now-redundant testing for presence of certain .so files
|
|
|
8db7d0 |
- remove embedded copy of zlib from source tree before building
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-9
|
|
|
8db7d0 |
- change python-2.6.2-config.patch to remove our downstream change to curses
|
|
|
8db7d0 |
configuration in Modules/Setup.dist, so that the curses modules are built using
|
|
|
8db7d0 |
setup.py with the downstream default (linking against libncursesw.so, rather
|
|
|
8db7d0 |
than libncurses.so), rather than within the Makefile; add a test to %%install
|
|
|
8db7d0 |
to verify the dso files that the curses module is linked against the correct
|
|
|
8db7d0 |
DSO (bug 539917; changes _cursesmodule.so -> _curses.so)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-8
|
|
|
8db7d0 |
- rebuild (bug 556975)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 20 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-7
|
|
|
8db7d0 |
- move lib2to3 from -tools subpackage to main package (bug 556667)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jan 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-6
|
|
|
8db7d0 |
- patch Makefile.pre.in to avoid building static library (patch111, bug 556092)
|
|
|
8db7d0 |
- split up the "configure" invocation flags onto individual lines
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 15 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-5
|
|
|
8db7d0 |
- replace usage of %%define with %%global
|
|
|
8db7d0 |
- use the %%{_isa} macro to ensure that the python-devel dependency on python
|
|
|
8db7d0 |
is for the correct multilib arch (#555943)
|
|
|
8db7d0 |
- delete bundled copy of libffi to make sure we use the system one
|
|
|
8db7d0 |
- replace references to /usr with %%{_prefix}; replace references to
|
|
|
8db7d0 |
/usr/include with %%{_includedir}
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Dec 16 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-4
|
|
|
8db7d0 |
- automatically disable arena allocator when run under valgrind (upstream
|
|
|
8db7d0 |
issue 2422; patch 52)
|
|
|
8db7d0 |
- add patch from Josh Boyer containing diff against upstream PyBSDDB to make
|
|
|
8db7d0 |
the bsddb module compile against db-4.8 (patch 53, #544275); bump the necessary
|
|
|
8db7d0 |
version of db4-devel to 4.8
|
|
|
8db7d0 |
- patch setup.py so that it searches for db-4.8, and enable debug output for
|
|
|
8db7d0 |
said search; make Setup.dist use db-4.8 (patch 54)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Nov 12 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-3
|
|
|
8db7d0 |
- fixup the build when __python_ver is set (Zach Sadecki; bug 533989); use
|
|
|
8db7d0 |
pybasever in the files section
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Oct 29 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-2
|
|
|
8db7d0 |
- "Makefile" and the config-32/64.h file are needed by distutils/sysconfig.py
|
|
|
8db7d0 |
_init_posix(), so we include them in the core package, along with their parent
|
|
|
8db7d0 |
directories (bug 531901)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Oct 26 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-1
|
|
|
8db7d0 |
- Update to 2.6.4
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.6.2-2
|
|
|
8db7d0 |
- rebuilt with new openssl
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jul 27 2009 James Antill <james.antill@redhat.com> - 2.6.2-1
|
|
|
8db7d0 |
- Update to 2.6.2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-11
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Jul 4 2009 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.6-10
|
|
|
8db7d0 |
- Move python-config to devel subpackage (#506153)
|
|
|
8db7d0 |
- Update BuildRoot for new standard
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Jun 28 2009 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.6-9
|
|
|
8db7d0 |
- Update python-tools description (#448940)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 15 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 2.6-8
|
|
|
8db7d0 |
- Replace python-hashlib and python-uuid (#484715)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Mar 17 2009 James Antill <james@fedoraproject.org> - 2.6-7
|
|
|
8db7d0 |
- Use system libffi
|
|
|
8db7d0 |
- Resolves: bug#490573
|
|
|
8db7d0 |
- Fix SELinux execmem problems
|
|
|
8db7d0 |
- Resolves: bug#488396
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-5
|
|
|
8db7d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> - 2.6-4
|
|
|
8db7d0 |
- rebuild with new openssl
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 6 2009 James Antill <james.antill@redhat.com> - 2.6-3
|
|
|
8db7d0 |
- Fix distutils generated rpms.
|
|
|
8db7d0 |
- Resolves: bug#236535
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Dec 10 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.6-2
|
|
|
8db7d0 |
- Enable -lcrypt for cryptmodule
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Nov 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.6-1
|
|
|
8db7d0 |
- Update to 2.6
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Sep 30 2008 James Antill <james.antill@redhat.com> - 2.5.2-1
|
|
|
8db7d0 |
- Move to 2.5.2
|
|
|
8db7d0 |
- Fix CVE-2008-2316 hashlib overflow.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 17 2008 Jeremy Katz <katzj@redhat.com> - 2.5.1-30
|
|
|
8db7d0 |
- Fix up the build for new rpm
|
|
|
8db7d0 |
- And actually build against db4-4.7 (#455170)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-27
|
|
|
8db7d0 |
- fix license tag
|
|
|
8db7d0 |
- enable support for db4-4.7
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Jun 15 2008 James Antill <jantill@redhat.com> - 2.5.1-26
|
|
|
8db7d0 |
- Fix sporadic listdir problem
|
|
|
8db7d0 |
- Resolves: bug#451494
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 7 2008 James Antill <jantill@redhat.com> - 2.5.1-25
|
|
|
8db7d0 |
- Rebuild to re-gen autoconf file due to glibc change.
|
|
|
8db7d0 |
- Resolves: bug#441003
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Mar 25 2008 James Antill <jantill@redhat.com> - 2.5.1-24
|
|
|
8db7d0 |
- Add more constants to socketmodule
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Mar 8 2008 James Antill <jantill@redhat.com> - 2.5.1-22
|
|
|
8db7d0 |
- Add constants to socketmodule
|
|
|
8db7d0 |
- Resolves: bug#436560
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.5.1-22
|
|
|
8db7d0 |
- Autorebuild for GCC 4.3
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-21
|
|
|
8db7d0 |
- rebuild for new tk in rawhide
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jan 7 2008 James Antill <jantill@redhat.com> - 2.5.1-20
|
|
|
8db7d0 |
- Add valgrind support files, as doc, to python-devel
|
|
|
8db7d0 |
- Relates: rhbz#418621
|
|
|
8db7d0 |
- Add new API from 2.6, set_wakeup_fd ... use at own risk, presumably won't
|
|
|
8db7d0 |
- change but I have no control to guarantee that.
|
|
|
8db7d0 |
- Resolves: rhbz#427794
|
|
|
8db7d0 |
- Add gdbinit support file, as doc, to python-devel
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-19
|
|
|
8db7d0 |
- rebuild for new tcl/tk in rawhide
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Dec 7 2007 James Antill <jantill@redhat.com> - 2.5.1-18
|
|
|
8db7d0 |
- Create a python-test sub-module, over 3MB of stuff noone wants.
|
|
|
8db7d0 |
- Don't remove egginfo files, try this see what happens ... may revert.
|
|
|
8db7d0 |
- Resolves: rhbz#414711
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Dec 3 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-17
|
|
|
8db7d0 |
- rebuild for new libssl
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Nov 30 2007 James Antill <jantill@redhat.com> - 2.5.1-16
|
|
|
8db7d0 |
- Fix pyconfig.h comment typo.
|
|
|
8db7d0 |
- Add back test_support.py and the __init__.py file.
|
|
|
8db7d0 |
- Resolves: rhbz#387401
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Oct 30 2007 James Antill <jantill@redhat.com> - 2.5.1-15
|
|
|
8db7d0 |
- Do codec lowercase in C Locale.
|
|
|
8db7d0 |
- Resolves: 207134 191096
|
|
|
8db7d0 |
- Fix stupid namespacing in pysqlite, minimal upgrade to 2.3.3 pysqlite
|
|
|
8db7d0 |
- Resolves: 263221
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Oct 24 2007 James Antill <jantill@redhat.com> - 2.5.1-14
|
|
|
8db7d0 |
- Remove bintuils dep. for live CD ... add work around for ctypes
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Oct 22 2007 James Antill <jantill@redhat.com> - 2.5.1-13
|
|
|
8db7d0 |
- Add tix buildprereq
|
|
|
8db7d0 |
- Add tkinter patch
|
|
|
8db7d0 |
- Resolves: #281751
|
|
|
8db7d0 |
- Fix ctypes loading of libraries, add requires on binutils
|
|
|
8db7d0 |
- Resolves: #307221
|
|
|
8db7d0 |
- Possible fix for CVE-2007-4965 possible exploitable integer overflow
|
|
|
8db7d0 |
- Resolves: #295971
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Oct 16 2007 Mike Bonnet <mikeb@redhat.com> - 2.5.1-12
|
|
|
8db7d0 |
- fix marshalling of objects in xmlrpclib (python bug #1739842)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Sep 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-11
|
|
|
8db7d0 |
- fix encoding of sqlite .py files to work around weird encoding problem
|
|
|
8db7d0 |
in Turkish (#283331)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Sep 10 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-10
|
|
|
8db7d0 |
- work around problems with multi-line plural specification (#252136)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 28 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-9
|
|
|
8db7d0 |
- rebuild against new expat
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-8
|
|
|
8db7d0 |
- build against db4.6
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 14 2007 Dennis Gilmore <dennis@ausil.us> - 2.5.1-7
|
|
|
8db7d0 |
- add sparc64 to the list of archs for _pyconfig64_h
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Aug 10 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-6
|
|
|
8db7d0 |
- fix ctypes again on some arches (Hans de Goede, #251637)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 6 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-5
|
|
|
8db7d0 |
- link curses modules with ncursesw (#246385)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jun 27 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-4
|
|
|
8db7d0 |
- fix _elementtree.so build (#245703)
|
|
|
8db7d0 |
- ensure that extension modules we expect are actually built rather than
|
|
|
8db7d0 |
having them silently fall out of the package
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 26 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-3
|
|
|
8db7d0 |
- link with system expat (#245703)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jun 21 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-2
|
|
|
8db7d0 |
- rebuild to take advantage of hardlinking between identical pyc/pyo files
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu May 31 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-1
|
|
|
8db7d0 |
- update to python 2.5.1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Mar 19 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-12
|
|
|
8db7d0 |
- fix alpha build (#231961)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 13 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-11
|
|
|
8db7d0 |
- tcl/tk was reverted; rebuild again
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 1 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-10
|
|
|
8db7d0 |
- rebuild for new tcl/tk
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 16 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.5.3-9
|
|
|
8db7d0 |
- link with ncurses
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Jan 6 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-8
|
|
|
8db7d0 |
- fix extensions to use shared libpython (#219564)
|
|
|
8db7d0 |
- all 64bit platforms need the regex fix (#122304)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 3 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-7
|
|
|
8db7d0 |
- fix ctypes to not require execstack (#220669)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Dec 15 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-6
|
|
|
8db7d0 |
- don't link against compat-db (Robert Scheck)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Dec 13 2006 Jarod Wilson <jwilson@redhat.com> - 2.5.3-5
|
|
|
8db7d0 |
- fix invalid assert in debug mode (upstream changeset 52622)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Dec 12 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-4
|
|
|
8db7d0 |
- obsolete/provide python-ctypes (#219256)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Dec 11 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-3
|
|
|
8db7d0 |
- fix atexit traceback with failed syslog logger (#218214)
|
|
|
8db7d0 |
- split libpython into python-libs subpackage for multilib apps
|
|
|
8db7d0 |
embedding python interpreters
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-2
|
|
|
8db7d0 |
- disable installation of .egg-info files for now
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Dec 5 2006 Jeremy Katz <katzj@redhat.com>
|
|
|
8db7d0 |
- support db 4.5
|
|
|
8db7d0 |
- obsolete python-elementtree; since it requires some code tweaks, don't
|
|
|
8db7d0 |
provide it
|
|
|
8db7d0 |
- obsolete old python-sqlite; provide the version that's actually included
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Oct 30 2006 Jeremy Katz <katzj@redhat.com>
|
|
|
8db7d0 |
- fix _md5 and _sha modules (Robert Sheck)
|
|
|
8db7d0 |
- no longer provide optik compat; it's been a couple of years now
|
|
|
8db7d0 |
- no longer provide the old shm module; if this is still needed, let's
|
|
|
8db7d0 |
build it separately
|
|
|
8db7d0 |
- no longer provide japanese codecs; should be a separate package
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Oct 23 2006 Jeremy Katz <katzj@redhat.com> - 2.5-0
|
|
|
8db7d0 |
- update to 2.5.0 final
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Aug 18 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.99.c1
|
|
|
8db7d0 |
- Updated to 2.5c1. Merged fixes from FC6 too:
|
|
|
8db7d0 |
- Fixed bug #199373 (on some platforms CFLAGS is needed when linking)
|
|
|
8db7d0 |
- Fixed bug #198971 (case conversion not locale safe in logging library)
|
|
|
8db7d0 |
- Verified bug #201434 (distutils.sysconfig is confused by the change to make
|
|
|
8db7d0 |
python-devel multilib friendly) is fixed upstream
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Jul 16 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.99.b2
|
|
|
8db7d0 |
- Updated to 2.5b2 (which for comparison reasons is re-labeled 2.4.99.b2)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jun 23 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.99.b1
|
|
|
8db7d0 |
- Updated to 2.5b1 (which for comparison reasons is re-labeled 2.4.99.b1)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 13 2006 Jeremy Katz <katzj@redhat.com> - 2.4.3-11.FC6
|
|
|
8db7d0 |
- and fix it for real
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 13 2006 Jeremy Katz <katzj@redhat.com> - 2.4.3-10.FC6
|
|
|
8db7d0 |
- fix python-devel on ia64
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 13 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-9
|
|
|
8db7d0 |
- Fixed python-devel to be multilib friendly (bug #192747, #139911)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 13 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-8
|
|
|
8db7d0 |
- Only copying mkhowto from the Docs - we don't need perl dependencies from
|
|
|
8db7d0 |
python-tools.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 12 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-7
|
|
|
8db7d0 |
- Fixed bug #121198 (webbrowser.py should use the user's preferences first)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 12 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-6
|
|
|
8db7d0 |
- Fixed bug #192592 (too aggressive assertion fails) - SF#1257960
|
|
|
8db7d0 |
- Fixed bug #167468 (Doc/tools not included) - added in the python-tools package
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jun 8 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-5
|
|
|
8db7d0 |
- Fixed bug #193484 (added pydoc in the main package)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 5 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-4
|
|
|
8db7d0 |
- Added dist in the release
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon May 15 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-3
|
|
|
8db7d0 |
- rebuilt to fix broken libX11 dependency
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 12 2006 Jeremy Katz <katzj@redhat.com> - 2.4.3-2
|
|
|
8db7d0 |
- rebuild with new gcc to fix #188649
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Apr 6 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-1
|
|
|
8db7d0 |
- Updated to 2.4.3
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.4.2-3.2.1
|
|
|
8db7d0 |
- bump again for double-long bug on ppc(64)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 10 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-3.2
|
|
|
8db7d0 |
- rebuilt for newer tix
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.4.2-3.1
|
|
|
8db7d0 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 20 2006 Mihai Ibanescu <misa@redhat.com> 2.4.2-3
|
|
|
8db7d0 |
- fixed #136654 for another instance of audiotest.au
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
8db7d0 |
- rebuilt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Nov 19 2005 Bill Nottingham <notting@redhat.com> 2.4.2-2
|
|
|
8db7d0 |
- fix build for modular X, remove X11R6 path references
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Nov 15 2005 Mihai Ibanescu <misa@redhat.com> 2.4.2-1
|
|
|
8db7d0 |
- Upgraded to 2.4.2
|
|
|
8db7d0 |
- BuildRequires autoconf
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Nov 9 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-16
|
|
|
8db7d0 |
- Rebuilding against newer openssl.
|
|
|
8db7d0 |
- XFree86-devel no longer exists
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Sep 26 2005 Peter Jones <pjones@redhat.com> 2.4.1-14
|
|
|
8db7d0 |
- Once more -- this time, to fix -EPERM when you run it in a directory
|
|
|
8db7d0 |
you can't read from.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Sep 26 2005 Peter Jones <pjones@redhat.com> 2.4.1-13
|
|
|
8db7d0 |
- So, 5 or 6 people have said it works for them with this patch...
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Sep 25 2005 Peter Jones <pjones@redhat.com> 2.4.1-12
|
|
|
8db7d0 |
- Fixed bug #169159 (check for argc>0 and argv[0] == NULL, not just
|
|
|
8db7d0 |
argv[0][0]='\0')
|
|
|
8db7d0 |
Reworked the patch from -8 a bit more.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Sep 23 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-10
|
|
|
8db7d0 |
- Fixed bug #169159 (don't let python core dump if no arguments are passed in)
|
|
|
8db7d0 |
Reworked the patch from -8 a bit more.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 22 2005 Peter Jones <pjones@redhat.com> 2.4.1-8
|
|
|
8db7d0 |
- Fix bug #169046 more correctly.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 22 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-7
|
|
|
8db7d0 |
- Fixed bug #169046 (realpath is unsafe); thanks to
|
|
|
8db7d0 |
Peter Jones <pjones@redhat.com> and Arjan van de Ven <arjanv@redhat.com> for
|
|
|
8db7d0 |
diagnosing and the patch.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Sep 20 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-4
|
|
|
8db7d0 |
- Fixed bug #168655 (fixes for building as python24)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jul 26 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-3
|
|
|
8db7d0 |
- Fixed bug #163435 (pynche doesn't start))
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 20 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-2
|
|
|
8db7d0 |
- Fixed bug #143667 (python should own /usr/lib/python* on 64-bit systems, for
|
|
|
8db7d0 |
noarch packages)
|
|
|
8db7d0 |
- Fixed bug #143419 (BuildRequires db4 is not versioned)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 6 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-1
|
|
|
8db7d0 |
- updated to 2.4.1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Mar 14 2005 Mihai Ibanescu <misa@redhat.com> 2.4-6
|
|
|
8db7d0 |
- building the docs from a different source rpm, to decouple bootstrapping
|
|
|
8db7d0 |
python from having tetex installed
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Mar 11 2005 Dan Williams <dcbw@redhat.com> 2.4-5
|
|
|
8db7d0 |
- Rebuild to pick up new libssl.so.5
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 2 2005 Mihai Ibanescu <misa@redhat.com> 2.4-4
|
|
|
8db7d0 |
- Fixed security issue in SimpleXMLRPCServer.py (#146647)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 2.4-3
|
|
|
8db7d0 |
- Rebuilt for new readline.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Dec 6 2004 Jeff Johnson <jbj@jbj.org> 2.4-2
|
|
|
8db7d0 |
- db-4.3.21 returns DB_BUFFER_SMALL rather than ENOMEM (#141994).
|
|
|
8db7d0 |
- add Provide: python(abi) = 2.4
|
|
|
8db7d0 |
- include msgfmt/pygettext *.pyc and *.pyo from brp-python-bytecompile.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Dec 3 2004 Mihai Ibanescu <misa@redhat.com> 2.4-1
|
|
|
8db7d0 |
- Python-2.4.tar.bz2 (final)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Nov 19 2004 Mihai Ibanescu <misa@redhat.com> 2.4-0.c1.1
|
|
|
8db7d0 |
- Python-2.4c1.tar.bz2 (release candidate 1)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 2.4-0.b2.4
|
|
|
8db7d0 |
- rebuild against db-4.3.21.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Nov 8 2004 Jeremy Katz <katzj@redhat.com> - 2.4-0.b2.3
|
|
|
8db7d0 |
- fix the lib64 patch so that 64bit arches still look in /usr/lib/python...
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Nov 8 2004 Jeremy Katz <katzj@redhat.com> - 2.4-0.b2.2
|
|
|
8db7d0 |
- cryptmodule still needs -lcrypt (again)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Nov 4 2004 Mihai Ibanescu <misa@redhat.com> 2.4-0.b2.1
|
|
|
8db7d0 |
- Updated to python 2.4b2 (and labeled it 2.4-0.b2.1 to avoid breaking rpm's
|
|
|
8db7d0 |
version comparison)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Nov 4 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-13
|
|
|
8db7d0 |
- Fixed bug #138112 (python overflows stack buffer) - SF bug 105470
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Nov 2 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-12
|
|
|
8db7d0 |
- Fixed bugs #131439 #136023 #137863 (.pyc/.pyo files had the buildroot added)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Oct 26 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-11
|
|
|
8db7d0 |
- Fixed bug #136654 (python has sketchy audio clip)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 31 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-10
|
|
|
8db7d0 |
- Fixed bug #77418 (Demo dir not packaged)
|
|
|
8db7d0 |
- More tweaking on #19347 (Moved Tools/ under /usr/lib/python2.3/Tools)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Aug 13 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-8
|
|
|
8db7d0 |
- Fixed bug #129769: Makefile in new python conflicts with older version found
|
|
|
8db7d0 |
in old python-devel
|
|
|
8db7d0 |
- Reorganized the spec file to get rid of the aspython2 define; __python_ver
|
|
|
8db7d0 |
is more powerful.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 3 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-7
|
|
|
8db7d0 |
- Including html documentation for non-i386 arches
|
|
|
8db7d0 |
- Fixed #125362 (python-doc html files have japanese character encoding)
|
|
|
8db7d0 |
- Fixed #128923 (missing dependency between python and python-devel)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 30 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-6
|
|
|
8db7d0 |
- Fixed #128030 (help() not printing anything)
|
|
|
8db7d0 |
- Fixed #125472 (distutils.sysconfig.get_python_lib() not returning the right
|
|
|
8db7d0 |
path on 64-bit systems)
|
|
|
8db7d0 |
- Fixed #127357 (building python as a shared library)
|
|
|
8db7d0 |
- Fixed #19347 (including the contents of Tools/scripts/ in python-tools)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
8db7d0 |
- rebuilt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 8 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-3
|
|
|
8db7d0 |
- Added an optik.py that provides the same interface from optparse for
|
|
|
8db7d0 |
backward compatibility; obsoleting python-optik
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 7 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-2
|
|
|
8db7d0 |
- Patched bdist_rpm to allow for builds of multiple binary rpms (bug #123598)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jun 4 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-1
|
|
|
8db7d0 |
- Updated to 2.3.4-1 with Robert Scheck's help (bug #124764)
|
|
|
8db7d0 |
- Added BuildRequires: tix-devel (bug #124918)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri May 7 2004 Mihai Ibanescu <misa@redhat.com> 2.3.3-6
|
|
|
8db7d0 |
- Correct fix for #122304 from upstream:
|
|
|
8db7d0 |
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=931848&group_id=5470
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu May 6 2004 Mihai Ibanescu <misa@redhat.com> 2.3.3-4
|
|
|
8db7d0 |
- Fix for bug #122304 : splitting the domain name fails on 64-bit arches
|
|
|
8db7d0 |
- Fix for bug #120879 : including Makefile into the main package
|
|
|
8db7d0 |
|
|
|
8db7d0 |
- Requires XFree86-devel instead of -libs (see bug #118442)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Mar 16 2004 Mihai Ibanescu <misa@redhat.com> 2.3.3-3
|
|
|
8db7d0 |
- Requires XFree86-devel instead of -libs (see bug #118442)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
8db7d0 |
- rebuilt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
8db7d0 |
- rebuilt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Dec 19 2003 Jeff Johnson <jbj@jbj.org> 2.3.3-1
|
|
|
8db7d0 |
- upgrade to 2.3.3.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 2.3.2-9
|
|
|
8db7d0 |
- rebuild against db-4.2.52.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Dec 12 2003 Jeremy Katz <katzj@redhat.com> 2.3.2-8
|
|
|
8db7d0 |
- more rebuilding for new tcl/tk
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Dec 3 2003 Jeff Johnson <jbj@jbj.org> 2.3.2-7.1
|
|
|
8db7d0 |
- rebuild against db-4.2.42.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Nov 28 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-7
|
|
|
8db7d0 |
- rebuilt against newer tcl/tk
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Nov 24 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-6
|
|
|
8db7d0 |
- added a Provides: python-abi
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Nov 12 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-5
|
|
|
8db7d0 |
- force CC (#109268)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Nov 9 2003 Jeremy Katz <katzj@redhat.com> 2.3.2-4
|
|
|
8db7d0 |
- cryptmodule still needs -lcrypt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Nov 5 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-2
|
|
|
8db7d0 |
- Added patch for missing mkhowto
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Oct 16 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-1
|
|
|
8db7d0 |
- Updated to 2.3.2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 25 2003 Mihai Ibanescu <misa@redhat.com> 2.3.1-1
|
|
|
8db7d0 |
- 2.3.1 final
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Sep 23 2003 Mihai Ibanescu <misa@redhat.com> 2.3.1-0.8.RC1
|
|
|
8db7d0 |
- Building the python 2.3.1 release candidate
|
|
|
8db7d0 |
- Updated the lib64 patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jul 30 2003 Mihai Ibanescu <misa@redhat.com> 2.3-0.2
|
|
|
8db7d0 |
- Building python 2.3
|
|
|
8db7d0 |
- Added more BuildRequires
|
|
|
8db7d0 |
- Updated the startup files for modulator and pynche; idle installs its own
|
|
|
8db7d0 |
now.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 3 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-4
|
|
|
8db7d0 |
- Rebuilt against newer db4 packages (bug #98539)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 9 2003 Elliot Lee <sopwith@redhat.com> 2.2.3-3
|
|
|
8db7d0 |
- rebuilt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Jun 7 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-2
|
|
|
8db7d0 |
- Rebuilt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jun 6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-1
|
|
|
8db7d0 |
- Upgraded to 2.2.3
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 2 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-28
|
|
|
8db7d0 |
- Rebuilt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Apr 2 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-27
|
|
|
8db7d0 |
- Modified the ftpuri patch conforming to http://ietf.org/rfc/rfc1738.txt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
8db7d0 |
- rebuilt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 24 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-25
|
|
|
8db7d0 |
- Fixed bug #84886: pydoc dies when run w/o arguments
|
|
|
8db7d0 |
- Fixed bug #84205: add python shm module back (used to be shipped with 1.5.2)
|
|
|
8db7d0 |
- Fixed bug #84966: path in byte-compiled code still wrong
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 20 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-23
|
|
|
8db7d0 |
- ftp uri's should be able to specify being rooted at the root instead of
|
|
|
8db7d0 |
where you login via ftp (#84692)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 10 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-22
|
|
|
8db7d0 |
- Using newer Japanese codecs (1.4.9). Thanks to
|
|
|
8db7d0 |
Peter Bowen <pzb@datastacks.com> for pointing this out.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-21
|
|
|
8db7d0 |
- Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Feb 5 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-20
|
|
|
8db7d0 |
- Release number bumped really high: turning on UCS4 (ABI compatibility
|
|
|
8db7d0 |
breakage)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 31 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-13
|
|
|
8db7d0 |
- Attempt to look both in /usr/lib64 and /usr/lib/python2.2/site-packages/:
|
|
|
8db7d0 |
some work on python-2.2.2-lib64.patch
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-12
|
|
|
8db7d0 |
- Rebuild to incorporate the removal of .lib64 and - files.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-11.7.3
|
|
|
8db7d0 |
- Fixed bug #82544: Errata removes most tools
|
|
|
8db7d0 |
- Fixed bug #82435: Python 2.2.2 errata breaks redhat-config-users
|
|
|
8db7d0 |
- Removed .lib64 and - files that get installed after we fix the multilib
|
|
|
8db7d0 |
.py files.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
8db7d0 |
- rebuilt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 2.2.2-10
|
|
|
8db7d0 |
- rebuild to update tkinter's tcltk deps
|
|
|
8db7d0 |
- convert changelog to utf-8
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.2-9
|
|
|
8db7d0 |
- rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 3 2003 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
8db7d0 |
- pick up OpenSSL cflags and ldflags from pkgconfig if available
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jan 2 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-8
|
|
|
8db7d0 |
- urllib2 didn't support non-anonymous ftp. add support based on how
|
|
|
8db7d0 |
urllib did it (#80676, #78168)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Dec 16 2002 Mihai Ibanescu <misa@redhat.com> 2.2.2-7
|
|
|
8db7d0 |
- Fix bug #79647 (Rebuild of SRPM fails if python isn't installed)
|
|
|
8db7d0 |
- Added a bunch of missing BuildRequires found while fixing the
|
|
|
8db7d0 |
above-mentioned bug
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Dec 10 2002 Tim Powers <timp@redhat.com> 2.2.2-6
|
|
|
8db7d0 |
- rebuild to fix broken tcltk deps for tkinter
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Nov 22 2002 Mihai Ibanescu <misa@redhat.com>
|
|
|
8db7d0 |
2.2.2-3.7.3
|
|
|
8db7d0 |
- Recompiled for 7.3 (to fix the -lcrypt bug)
|
|
|
8db7d0 |
- Fix for the spurious error message at the end of the build (build-requires
|
|
|
8db7d0 |
gets confused by executable files starting with """"): make the tests
|
|
|
8db7d0 |
non-executable.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Nov 20 2002 Mihai Ibanescu <misa@redhat.com>
|
|
|
8db7d0 |
2.2.2-5
|
|
|
8db7d0 |
- Fixed configuration patch to add -lcrypt when compiling cryptmodule.c
|
|
|
8db7d0 |
|
|
|
8db7d0 |
2.2.2-4
|
|
|
8db7d0 |
- Spec file change from Matt Wilson <msw@redhat.com> to disable linking
|
|
|
8db7d0 |
with the C++ compiler.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Nov 11 2002 Mihai Ibanescu <misa@redhat.com>
|
|
|
8db7d0 |
2.2.2-3.*
|
|
|
8db7d0 |
- Merged patch from Karsten Hopp <karsten@redhat.de> from 2.2.1-17hammer to
|
|
|
8db7d0 |
use %%{_libdir}
|
|
|
8db7d0 |
- Added XFree86-libs as BuildRequires (because of tkinter)
|
|
|
8db7d0 |
- Fixed duplicate listing of plat-linux2
|
|
|
8db7d0 |
- Fixed exclusion of lib-dynload/japanese
|
|
|
8db7d0 |
- Added lib64 patch for the japanese codecs
|
|
|
8db7d0 |
- Use setup magic instead of using tar directly on JapaneseCodecs
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Nov 5 2002 Mihai Ibanescu <misa@redhat.com>
|
|
|
8db7d0 |
2.2.2-2
|
|
|
8db7d0 |
- Fix #76912 (python-tools contains idle, which uses tkinter, but there is no
|
|
|
8db7d0 |
requirement of tkinter from python-tools).
|
|
|
8db7d0 |
- Fix #74013 (rpm is missing the /usr/lib/python2.2/test directory)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Nov 4 2002 Mihai Ibanescu <misa@redhat.com>
|
|
|
8db7d0 |
- builds as python2 require a different libdb
|
|
|
8db7d0 |
- changed the buildroot name of python to match python2 builds
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Nov 1 2002 Mihai Ibanescu <misa@redhat.com>
|
|
|
8db7d0 |
- updated python to 2.2.2 and adjusted the patches accordingly
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Oct 21 2002 Mihai Ibanescu <misa@redhat.com>
|
|
|
8db7d0 |
- Fix #53930 (Python-2.2.1-buildroot-bytecode.patch)
|
|
|
8db7d0 |
- Added BuildPrereq dependency on gcc-c++
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Aug 30 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-17
|
|
|
8db7d0 |
- security fix for _execvpe
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Aug 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-16
|
|
|
8db7d0 |
- Fix #71011,#71134, #58157
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Aug 7 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-15
|
|
|
8db7d0 |
- Resurrect tkinter
|
|
|
8db7d0 |
- Fix for distutils (#67671)
|
|
|
8db7d0 |
- Fix #69962
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jul 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-14
|
|
|
8db7d0 |
- Obsolete tkinter/tkinter2 (#69838)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-13
|
|
|
8db7d0 |
- Doc fixes (#53951) - not on alpha at the momemt
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jul 8 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-12
|
|
|
8db7d0 |
- fix pydoc (#68082)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jul 8 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-11
|
|
|
8db7d0 |
- Add db4-devel as a BuildPrereq
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.2.1-10
|
|
|
8db7d0 |
- automated rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Jun 17 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-9
|
|
|
8db7d0 |
- Add Japanese codecs (#66352)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 11 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-8
|
|
|
8db7d0 |
- No more tkinter...
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed May 29 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-7
|
|
|
8db7d0 |
- Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue May 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-6
|
|
|
8db7d0 |
- Add the email subcomponent (#65301)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri May 10 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-5
|
|
|
8db7d0 |
- Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu May 02 2002 Than Ngo <than@redhat.com> 2.2.1-4
|
|
|
8db7d0 |
- rebuild i new enviroment
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Apr 23 2002 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
8db7d0 |
- Use ucs2, not ucs4, to avoid breaking tkinter (#63965)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Apr 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-2
|
|
|
8db7d0 |
- Make it use db4
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-1
|
|
|
8db7d0 |
- 2.2.1 - a bugfix-only release
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-16
|
|
|
8db7d0 |
- the same, but in builddirs - this will remove them from the
|
|
|
8db7d0 |
docs package, which doesn't look in the buildroot for files.
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-15
|
|
|
8db7d0 |
- Get rid of temporary files and .cvsignores included
|
|
|
8db7d0 |
in the tarball and make install
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Apr 5 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-14
|
|
|
8db7d0 |
- Don't own lib-tk in main package, only in tkinter (#62753)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Mar 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-13
|
|
|
8db7d0 |
- rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Mar 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-12
|
|
|
8db7d0 |
- rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Mar 1 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-11
|
|
|
8db7d0 |
- Add a not to the Distutils obsoletes test (doh!)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Mar 1 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-10
|
|
|
8db7d0 |
- Rebuild
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Feb 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-9
|
|
|
8db7d0 |
- Only obsolete Distutils when built as python
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Feb 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-8
|
|
|
8db7d0 |
- Make files in /usr/bin install side by side with python 1.5 when
|
|
|
8db7d0 |
- Drop explicit requirement of db4
|
|
|
8db7d0 |
built as python2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jan 31 2002 Elliot Lee <sopwith@redhat.com> 2.2-7
|
|
|
8db7d0 |
- Use version and pybasever macros to make updating easy
|
|
|
8db7d0 |
- Use _smp_mflags macro
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jan 29 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-6
|
|
|
8db7d0 |
- Add db4-devel to BuildPrereq
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jan 25 2002 Nalin Dahyabhai <nalin@redhat.com> 2.2-5
|
|
|
8db7d0 |
- disable ndbm support, which is db2 in disguise (really interesting things
|
|
|
8db7d0 |
can happen when you mix db2 and db4 in a single application)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Jan 24 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-4
|
|
|
8db7d0 |
- Obsolete subpackages if necesarry
|
|
|
8db7d0 |
- provide versioned python2
|
|
|
8db7d0 |
- build with db4
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Jan 16 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-3
|
|
|
8db7d0 |
- Alpha toolchain broken. Disable build on alpha.
|
|
|
8db7d0 |
- New openssl
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Dec 26 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-1
|
|
|
8db7d0 |
- 2.2 final
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Dec 14 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.11c1
|
|
|
8db7d0 |
- 2.2 RC 1
|
|
|
8db7d0 |
- Don't include the _tkinter module in the main package - it's
|
|
|
8db7d0 |
already in the tkiter packace
|
|
|
8db7d0 |
- Turn off the mpzmodule, something broke in the buildroot
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Nov 28 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.10b2
|
|
|
8db7d0 |
- Use -fPIC for OPT as well, in lack of a proper libpython.so
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Nov 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.9b2
|
|
|
8db7d0 |
- changed DESTDIR to point to / so that distutils will install dynload
|
|
|
8db7d0 |
modules properly in the installroot
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Nov 16 2001 Matt Wilson <msw@redhat.com> 2.2-0.8b2
|
|
|
8db7d0 |
- 2.2b2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Oct 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.7b1
|
|
|
8db7d0 |
- python2ify
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Oct 19 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.5b1
|
|
|
8db7d0 |
- 2.2b1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sun Sep 30 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.4a4
|
|
|
8db7d0 |
- 2.2a4
|
|
|
8db7d0 |
- Enable UCS4 support
|
|
|
8db7d0 |
- Enable IPv6
|
|
|
8db7d0 |
- Provide distutils
|
|
|
8db7d0 |
- Include msgfmt.py and pygettext.py
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Sep 14 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.3a3
|
|
|
8db7d0 |
- Obsolete Distutils, which is now part of the main package
|
|
|
8db7d0 |
- Obsolete python2
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Sep 13 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.2a3
|
|
|
8db7d0 |
- Add docs, tools and tkinter subpackages, to match the 1.5 layout
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Sep 12 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.1a3
|
|
|
8db7d0 |
- 2.2a3
|
|
|
8db7d0 |
- don't build tix and blt extensions
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Aug 13 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
8db7d0 |
- Add tk and tix to build dependencies
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Sat Jul 21 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
8db7d0 |
- 2.1.1 bugfix release - with a GPL compatible license
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jul 20 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
8db7d0 |
- Add new build dependencies (#49753)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Jun 26 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
8db7d0 |
- build with -fPIC
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Jun 1 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
8db7d0 |
- 2.1
|
|
|
8db7d0 |
- reorganization of file includes
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Wed Dec 20 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
|
8db7d0 |
- fix the "requires" clause, it lacked a space causing problems
|
|
|
8db7d0 |
- use %%{_tmppath}
|
|
|
8db7d0 |
- don't define name, version etc
|
|
|
8db7d0 |
- add the available patches from the Python home page
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
|
|
|
8db7d0 |
- added devel subpackage
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
|
|
|
8db7d0 |
- modify all files to use "python2.0" as the intrepter
|
|
|
8db7d0 |
- don't build the Expat bindings
|
|
|
8db7d0 |
- build against db1
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Oct 16 2000 Jeremy Hylton <jeremy@beopen.com>
|
|
|
8db7d0 |
- updated for 2.0 final
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Mon Oct 9 2000 Jeremy Hylton <jeremy@beopen.com>
|
|
|
8db7d0 |
- updated for 2.0c1
|
|
|
8db7d0 |
- build audioop, imageop, and rgbimg extension modules
|
|
|
8db7d0 |
- include xml.parsers subpackage
|
|
|
8db7d0 |
- add test.xml.out to files list
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Thu Oct 5 2000 Jeremy Hylton <jeremy@beopen.com>
|
|
|
8db7d0 |
- added bin/python2.0 to files list (suggested by Martin v. L?)
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Sep 26 2000 Jeremy Hylton <jeremy@beopen.com>
|
|
|
8db7d0 |
- updated for release 1 of 2.0b2
|
|
|
8db7d0 |
- use .bz2 version of Python source
|
|
|
8db7d0 |
|
|
|
8db7d0 |
* Tue Sep 12 2000 Jeremy Hylton <jeremy@beopen.com>
|
|
|
8db7d0 |
- Version 2 of 2.0b1
|
|
|
8db7d0 |
- Make the package relocatable. Thanks to Suchandra Thapa.
|
|
|
8db7d0 |
- Exclude Tkinter from main RPM. If it is in a separate RPM, it is
|
|
|
8db7d0 |
easier to track Tk releases.
|