Blame SPECS/python.spec

23b3e9
# scl stuff
23b3e9
%{?scl:%scl_package python}
23b3e9
%{!?scl:%global pkg_name %{name}}
23b3e9
# turn of default bytecompilation and use the built Python for it
23b3e9
%global _turn_off_bytecompile 1
23b3e9
23b3e9
# ======================================================
23b3e9
# Conditionals and other variables controlling the build
23b3e9
# ======================================================
23b3e9
f992f7
%global with_rewheel 1
f992f7
23b3e9
%{!?__python_ver:%global __python_ver EMPTY}
23b3e9
#global __python_ver 27
23b3e9
%global unicode ucs4
23b3e9
23b3e9
%if "%{__python_ver}" != "EMPTY"
23b3e9
%global main_python 0
23b3e9
%global python python%{__python_ver}
23b3e9
%global tkinter tkinter%{__python_ver}
23b3e9
%else
23b3e9
%global main_python 1
23b3e9
%global python python
23b3e9
%global tkinter tkinter
23b3e9
%endif
23b3e9
23b3e9
%global pybasever 2.7
23b3e9
%global pylibdir %{_libdir}/python%{pybasever}
23b3e9
%global tools_dir %{pylibdir}/Tools
23b3e9
%global demo_dir %{pylibdir}/Demo
23b3e9
%global doc_tools_dir %{pylibdir}/Doc/tools
23b3e9
%global dynload_dir %{pylibdir}/lib-dynload
23b3e9
%global site_packages %{pylibdir}/site-packages
23b3e9
23b3e9
# Python's configure script defines SOVERSION, and this is used in the Makefile
23b3e9
# to determine INSTSONAME, the name of the libpython DSO:
23b3e9
#   LDLIBRARY='libpython$(VERSION).so'
23b3e9
#   INSTSONAME="$LDLIBRARY".$SOVERSION
23b3e9
# We mirror this here in order to make it easier to add the -gdb.py hooks.
23b3e9
# (if these get out of sync, the payload of the libs subpackage will fail
23b3e9
# and halt the build)
23b3e9
%global py_SOVERSION 1.0
23b3e9
%global py_INSTSONAME_optimized libpython%{pybasever}.so.%{py_SOVERSION}
23b3e9
%global py_INSTSONAME_debug     libpython%{pybasever}_d.so.%{py_SOVERSION}
23b3e9
23b3e9
%global with_debug_build 1
23b3e9
23b3e9
# Disabled for now:
23b3e9
%global with_huntrleaks 0
23b3e9
23b3e9
%global with_gdb_hooks 1
23b3e9
23b3e9
%global with_systemtap 1
23b3e9
23b3e9
# some arches don't have valgrind so we need to disable its support on them
ba47ae
%ifarch %{ix86} x86_64 ppc %{power64} s390x aarch64
23b3e9
%global with_valgrind 1
23b3e9
%else
23b3e9
%global with_valgrind 0
23b3e9
%endif
23b3e9
23b3e9
%global with_gdbm 1
23b3e9
23b3e9
# Turn this to 0 to turn off the "check" phase:
23b3e9
%global run_selftest_suite 1
23b3e9
23b3e9
# Some of the files below /usr/lib/pythonMAJOR.MINOR/test  (e.g. bad_coding.py)
23b3e9
# are deliberately invalid, leading to SyntaxError exceptions if they get
23b3e9
# byte-compiled.
23b3e9
#
23b3e9
# These errors are ignored by the normal python build, and aren't normally a
23b3e9
# problem in the buildroots since /usr/bin/python isn't present.
23b3e9
# 
23b3e9
# However, for the case where we're rebuilding the python srpm on a machine
23b3e9
# that does have python installed we need to set this to avoid
23b3e9
# brp-python-bytecompile treating these as fatal errors:
23b3e9
#
23b3e9
%{!?scl:%global _python_bytecompile_errors_terminate_build 0}
23b3e9
23b3e9
# if in scl, kill the default bytecompilation process and bytecompile at the end of %%install
23b3e9
%{?scl:%global __os_install_post /usr/lib/rpm/brp-scl-compress %{_scl_root} \
23b3e9
    %{!?__debug_package:/usr/lib/rpm/redhat/brp-strip %{__strip} \
23b3e9
    /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \
23b3e9
    } \
23b3e9
    /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \
23b3e9
    /usr/lib/rpm/redhat/brp-python-hardlink}
23b3e9
23b3e9
# We need to get a newer configure generated out of configure.in for the following
23b3e9
# patches:
23b3e9
#   patch 4 (CFLAGS)
23b3e9
#   patch 52 (valgrind)
23b3e9
#   patch 55 (systemtap)
23b3e9
#   patch 145 (linux2)
23b3e9
# 
23b3e9
# For patch 55 (systemtap), we need to get a new header for configure to use
23b3e9
#
23b3e9
# configure.in requires autoconf-2.65, but the version in Fedora is currently
23b3e9
# autoconf-2.66
23b3e9
#
23b3e9
# For now, we'll generate a patch to the generated configure script and
23b3e9
# pyconfig.h.in on a machine that has a local copy of autoconf 2.65
23b3e9
#
23b3e9
# Instructions on obtaining such a copy can be seen at
23b3e9
#   http://bugs.python.org/issue7997
23b3e9
#
23b3e9
# To make it easy to regenerate the patch, this specfile can be run in two
23b3e9
# ways:
23b3e9
# (i) regenerate_autotooling_patch  0 : the normal approach: prep the
23b3e9
# source tree using a pre-generated patch to the "configure" script, and do a
23b3e9
# full build
23b3e9
# (ii) regenerate_autotooling_patch 1 : intended to be run on a developer's
23b3e9
# workstation: prep the source tree without patching configure, then rerun a
23b3e9
# local copy of autoconf-2.65, regenerate the patch, then exit, without doing
23b3e9
# the rest of the build
23b3e9
%global regenerate_autotooling_patch 0
23b3e9
23b3e9
23b3e9
# ==================
23b3e9
# Top-level metadata
23b3e9
# ==================
23b3e9
Summary: An interpreted, interactive, object-oriented programming language
23b3e9
Name: %{?scl_prefix}%{python}
23b3e9
# Remember to also rebase python-docs when changing this:
ec62d5
Version: 2.7.18
45541d
Release: 4%{?dist}
23b3e9
License: Python
23b3e9
Group: Development/Languages
23b3e9
%{?scl:Requires: %{scl}-runtime}
23b3e9
Requires: %{?scl_prefix}%{python}-libs%{?_isa} = %{version}-%{release}
23b3e9
Provides: %{?scl_prefix}python-abi = %{pybasever}
23b3e9
Provides: %{?scl_prefix}python(abi) = %{pybasever}
23b3e9
23b3e9
23b3e9
# =======================
23b3e9
# Build-time requirements
23b3e9
# =======================
23b3e9
23b3e9
# (keep this list alphabetized)
23b3e9
23b3e9
%{?scl:BuildRequires: %{scl}-runtime}
23b3e9
BuildRequires: autoconf
23b3e9
BuildRequires: bzip2
23b3e9
BuildRequires: bzip2-devel
23b3e9
BuildRequires: expat-devel
23b3e9
BuildRequires: findutils
23b3e9
BuildRequires: gcc-c++
23b3e9
%if %{with_gdbm}
23b3e9
BuildRequires: gdbm-devel
23b3e9
%endif
ec62d5
BuildRequires: git-core
23b3e9
BuildRequires: glibc-devel
23b3e9
BuildRequires: gmp-devel
23b3e9
BuildRequires: libdb-devel
23b3e9
BuildRequires: libffi-devel
23b3e9
BuildRequires: libGL-devel
23b3e9
BuildRequires: libX11-devel
23b3e9
BuildRequires: ncurses-devel
23b3e9
BuildRequires: openssl-devel
23b3e9
BuildRequires: pkgconfig
23b3e9
BuildRequires: readline-devel
23b3e9
BuildRequires: sqlite-devel
23b3e9
23b3e9
%if 0%{?with_systemtap}
23b3e9
BuildRequires: systemtap-sdt-devel
23b3e9
# (this introduces a circular dependency, in that systemtap-sdt-devel's
23b3e9
# /usr/bin/dtrace is a python script)
23b3e9
%global tapsetdir      %{_datadir}/systemtap/tapset
23b3e9
%endif # with_systemtap
23b3e9
23b3e9
BuildRequires: tar
23b3e9
BuildRequires: tcl-devel
23b3e9
BuildRequires: tix-devel
23b3e9
BuildRequires: tk-devel
23b3e9
23b3e9
%if 0%{?with_valgrind}
23b3e9
BuildRequires: valgrind-devel
23b3e9
%endif
23b3e9
23b3e9
BuildRequires: zlib-devel
23b3e9
f992f7
%if 0%{?with_rewheel}
f992f7
BuildRequires: %{?scl_prefix}python-setuptools
f992f7
BuildRequires: %{?scl_prefix}python-pip
f992f7
f992f7
Requires: %{?scl_prefix}python-setuptools
f992f7
Requires: %{?scl_prefix}python-pip
f992f7
%endif
f992f7
23b3e9
23b3e9
23b3e9
# =======================
23b3e9
# Source code and patches
23b3e9
# =======================
23b3e9
23b3e9
Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.xz
23b3e9
23b3e9
# SCL-custom version of pythondeps.sh
057d67
# Moved to metapackage python27
23b3e9
23b3e9
# Work around bug 562906 until it's fixed in rpm-build by providing a fixed
23b3e9
# version of pythondeps.sh:
23b3e9
# Python requires generating script is placed in the SCL metapackage
23b3e9
# Source2: pythondeps.sh
23b3e9
# %%global __python_requires %%{SOURCE2}
23b3e9
23b3e9
# Systemtap tapset to make it easier to use the systemtap static probes
23b3e9
# (actually a template; LIBRARY_PATH will get fixed up during install)
23b3e9
# Written by dmalcolm; not yet sent upstream
23b3e9
Source3: libpython.stp
23b3e9
23b3e9
23b3e9
# Example systemtap script using the tapset
23b3e9
# Written by wcohen, mjw, dmalcolm; not yet sent upstream
23b3e9
Source4: systemtap-example.stp
23b3e9
23b3e9
# Another example systemtap script that uses the tapset
23b3e9
# Written by dmalcolm; not yet sent upstream
23b3e9
Source5: pyfuntop.stp
23b3e9
23b3e9
# Supply various useful macros for building python 2 modules:
23b3e9
#  __python2, python2_sitelib, python2_sitearch, python2_version
23b3e9
Source6: macros.python2
23b3e9
23b3e9
Source7: brp-python-bytecompile-with-scl-python
23b3e9
057d67
# Configuration file to change ssl verification settings globally
057d67
# Downstream only see Patch224
057d67
Source8: cert-verification.cfg
057d67
23b3e9
# Modules/Setup.dist is ultimately used by the "makesetup" script to construct
23b3e9
# the Makefile and config.c
23b3e9
#
23b3e9
# Upstream leaves many things disabled by default, to try to make it easy as
23b3e9
# possible to build the code on as many platforms as possible.
23b3e9
#
23b3e9
# TODO: many modules can also now be built by setup.py after the python binary
23b3e9
# has been built; need to assess if we should instead build things there
23b3e9
#
23b3e9
# We patch it downstream as follows:
23b3e9
#   - various modules are built by default by upstream as static libraries;
23b3e9
#   we built them as shared libraries
23b3e9
#   - build the "readline" module (appears to also be handled by setup.py now)
23b3e9
#   - enable the build of the following modules:
23b3e9
#     - array arraymodule.c	# array objects
23b3e9
#     - cmath cmathmodule.c # -lm # complex math library functions
23b3e9
#     - math mathmodule.c # -lm # math library functions, e.g. sin()
23b3e9
#     - _struct _struct.c	# binary structure packing/unpacking
23b3e9
#     - time timemodule.c # -lm # time operations and variables
23b3e9
#     - operator operator.c	# operator.add() and similar goodies
23b3e9
#     - _weakref _weakref.c	# basic weak reference support
23b3e9
#     - _testcapi _testcapimodule.c    # Python C API test module
23b3e9
#     - _random _randommodule.c	# Random number generator
23b3e9
#     - _collections _collectionsmodule.c # Container types
23b3e9
#     - itertools itertoolsmodule.c
23b3e9
#     - strop stropmodule.c
23b3e9
#     - _functools _functoolsmodule.c
23b3e9
#     - _bisect _bisectmodule.c	# Bisection algorithms
23b3e9
#     - unicodedata unicodedata.c    # static Unicode character database
23b3e9
#     - _locale _localemodule.c
23b3e9
#     - fcntl fcntlmodule.c	# fcntl(2) and ioctl(2)
23b3e9
#     - spwd spwdmodule.c		# spwd(3) 
23b3e9
#     - grp grpmodule.c		# grp(3)
23b3e9
#     - select selectmodule.c	# select(2); not on ancient System V
23b3e9
#     - mmap mmapmodule.c  # Memory-mapped files
23b3e9
#     - _csv _csv.c  # CSV file helper
23b3e9
#     - _socket socketmodule.c  # Socket module helper for socket(2)
23b3e9
#     - _ssl _ssl.c
23b3e9
#     - crypt cryptmodule.c -lcrypt	# crypt(3)
23b3e9
#     - nis nismodule.c -lnsl	# Sun yellow pages -- not everywhere
23b3e9
#     - termios termios.c	# Steen Lumholt's termios module
23b3e9
#     - resource resource.c	# Jeremy Hylton's rlimit interface
23b3e9
#     - audioop audioop.c	# Operations on audio samples
23b3e9
#     - imageop imageop.c	# Operations on images
23b3e9
#     - _md5 md5module.c md5.c
23b3e9
#     - _sha shamodule.c
23b3e9
#     - _sha256 sha256module.c
23b3e9
#     - _sha512 sha512module.c
23b3e9
#     - linuxaudiodev linuxaudiodev.c
23b3e9
#     - timing timingmodule.c
23b3e9
#     - _tkinter _tkinter.c tkappinit.c
23b3e9
#     - dl dlmodule.c
23b3e9
#     - gdbm gdbmmodule.c
23b3e9
#     - _bsddb _bsddb.c
23b3e9
#     - binascii binascii.c
23b3e9
#     - parser parsermodule.c
23b3e9
#     - cStringIO cStringIO.c
23b3e9
#     - cPickle cPickle.c
23b3e9
#     - zlib zlibmodule.c
23b3e9
#     - _multibytecodec cjkcodecs/multibytecodec.c
23b3e9
#     - _codecs_cn cjkcodecs/_codecs_cn.c
23b3e9
#     - _codecs_hk cjkcodecs/_codecs_hk.c
23b3e9
#     - _codecs_iso2022 cjkcodecs/_codecs_iso2022.c
23b3e9
#     - _codecs_jp cjkcodecs/_codecs_jp.c
23b3e9
#     - _codecs_kr cjkcodecs/_codecs_kr.c
23b3e9
#     - _codecs_tw cjkcodecs/_codecs_tw.c
23b3e9
Patch0: python-2.7.1-config.patch
23b3e9
23b3e9
# Removes the "-g" option from "pydoc", for some reason; I believe
23b3e9
# (dmalcolm 2010-01-29) that this was introduced in this change:
23b3e9
# - fix pydoc (#68082)
23b3e9
# in 2.2.1-12 as a response to the -g option needing TkInter installed
23b3e9
# (Red Hat Linux 8)
23b3e9
# Not upstream
23b3e9
Patch1: 00001-pydocnogui.patch
23b3e9
23b3e9
# Add $(CFLAGS) to the linker arguments when linking the "python" binary
23b3e9
# since some architectures (sparc64) need this (rhbz:199373).
23b3e9
# Not yet filed upstream
23b3e9
Patch4: python-2.5-cflags.patch
23b3e9
23b3e9
# Work around a bug in Python' gettext module relating to the "Plural-Forms"
23b3e9
# header (rhbz:252136)
23b3e9
# Related to upstream issues:
23b3e9
#   http://bugs.python.org/issue1448060 and http://bugs.python.org/issue1475523
23b3e9
# though the proposed upstream patches are, alas, different
23b3e9
Patch6: python-2.5.1-plural-fix.patch
23b3e9
23b3e9
# This patch was listed in the changelog as: 
23b3e9
#  * Fri Sep 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-11
23b3e9
#  - fix encoding of sqlite .py files to work around weird encoding problem 
23b3e9
#  in Turkish (#283331)
23b3e9
# A traceback attached to rhbz 244016 shows the problem most clearly: a
23b3e9
# traceback on attempting to import the sqlite module, with:
23b3e9
#   "SyntaxError: encoding problem: with BOM (__init__.py, line 1)"
23b3e9
# This seems to come from Parser/tokenizer.c:check_coding_spec
23b3e9
# Our patch changes two source files within sqlite3, removing the
23b3e9
# "coding: ISO-8859-1" specs and character E4 = U+00E4 = 
23b3e9
# LATIN SMALL LETTER A WITH DIAERESIS from in ghaering's surname. 
23b3e9
#
23b3e9
# It may be that the conversion of "ISO-8859-1" to "iso-8859-1" is thwarted
23b3e9
# by the implementation of "tolower" in the Turkish locale; see:
23b3e9
#   https://bugzilla.redhat.com/show_bug.cgi?id=191096#c9
23b3e9
# 
23b3e9
# TODO: Not yet sent upstream, and appears to me (dmalcolm 2010-01-29) that
23b3e9
# it may be papering over a symptom
23b3e9
Patch7: python-2.5.1-sqlite-encoding.patch
23b3e9
23b3e9
# FIXME: Lib/ctypes/util.py posix implementation defines a function
23b3e9
# _get_soname(f).  Upstreams's implementation of this uses objdump to read the
23b3e9
# SONAME from a library; we avoid this, apparently to minimize space
23b3e9
# requirements on the live CD:
23b3e9
# (rhbz:307221)
23b3e9
Patch10: python-2.7rc1-binutils-no-dep.patch
23b3e9
23b3e9
# Add various constants to the socketmodule (rhbz#436560):
23b3e9
# TODO: these patches were added in 2.5.1-22 and 2.5.1-24 but appear not to
23b3e9
# have been sent upstream yet:
23b3e9
Patch13: python-2.7rc1-socketmodule-constants.patch
23b3e9
Patch14: python-2.7rc1-socketmodule-constants2.patch
23b3e9
23b3e9
# Remove an "-rpath $(LIBDIR)" argument from the linkage args in configure.in:
23b3e9
# FIXME: is this for OSF, not Linux?
23b3e9
Patch16: python-2.6-rpath.patch
23b3e9
23b3e9
# Fixup distutils/unixccompiler.py to remove standard library path from rpath:
23b3e9
# Adapted from Patch0 in ivazquez' python3000 specfile, removing usage of
23b3e9
# super() as it's an old-style class
23b3e9
Patch17: python-2.6.4-distutils-rpath.patch
23b3e9
23b3e9
# 00055 #
23b3e9
# Systemtap support: add statically-defined probe points
23b3e9
# Patch based on upstream bug: http://bugs.python.org/issue4111
23b3e9
# fixed up by mjw and wcohen for 2.6.2, then fixed up by dmalcolm for 2.6.4
23b3e9
# then rewritten by mjw (attachment 390110 of rhbz 545179), then reformatted
23b3e9
# for 2.7rc1 by dmalcolm:
23b3e9
Patch55: 00055-systemtap.patch
23b3e9
23b3e9
# Only used when "%{_lib}" == "lib64"
23b3e9
# Fixup various paths throughout the build and in distutils from "lib" to "lib64",
23b3e9
# and add the /usr/lib64/pythonMAJOR.MINOR/site-packages to sitedirs, in front of
23b3e9
# /usr/lib/pythonMAJOR.MINOR/site-packages
23b3e9
# Not upstream
23b3e9
Patch102: python-2.7.3-lib64.patch
23b3e9
23b3e9
# Python 2.7 split out much of the path-handling from distutils/sysconfig.py to
23b3e9
# a new sysconfig.py (in r77704).
23b3e9
# We need to make equivalent changes to that new file to ensure that the stdlib
23b3e9
# and platform-specific code go to /usr/lib64 not /usr/lib, on 64-bit archs:
23b3e9
Patch103: python-2.7-lib64-sysconfig.patch
23b3e9
23b3e9
# 00104 #
23b3e9
# Only used when "%{_lib}" == "lib64"
23b3e9
# Another lib64 fix, for distutils/tests/test_install.py; not upstream:
23b3e9
Patch104: 00104-lib64-fix-for-test_install.patch
23b3e9
23b3e9
# 00111 #
23b3e9
# Patch the Makefile.pre.in so that the generated Makefile doesn't try to build
23b3e9
# a libpythonMAJOR.MINOR.a (bug 550692):
23b3e9
# Downstream only: not appropriate for upstream
23b3e9
Patch111: 00111-no-static-lib.patch
23b3e9
23b3e9
# 00112 #
23b3e9
# Patch to support building both optimized vs debug stacks DSO ABIs, sharing
23b3e9
# the same .py and .pyc files, using "_d.so" to signify a debug build of an
23b3e9
# extension module.
23b3e9
#
23b3e9
# Based on Debian's patch for the same, 
23b3e9
#  http://patch-tracker.debian.org/patch/series/view/python2.6/2.6.5-2/debug-build.dpatch
23b3e9
# 
23b3e9
# (which was itself based on the upstream Windows build), but with some
23b3e9
# changes:
23b3e9
#
23b3e9
#   * Debian's patch to dynload_shlib.c looks for module_d.so, then module.so,
23b3e9
# but this can potentially find a module built against the wrong DSO ABI.  We
23b3e9
# instead search for just module_d.so in a debug build
23b3e9
#
23b3e9
#   * We remove this change from configure.in's build of the Makefile:
23b3e9
#   SO=$DEBUG_EXT.so
23b3e9
# so that sysconfig.py:customize_compiler stays with shared_lib_extension='.so'
23b3e9
# on debug builds, so that UnixCCompiler.find_library_file can find system
23b3e9
# libraries (otherwise "make sharedlibs" fails to find system libraries,
23b3e9
# erroneously looking e.g. for "libffi_d.so" rather than "libffi.so")
23b3e9
#
23b3e9
#   * We change Lib/distutils/command/build_ext.py:build_ext.get_ext_filename
23b3e9
# to add the _d there, when building an extension.  This way, "make sharedlibs"
23b3e9
# can build ctypes, by finding the sysmtem libffi.so (rather than failing to
23b3e9
# find "libffi_d.so"), and builds the module as _ctypes_d.so
23b3e9
#   
23b3e9
#   * Similarly, update build_ext:get_libraries handling of Py_ENABLE_SHARED by
23b3e9
# appending "_d" to the python library's name for the debug configuration
23b3e9
#
23b3e9
#   * We modify Modules/makesetup to add the "_d" to the generated Makefile
23b3e9
# rules for the various Modules/*.so targets
23b3e9
#
23b3e9
# This may introduce issues when building an extension that links directly
23b3e9
# against another extension (e.g. users of NumPy?), but seems more robust when
23b3e9
# searching for external libraries
23b3e9
#
23b3e9
#   * We don't change Lib/distutils/command/build.py: build.build_purelib to
23b3e9
# embed plat_specifier, leaving it as is, as pure python builds should be
23b3e9
# unaffected by these differences (we'll be sharing the .py and .pyc files)
23b3e9
#
23b3e9
#   * We introduce DEBUG_SUFFIX as well as DEBUG_EXT:
23b3e9
#     - DEBUG_EXT is used by ELF files (names and SONAMEs); it will be "_d" for
23b3e9
# a debug build
23b3e9
#     - DEBUG_SUFFIX is used by filesystem paths; it will be "-debug" for a
23b3e9
# debug build
23b3e9
#
23b3e9
#   Both will be empty in an optimized build.  "_d" contains characters that
23b3e9
# are valid ELF metadata, but this leads to various ugly filesystem paths (such
23b3e9
# as the include path), and DEBUG_SUFFIX allows these paths to have more natural
23b3e9
# names.  Changing this requires changes elsewhere in the distutils code.
23b3e9
#
23b3e9
#   * We add DEBUG_SUFFIX to PYTHON in the Makefile, so that the two
23b3e9
# configurations build parallel-installable binaries with different names
23b3e9
# ("python-debug" vs "python").
23b3e9
#
23b3e9
#   * Similarly, we add DEBUG_SUFFIX within python-config and
23b3e9
#  python$(VERSION)-config, so that the two configuration get different paths
23b3e9
#  for these.
23b3e9
#
23b3e9
#  See also patch 130 below
23b3e9
#
23b3e9
Patch112: python-2.7.3-debug-build.patch
23b3e9
23b3e9
23b3e9
# 00113 #
23b3e9
# Add configure-time support for the COUNT_ALLOCS and CALL_PROFILE options
23b3e9
# described at http://svn.python.org/projects/python/trunk/Misc/SpecialBuilds.txt
23b3e9
# so that if they are enabled, they will be in that build's pyconfig.h, so that
23b3e9
# extension modules will reliably use them
23b3e9
# Not yet sent upstream
23b3e9
Patch113: 00113-more-configuration-flags.patch
23b3e9
23b3e9
# 00114 #
23b3e9
# Add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
23b3e9
# (rhbz:553020); partially upstream as http://bugs.python.org/issue7647
23b3e9
# Not yet sent upstream
23b3e9
Patch114: 00114-statvfs-f_flag-constants.patch
23b3e9
23b3e9
# Upstream r79310 removed the "Modules" directory from sys.path when Python is
23b3e9
# running from the build directory on POSIX to fix a unit test (issue #8205).
23b3e9
# This seems to have broken the compileall.py done in "make install": it cannot
23b3e9
# find shared library extension modules at this point in the build (sys.path
23b3e9
# does not contain DESTDIR/usr/lib(64)/python-2.7/lib-dynload for some reason),
23b3e9
# leading to the build failing with:
23b3e9
# Traceback (most recent call last):
23b3e9
#   File "/home/david/rpmbuild/BUILDROOT/python-2.7-0.1.rc2.fc14.x86_64/usr/lib64/python2.7/compileall.py", line 17, in <module>
23b3e9
#     import struct
23b3e9
#   File "/home/david/rpmbuild/BUILDROOT/python-2.7-0.1.rc2.fc14.x86_64/usr/lib64/python2.7/struct.py", line 1, in <module>
23b3e9
#    from _struct import *
23b3e9
# ImportError: No module named _struct
23b3e9
#
23b3e9
# For now, revert this patch:
23b3e9
# This patch adds the build Modules directory to build path.
23b3e9
Patch121: 00121-add-Modules-to-build-path.patch
23b3e9
23b3e9
# 00130 #
23b3e9
# Add "--extension-suffix" option to python-config and python-debug-config
23b3e9
# (rhbz#732808)
23b3e9
#
23b3e9
# This is adapted from 3.2's PEP-3149 support.
23b3e9
#
23b3e9
# Fedora's debug build has some non-standard features (see also patch 112
23b3e9
# above), though largely shared with Debian/Ubuntu and Windows
23b3e9
#
23b3e9
# In particular, SO in the Makefile is currently always just ".so" for our
23b3e9
# python 2 optimized builds, but for python 2 debug it should be '_d.so', to
23b3e9
# distinguish the debug vs optimized ABI, following the pattern in the above
23b3e9
# patch.
23b3e9
#
23b3e9
# Not yet sent upstream
23b3e9
Patch130: python-2.7.2-add-extension-suffix-to-python-config.patch
23b3e9
23b3e9
# 00131 #
23b3e9
# The four tests in test_io built on top of check_interrupted_write_retry
23b3e9
# fail when built in Koji, for ppc and ppc64; for some reason, the SIGALRM
23b3e9
# handlers are never called, and the call to write runs to completion
23b3e9
# (rhbz#732998)
23b3e9
Patch131: 00131-disable-tests-in-test_io.patch
23b3e9
23b3e9
# 00132 #
23b3e9
# Add non-standard hooks to unittest for use in the "check" phase below, when
23b3e9
# running selftests within the build:
23b3e9
#   @unittest._skipInRpmBuild(reason)
23b3e9
# for tests that hang or fail intermittently within the build environment, and:
23b3e9
#   @unittest._expectedFailureInRpmBuild
23b3e9
# for tests that always fail within the build environment
23b3e9
#
23b3e9
# The hooks only take effect if WITHIN_PYTHON_RPM_BUILD is set in the
23b3e9
# environment, which we set manually in the appropriate portion of the "check"
23b3e9
# phase below (and which potentially other python-* rpms could set, to reuse
23b3e9
# these unittest hooks in their own "check" phases)
23b3e9
Patch132: 00132-add-rpmbuild-hooks-to-unittest.patch
23b3e9
23b3e9
# 00133 #
23b3e9
# "dl" is deprecated, and test_dl doesn't work on 64-bit builds:
23b3e9
Patch133: 00133-skip-test_dl.patch
23b3e9
23b3e9
# 00135 #
23b3e9
# Skip "test_callback_in_cycle_resurrection" in a debug build, where it fails:
23b3e9
# Not yet sent upstream
23b3e9
Patch135: 00135-skip-test-within-test_weakref-in-debug-build.patch
23b3e9
23b3e9
# 00136 #
23b3e9
# Some tests try to seek on sys.stdin, but don't work as expected when run
23b3e9
# within Koji/mock; skip them within the rpm build:
23b3e9
Patch136: 00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch
23b3e9
23b3e9
# 00137 #
23b3e9
# Some tests within distutils fail when run in an rpmbuild:
23b3e9
Patch137: 00137-skip-distutils-tests-that-fail-in-rpmbuild.patch
23b3e9
23b3e9
# 00138 #
23b3e9
# Fixup some tests within distutils to work with how debug builds are set up:
23b3e9
Patch138: 00138-fix-distutils-tests-in-debug-build.patch
23b3e9
23b3e9
# 00139 #
23b3e9
# ARM-specific: skip known failure in test_float:
23b3e9
#  http://bugs.python.org/issue8265 (rhbz#706253)
23b3e9
Patch139: 00139-skip-test_float-known-failure-on-arm.patch
23b3e9
23b3e9
# 00140 #
23b3e9
# Sparc-specific: skip known failure in test_ctypes:
23b3e9
#  http://bugs.python.org/issue8314 (rhbz#711584)
23b3e9
# which appears to be a libffi bug
23b3e9
Patch140: 00140-skip-test_ctypes-known-failure-on-sparc.patch
23b3e9
23b3e9
# 00142 #
23b3e9
# Some pty tests fail when run in mock (rhbz#714627):
23b3e9
Patch142: 00142-skip-failing-pty-tests-in-rpmbuild.patch
23b3e9
23b3e9
# 00143 #
23b3e9
# Fix the --with-tsc option on ppc64, and rework it on 32-bit ppc to avoid
23b3e9
# aliasing violations (rhbz#698726)
23b3e9
# Sent upstream as http://bugs.python.org/issue12872
23b3e9
Patch143: 00143-tsc-on-ppc.patch
23b3e9
23b3e9
# 00144 #
23b3e9
# (Optionally) disable the gdbm module:
23b3e9
Patch144: 00144-no-gdbm.patch
23b3e9
23b3e9
# 00146 #
23b3e9
# Support OpenSSL FIPS mode (e.g. when OPENSSL_FORCE_FIPS_MODE=1 is set)
23b3e9
# - handle failures from OpenSSL (e.g. on attempts to use MD5 in a
23b3e9
#   FIPS-enforcing environment)
23b3e9
# - add a new "usedforsecurity" keyword argument to the various digest
23b3e9
#   algorithms in hashlib so that you can whitelist a callsite with
23b3e9
#   "usedforsecurity=False"
23b3e9
# (sent upstream for python 3 as http://bugs.python.org/issue9216; this is a
23b3e9
# backport to python 2.7; see RHEL6 patch 119)
23b3e9
# - enforce usage of the _hashlib implementation: don't fall back to the _md5
23b3e9
#   and _sha* modules (leading to clearer error messages if fips selftests
23b3e9
#   fail)
23b3e9
# - don't build the _md5 and _sha* modules; rely on the _hashlib implementation
23b3e9
#   of hashlib (for example, md5.py will use _hashlib's implementation of MD5,
23b3e9
#   if permitted by the FIPS setting)
23b3e9
# (rhbz#563986)
23b3e9
Patch146: 00146-hashlib-fips.patch
23b3e9
23b3e9
# 00147 #
23b3e9
# Add a sys._debugmallocstats() function
23b3e9
# Based on patch 202 from RHEL 5's python.spec, with updates from rhbz#737198
23b3e9
# Sent upstream as http://bugs.python.org/issue14785
23b3e9
Patch147: 00147-add-debug-malloc-stats.patch
23b3e9
23b3e9
# 00155 #
23b3e9
# Avoid allocating thunks in ctypes unless absolutely necessary, to avoid
23b3e9
# generating SELinux denials on "import ctypes" and "import uuid" when
23b3e9
# embedding Python within httpd (rhbz#814391)
23b3e9
Patch155: 00155-avoid-ctypes-thunks.patch
23b3e9
23b3e9
# 00156 #
23b3e9
# Recent builds of gdb will only auto-load scripts from certain safe
23b3e9
# locations.  Turn off this protection when running test_gdb in the selftest
23b3e9
# suite to ensure that it can load our -gdb.py script (rhbz#817072):
23b3e9
# Not yet sent upstream
23b3e9
Patch156: 00156-gdb-autoload-safepath.patch
23b3e9
23b3e9
# 00165 #
23b3e9
# Backport to Python 2 from Python 3.3 of improvements to the "crypt" module
23b3e9
# adding precanned ways of salting a password (rhbz#835021)
23b3e9
# Based on r88500 patch to py3k from Python 3.3
23b3e9
# plus 6482dd1c11ed, 0586c699d467, 62994662676a, 74a1110a3b50, plus edits
23b3e9
# to docstrings to note that this additional functionality is not standard
23b3e9
# within 2.7
23b3e9
Patch165: 00165-crypt-module-salt-backport.patch
23b3e9
23b3e9
# 00167 #
23b3e9
# Don't run any of the stack navigation tests in test_gdb when Python is
23b3e9
# optimized, since there appear to be many different ways in which gdb can
23b3e9
# fail to read the PyFrameObject* for arbitrary places in the callstack,
23b3e9
# presumably due to compiler optimization (rhbz#912025)
23b3e9
#
23b3e9
# Not yet sent upstream
23b3e9
Patch167: 00167-disable-stack-navigation-tests-when-optimized-in-test_gdb.patch
23b3e9
23b3e9
# 00169 #
23b3e9
# Use SHA-256 rather than implicitly using MD5 within the challenge handling
23b3e9
# in multiprocessing.connection
23b3e9
#
23b3e9
# Sent upstream as http://bugs.python.org/issue17258
23b3e9
# (rhbz#879695)
23b3e9
Patch169: 00169-avoid-implicit-usage-of-md5-in-multiprocessing.patch
23b3e9
23b3e9
# 00170 #
23b3e9
# In debug builds, try to print repr() when a C-level assert fails in the
23b3e9
# garbage collector (typically indicating a reference-counting error
23b3e9
# somewhere else e.g in an extension module)
23b3e9
# Backported to 2.7 from a patch I sent upstream for py3k
23b3e9
#   http://bugs.python.org/issue9263  (rhbz#614680)
23b3e9
# hiding the proposed new macros/functions within gcmodule.c to avoid exposing
23b3e9
# them within the extension API.
23b3e9
# (rhbz#850013)
23b3e9
Patch170: 00170-gc-assertions.patch
23b3e9
23b3e9
# 00173 #
23b3e9
# Workaround for ENOPROTOOPT seen in Koji within
23b3e9
# test.test_support.bind_port()
23b3e9
# (rhbz#913732)
23b3e9
Patch173: 00173-workaround-ENOPROTOOPT-in-bind_port.patch
23b3e9
23b3e9
# 00174 #
23b3e9
# Workaround for failure to set up prefix/exec_prefix when running
23b3e9
# an embededed libpython that sets Py_SetProgramName() to a name not
23b3e9
# on $PATH when run from the root directory due to
23b3e9
#   https://fedoraproject.org/wiki/Features/UsrMove
23b3e9
# e.g. cmpi-bindings under systemd (rhbz#817554):
23b3e9
Patch174: 00174-fix-for-usr-move.patch
23b3e9
23b3e9
# 00180 #
23b3e9
# Enable building on ppc64p7
23b3e9
# Not appropriate for upstream, Fedora-specific naming
23b3e9
Patch180: 00180-python-add-support-for-ppc64p7.patch
23b3e9
23b3e9
# 00181 #
23b3e9
# Allow arbitrary timeout for Condition.wait, as reported in
23b3e9
# https://bugzilla.redhat.com/show_bug.cgi?id=917709
23b3e9
# Upstream doesn't want this: http://bugs.python.org/issue17748
23b3e9
# But we have no better solution downstream yet, and since there is
23b3e9
# no API breakage, we apply this patch.
23b3e9
# Doesn't apply to Python 3, where this is fixed otherwise and works.
23b3e9
Patch181: 00181-allow-arbitrary-timeout-in-condition-wait.patch
23b3e9
21eb11
# 00185 #
21eb11
# Makes urllib2 honor "no_proxy" enviroment variable for "ftp:" URLs
21eb11
# when ftp_proxy is set
21eb11
Patch185: 00185-urllib2-honors-noproxy-for-ftp.patch
21eb11
21eb11
# 00187 #
21eb11
# Add an explicit RPATH to pyexpat.so pointing at the directory
21eb11
# containing the system expat (which has the extra XML_SetHashSalt
21eb11
# symbol), to avoid an ImportError with a link error if there's an
21eb11
# LD_LIBRARY_PATH containing a "vanilla" build of expat (without the
21eb11
# symbol)
21eb11
Patch187: 00187-add-RPATH-to-pyexpat.patch
21eb11
21eb11
# 00191 #
21eb11
#
21eb11
# Disabling NOOP test as it fails without internet connection
21eb11
Patch191: 00191-disable-NOOP.patch
21eb11
f992f7
# 00198 #
f992f7
Patch198: 00198-add-rewheel-module.patch
21eb11
057d67
# 00224 #
f992f7
# Re-add file based configuration to toggle HTTPS verification on and off
f992f7
# Note: The 'platform_default' is now set to enabled
057d67
# For more information see PEP493
f992f7
# Resolves: rhbz#1417838 and previously rhbz#1219108
f992f7
Patch224: 00224-PEP-493-Re-add-file-based-configuration-of-HTTPS-ver.patch
057d67
ec62d5
# 00351 #
ec62d5
# Avoid infinite loop when reading specially crafted TAR files using the tarfile module
ec62d5
# (CVE-2019-20907).
ec62d5
# See: https://bugs.python.org/issue39017
ec62d5
Patch351: 00351-cve-2019-20907-fix-infinite-loop-in-tarfile.patch
ec62d5
ec62d5
# 00354 #
ec62d5
# Reject control chars in HTTP method in httplib.putrequest to prevent
ec62d5
# HTTP header injection
ec62d5
#
ec62d5
# Backported from Python 3.5-3.10 (and adjusted for py2's single-module httplib):
ec62d5
# - https://bugs.python.org/issue39603
ec62d5
Patch354: 00354-cve-2020-26116-http-request-method-crlf-injection-in-httplib.patch
ec62d5
3309fe
# 00355 #
3309fe
# No longer call eval() on content received via HTTP in the CJK codec tests
3309fe
# Backported from the python3 branches upstream: https://bugs.python.org/issue41944
3309fe
# Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1889886
3309fe
Patch355: 00355-CVE-2020-27619.patch
3309fe
3309fe
# 00357 #
3309fe
# Security fix for CVE-2021-3177
3309fe
# Stack-based buffer overflow in PyCArg_repr in _ctypes/callproc.c
3309fe
# Backported from the upstream python3 branches: https://bugs.python.org/issue42938
3309fe
Patch357: 00357-CVE-2021-3177.patch
3309fe
3309fe
# 00359 #
3309fe
# CVE-2021-23336 python: Web Cache Poisoning via urllib.parse.parse_qsl and
3309fe
# urllib.parse.parse_qs by using a semicolon in query parameters
3309fe
# Upstream: https://bugs.python.org/issue42967
3309fe
# Main BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1928904
3309fe
Patch359: 00359-CVE-2021-23336.patch
3309fe
45541d
# 00366 #
45541d
# CVE-2021-3733: Fix ReDoS in urllib AbstractBasicAuthHandler
45541d
#
45541d
# Fix Regular Expression Denial of Service (ReDoS) vulnerability in
45541d
# urllib2.AbstractBasicAuthHandler. The ReDoS-vulnerable regex
45541d
# has quadratic worst-case complexity and it allows cause a denial of
45541d
# service when identifying crafted invalid RFCs. This ReDoS issue is on
45541d
# the client side and needs remote attackers to control the HTTP server.
45541d
#
45541d
# Backported from Python 3 together with another backward-compatible
45541d
# improvement of the regex from fix for CVE-2020-8492.
45541d
#
45541d
# Upstream: https://bugs.python.org/issue43075
45541d
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=1995234
45541d
Patch366: 00366-CVE-2021-3733.patch
45541d
45541d
# 00368 #
45541d
# CVE-2021-3737: http client infinite line reading (DoS) after a HTTP 100 Continue
45541d
#
45541d
# Fixes http.client potential denial of service where it could get stuck reading
45541d
# lines from a malicious server after a 100 Continue response.
45541d
#
45541d
# Backported from Python 3.
45541d
#
45541d
# Upstream: https://bugs.python.org/issue44022
45541d
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=1995162
45541d
Patch368: 00368-CVE-2021-3737.patch
45541d
45541d
# 00372 #
45541d
# CVE-2021-4189: ftplib should not use the host from the PASV response
45541d
# Upstream: https://bugs.python.org/issue43285
45541d
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=2036020
45541d
Patch372: 00372-CVE-2021-4189.patch
45541d
45541d
# 00377 #
45541d
# CVE-2022-0391: urlparse does not sanitize URLs containing ASCII newline and tabs
45541d
#
45541d
# ASCII newline and tab characters are stripped from the URL.
45541d
#
45541d
# Backported from Python 3.
45541d
#
45541d
# Upstream: https://bugs.python.org/issue43882
45541d
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=2047376
45541d
Patch377: 00377-CVE-2022-0391.patch
45541d
45541d
# 00378 # 32b7f6200303fb36d104ac8d2afa3afba1789c1b
45541d
# Support expat 2.4.5
45541d
#
45541d
# Curly brackets were never allowed in namespace URIs
45541d
# according to RFC 3986, and so-called namespace-validating
45541d
# XML parsers have the right to reject them a invalid URIs.
45541d
#
45541d
# libexpat >=2.4.5 has become strcter in that regard due to
45541d
# related security issues; with ET.XML instantiating a
45541d
# namespace-aware parser under the hood, this test has no
45541d
# future in CPython.
45541d
#
45541d
# References:
45541d
# - https://datatracker.ietf.org/doc/html/rfc3968
45541d
# - https://www.w3.org/TR/xml-names/
45541d
#
45541d
# Also, test_minidom.py: Support Expat >=2.4.5
45541d
#
45541d
# Upstream: https://bugs.python.org/issue46811
45541d
#
45541d
# Backported from Python 3.
45541d
Patch378: 00378-support-expat-2-4-5.patch
45541d
23b3e9
# (New patches go here ^^^)
23b3e9
#
23b3e9
# When adding new patches to "python" and "python3" in Fedora 17 onwards,
23b3e9
# please try to keep the patch numbers in-sync between the two specfiles:
23b3e9
#
23b3e9
#   - use the same patch number across both specfiles for conceptually-equivalent
23b3e9
#     fixes, ideally with the same name
23b3e9
#
23b3e9
#   - when a patch is relevant to both specfiles, use the same introductory
23b3e9
#     comment in both specfiles where possible (to improve "diff" output when
23b3e9
#     comparing them)
23b3e9
#
23b3e9
#   - when a patch is only relevant for one of the two specfiles, leave a gap
23b3e9
#     in the patch numbering in the other specfile, adding a comment when
23b3e9
#     omitting a patch, both in the manifest section here, and in the "prep"
23b3e9
#     phase below
23b3e9
#
23b3e9
# Hopefully this will make it easier to ensure that all relevant fixes are
23b3e9
# applied to both versions.
23b3e9
23b3e9
# This is the generated patch to "configure"; see the description of
23b3e9
#   %{regenerate_autotooling_patch}
23b3e9
# above:
23b3e9
Patch5000: 05000-autotool-intermediates.patch
23b3e9
23b3e9
23b3e9
# ======================================================
23b3e9
# Additional metadata, and subpackages
23b3e9
# ======================================================
23b3e9
23b3e9
%if %{main_python}
23b3e9
Obsoletes: %{?scl_prefix}Distutils
23b3e9
Provides: %{?scl_prefix}Distutils
23b3e9
Obsoletes: %{?scl_prefix}python2 
23b3e9
Provides: %{?scl_prefix}python2 = %{version}
23b3e9
Obsoletes: %{?scl_prefix}python-elementtree <= 1.2.6
23b3e9
Obsoletes: %{?scl_prefix}python-sqlite < 2.3.2
23b3e9
Provides: %{?scl_prefix}python-sqlite = 2.3.2
23b3e9
Obsoletes: %{?scl_prefix}python-ctypes < 1.0.1
23b3e9
Provides: %{?scl_prefix}python-ctypes = 1.0.1
23b3e9
Obsoletes: %{?scl_prefix}python-hashlib < 20081120
23b3e9
Provides: %{?scl_prefix}python-hashlib = 20081120
23b3e9
Obsoletes: %{?scl_prefix}python-uuid < 1.31
23b3e9
Provides: %{?scl_prefix}python-uuid = 1.31
23b3e9
23b3e9
# python-argparse is part of python as of version 2.7
23b3e9
# drop this Provides in F17
23b3e9
# (having Obsoletes here caused problems with multilib; see rhbz#667984)
23b3e9
Provides: %{?scl_prefix}python-argparse = %{version}-%{release}
23b3e9
%endif
23b3e9
23b3e9
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
23b3e9
23b3e9
URL: http://www.python.org/
23b3e9
057d67
%if ( 0%{?rhel} && 0%{?rhel} < 7 )
23b3e9
# filter pkgconfig Provides
23b3e9
%{?scl:%filter_from_provides s|pkgconfig(|%{?scl_prefix}pkgconfig(|g}
23b3e9
%{?scl:%filter_from_requires s|python(abi|%{?scl_prefix}python(abi|g}
23b3e9
%{?scl:%filter_setup}
057d67
%else
057d67
# filter pkgconfig Requires/Provides on rhel7 as filter_from doesnt work there
057d67
%global __provides_exclude ^pkgconfig\\(.*$
057d67
%endif
057d67
23b3e9
23b3e9
%description
23b3e9
Python is an interpreted, interactive, object-oriented programming
23b3e9
language often compared to Tcl, Perl, Scheme or Java. Python includes
23b3e9
modules, classes, exceptions, very high level dynamic data types and
23b3e9
dynamic typing. Python supports interfaces to many system calls and
23b3e9
libraries, as well as to various windowing systems (X11, Motif, Tk,
23b3e9
Mac and MFC).
23b3e9
23b3e9
Programmers can write new built-in modules for Python in C or C++.
23b3e9
Python can be used as an extension language for applications that need
23b3e9
a programmable interface.
23b3e9
23b3e9
Note that documentation for Python is provided in the python-docs
23b3e9
package.
23b3e9
23b3e9
This package provides the "python" executable; most of the actual
23b3e9
implementation is within the "python-libs" package.
23b3e9
23b3e9
%package libs
23b3e9
Summary: Runtime libraries for Python
23b3e9
Group: Applications/System
23b3e9
23b3e9
# Needed for ctypes, to load libraries, worked around for Live CDs size
23b3e9
# Requires: binutils
23b3e9
23b3e9
Requires: expat
23b3e9
%{?scl:Requires: %{scl}-runtime}
23b3e9
23b3e9
%description libs
23b3e9
This package contains runtime libraries for use by Python:
23b3e9
- the libpython dynamic library, for use by applications that embed Python as
23b3e9
a scripting language, and by the main "python" executable
23b3e9
- the Python standard library
23b3e9
23b3e9
%package devel
23b3e9
Summary: The libraries and header files needed for Python development
23b3e9
Group: Development/Libraries
23b3e9
Requires: %{?scl_prefix}%{python}%{?_isa} = %{version}-%{release}
23b3e9
Requires: pkgconfig
21eb11
Requires: scl-utils-build
23b3e9
# Needed here because of the migration of Makefile from -devel to the main
23b3e9
# package
23b3e9
Conflicts: %{?scl_prefix}%{python} < %{version}-%{release}
23b3e9
%if %{main_python}
23b3e9
Obsoletes: %{?scl_prefix}python2-devel
23b3e9
Provides: %{?scl_prefix}python2-devel = %{version}-%{release}
23b3e9
%endif
23b3e9
057d67
# we filtered provides of pkgconfig on rhel7 so we need to manully re add them
057d67
%if ( 0%{?rhel} && 0%{?rhel} >= 7 )
057d67
Provides: %{?scl_prefix}pkgconfig(python) = %{version}-%{release}
057d67
Provides: %{?scl_prefix}pkgconfig(python-2.7) = %{version}-%{release}
057d67
Provides: %{?scl_prefix}pkgconfig(python2) = %{version}-%{release}
057d67
%endif
057d67
23b3e9
%description devel
23b3e9
The Python programming language's interpreter can be extended with
23b3e9
dynamically loaded extensions and can be embedded in other programs.
23b3e9
This package contains the header files and libraries needed to do
23b3e9
these types of tasks.
23b3e9
23b3e9
Install python-devel if you want to develop Python extensions.  The
23b3e9
python package will also need to be installed.  You'll probably also
23b3e9
want to install the python-docs package, which contains Python
23b3e9
documentation.
23b3e9
23b3e9
%package tools
23b3e9
Summary: A collection of development tools included with Python
23b3e9
Group: Development/Tools
23b3e9
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
23b3e9
Requires: %{?scl_prefix}%{tkinter} = %{version}-%{release}
23b3e9
%if %{main_python}
23b3e9
Obsoletes: %{?scl_prefix}python2-tools
23b3e9
Provides: %{?scl_prefix}python2-tools = %{version}
23b3e9
%endif
23b3e9
23b3e9
%description tools
23b3e9
This package includes several tools to help with the development of Python   
23b3e9
programs, including IDLE (an IDE with editing and debugging facilities), a 
23b3e9
color editor (pynche), and a python gettext program (pygettext.py).  
23b3e9
23b3e9
%package -n %{?scl_prefix}%{tkinter}
23b3e9
Summary: A graphical user interface for the Python scripting language
23b3e9
Group: Development/Languages
23b3e9
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
23b3e9
%if %{main_python}
23b3e9
Obsoletes: %{?scl_prefix}tkinter2
23b3e9
Provides: %{?scl_prefix}tkinter2 = %{version}
23b3e9
%endif
23b3e9
23b3e9
%description -n %{?scl_prefix}%{tkinter}
23b3e9
23b3e9
The Tkinter (Tk interface) program is an graphical user interface for
23b3e9
the Python scripting language.
23b3e9
23b3e9
You should install the tkinter package if you'd like to use a graphical
23b3e9
user interface for Python programming.
23b3e9
23b3e9
%package test
23b3e9
Summary: The test modules from the main python package
23b3e9
Group: Development/Languages
23b3e9
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
23b3e9
23b3e9
%description test
23b3e9
23b3e9
The test modules from the main python package: %{pkg_name}
23b3e9
These have been removed to save space, as they are never or almost
23b3e9
never used in production.
23b3e9
23b3e9
You might want to install the python-test package if you're developing python
23b3e9
code that uses more than just unittest and/or test_support.py.
23b3e9
23b3e9
%if 0%{?with_debug_build}
23b3e9
%package debug
23b3e9
Summary: Debug version of the Python runtime
23b3e9
Group: Applications/System
23b3e9
23b3e9
# The debug build is an all-in-one package version of the regular build, and
23b3e9
# shares the same .py/.pyc files and directories as the regular build.  Hence
23b3e9
# we depend on all of the subpackages of the regular build:
23b3e9
Requires: %{?scl_prefix}%{pkg_name}%{?_isa} = %{version}-%{release}
23b3e9
Requires: %{?scl_prefix}%{pkg_name}-libs%{?_isa} = %{version}-%{release}
23b3e9
Requires: %{?scl_prefix}%{pkg_name}-devel%{?_isa} = %{version}-%{release}
23b3e9
Requires: %{?scl_prefix}%{pkg_name}-test%{?_isa} = %{version}-%{release}
23b3e9
Requires: %{?scl_prefix}tkinter%{?_isa} = %{version}-%{release}
23b3e9
Requires: %{?scl_prefix}%{pkg_name}-tools%{?_isa} = %{version}-%{release}
23b3e9
057d67
# we filtered provides of pkgconfig on rhel7 so we need to manully re add them
057d67
%if ( 0%{?rhel} && 0%{?rhel} >= 7 )
057d67
Provides: %{?scl_prefix}pkgconfig(python-debug) = %{version}-%{release}
057d67
Provides: %{?scl_prefix}pkgconfig(python-2.7-debug) = %{version}-%{release}
057d67
Provides: %{?scl_prefix}pkgconfig(python2-debug) = %{version}-%{release}
057d67
%endif
057d67
23b3e9
%description debug
23b3e9
python-debug provides a version of the Python runtime with numerous debugging
23b3e9
features enabled, aimed at advanced Python users, such as developers of Python
23b3e9
extension modules.
23b3e9
23b3e9
This version uses more memory and will be slower than the regular Python build,
23b3e9
but is useful for tracking down reference-counting issues, and other bugs.
23b3e9
23b3e9
The bytecodes are unchanged, so that .pyc files are compatible between the two
23b3e9
version of Python, but the debugging features mean that C/C++ extension modules
23b3e9
are ABI-incompatible with those built for the standard runtime.
23b3e9
23b3e9
It shares installation directories with the standard Python runtime, so that
23b3e9
.py and .pyc files can be shared.  All compiled extension modules gain a "_d"
23b3e9
suffix ("foo_d.so" rather than "foo.so") so that each Python implementation can
23b3e9
load its own extensions.
23b3e9
%endif # with_debug_build
23b3e9
23b3e9
23b3e9
# ======================================================
23b3e9
# The prep phase of the build:
23b3e9
# ======================================================
23b3e9
23b3e9
%prep
23b3e9
%setup -q -n Python-%{version}
23b3e9
23b3e9
%if 0%{?with_systemtap}
23b3e9
# Provide an example of usage of the tapset:
23b3e9
cp -a %{SOURCE4} .
23b3e9
cp -a %{SOURCE5} .
23b3e9
%endif # with_systemtap
23b3e9
23b3e9
# Ensure that we're using the system copy of various libraries, rather than
23b3e9
# copies shipped by upstream in the tarball:
23b3e9
#   Remove embedded copy of expat:
23b3e9
rm -r Modules/expat || exit 1
23b3e9
23b3e9
#   Remove embedded copy of libffi:
23b3e9
for SUBDIR in darwin libffi libffi_arm_wince libffi_msvc libffi_osx ; do
23b3e9
  rm -r Modules/_ctypes/$SUBDIR || exit 1 ;
23b3e9
done
23b3e9
23b3e9
#   Remove embedded copy of zlib:
23b3e9
rm -r Modules/zlib || exit 1
23b3e9
23b3e9
# Don't build upstream Python's implementation of these crypto algorithms;
23b3e9
# instead rely on _hashlib and OpenSSL.
23b3e9
#
23b3e9
# For example, in our builds md5.py uses always uses hashlib.md5 (rather than
23b3e9
# falling back to _md5 when hashlib.md5 is not available); hashlib.md5 is
23b3e9
# implemented within _hashlib via OpenSSL (and thus respects FIPS mode)
23b3e9
for f in md5module.c md5.c shamodule.c sha256module.c sha512module.c; do
23b3e9
    rm Modules/$f
23b3e9
done
23b3e9
23b3e9
#
23b3e9
# Apply patches:
23b3e9
#
23b3e9
%patch0 -p1 -b .rhconfig
23b3e9
%patch1 -p1 -b .no_gui
23b3e9
%patch4 -p1 -b .cflags
23b3e9
%patch6 -p1 -b .plural
23b3e9
%patch7 -p1
23b3e9
23b3e9
%if "%{_lib}" == "lib64"
23b3e9
%patch102 -p1 -b .lib64
23b3e9
%patch103 -p1 -b .lib64-sysconfig
23b3e9
%patch104 -p1
23b3e9
%endif
23b3e9
23b3e9
%patch10 -p1 -b .binutils-no-dep
23b3e9
%patch13 -p1 -b .socketmodule
23b3e9
%patch14 -p1 -b .socketmodule2
23b3e9
%patch16 -p1 -b .rpath
23b3e9
%patch17 -p1 -b .distutils-rpath
23b3e9
23b3e9
%if 0%{?with_systemtap}
23b3e9
%patch55 -p1 -b .systemtap
23b3e9
%endif
23b3e9
23b3e9
%patch111 -p1 -b .no-static-lib
23b3e9
23b3e9
%patch112 -p1 -b .debug-build
23b3e9
23b3e9
%patch113 -p1 -b .more-configuration-flags
23b3e9
23b3e9
%patch114 -p1 -b .statvfs-f-flag-constants
23b3e9
23b3e9
%patch121 -p1
23b3e9
23b3e9
%patch130 -p1
23b3e9
ba47ae
%ifarch ppc %{power64}
23b3e9
%patch131 -p1
23b3e9
%endif
23b3e9
23b3e9
%patch132 -p1
23b3e9
%patch133 -p1
23b3e9
%patch135 -p1
23b3e9
%patch136 -p1
23b3e9
%patch137 -p1
23b3e9
%patch138 -p1
23b3e9
%ifarch %{arm}
23b3e9
%patch139 -p1
23b3e9
%endif
23b3e9
%ifarch %{sparc}
23b3e9
%patch140 -p1
23b3e9
%endif
23b3e9
%patch142 -p1
23b3e9
%patch143 -p1 -b .tsc-on-ppc
23b3e9
%if !%{with_gdbm}
23b3e9
%patch144 -p1
23b3e9
%endif
23b3e9
%patch146 -p1
23b3e9
%patch147 -p1
23b3e9
%patch155 -p1
23b3e9
%patch156 -p1
23b3e9
%patch165 -p1
23b3e9
mv Modules/cryptmodule.c Modules/_cryptmodule.c
23b3e9
%patch167 -p1
23b3e9
%patch169 -p1
23b3e9
%patch170 -p1
23b3e9
%patch173 -p1
23b3e9
%patch174 -p1 -b .fix-for-usr-move
23b3e9
%patch180 -p1
23b3e9
%patch181 -p1
21eb11
%patch185 -p1
21eb11
%patch187 -p1
21eb11
%patch191 -p1
f992f7
%if 0%{with_rewheel}
f992f7
%patch198 -p1
f992f7
%endif
057d67
%patch224 -p1
23b3e9
ec62d5
# Patch 351 adds binary file for testing. We need to apply it using Git.
ec62d5
git apply %{PATCH351}
ec62d5
ec62d5
%patch354 -p1
3309fe
%patch355 -p1
3309fe
%patch357 -p1
3309fe
%patch359 -p1
45541d
%patch366 -p1
45541d
%patch368 -p1
45541d
%patch372 -p1
45541d
%patch377 -p1
45541d
%patch378 -p1
ec62d5
23b3e9
# This shouldn't be necesarry, but is right now (2.2a3)
23b3e9
find -name "*~" |xargs rm -f
23b3e9
23b3e9
%if ! 0%{regenerate_autotooling_patch}
23b3e9
# Normally we apply the patch to "configure"
23b3e9
# We don't apply the patch if we're working towards regenerating it
23b3e9
%patch5000 -p0 -b .autotool-intermediates
23b3e9
%endif
23b3e9
23b3e9
23b3e9
# ======================================================
23b3e9
# Configuring and building the code:
23b3e9
# ======================================================
23b3e9
23b3e9
%build
23b3e9
export topdir=$(pwd)
23b3e9
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
23b3e9
export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
23b3e9
export CPPFLAGS="$(pkg-config --cflags-only-I libffi)"
23b3e9
export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC -fwrapv"
23b3e9
export LINKCC="gcc"
23b3e9
export LDFLAGS="$RPM_LD_FLAGS"
23b3e9
if pkg-config openssl ; then
23b3e9
  export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
23b3e9
  export LDFLAGS="$LDFLAGS $(pkg-config --libs-only-L openssl)"
23b3e9
fi
23b3e9
# Force CC
23b3e9
export CC=gcc
23b3e9
23b3e9
%if 0%{regenerate_autotooling_patch}
23b3e9
# If enabled, this code regenerates the patch to "configure", using a
23b3e9
# local copy of autoconf-2.65, then exits the build
23b3e9
#
23b3e9
# The following assumes that the copy is installed to ~/autoconf-2.65/bin
23b3e9
# as per these instructions:
23b3e9
#   http://bugs.python.org/issue7997
23b3e9
23b3e9
for f in pyconfig.h.in configure ; do
23b3e9
    cp $f $f.autotool-intermediates ;
23b3e9
done
23b3e9
23b3e9
# Rerun the autotools:
23b3e9
PATH=~/autoconf-2.65/bin:$PATH autoconf
23b3e9
autoheader
23b3e9
23b3e9
# Regenerate the patch:
23b3e9
gendiff . .autotool-intermediates > %{PATCH5000}
23b3e9
23b3e9
23b3e9
# Exit the build
23b3e9
exit 1
23b3e9
%endif
23b3e9
23b3e9
# Define a function, for how to perform a "build" of python for a given
23b3e9
# configuration:
23b3e9
BuildPython() {
23b3e9
  ConfName=$1	      
23b3e9
  BinaryName=$2
23b3e9
  SymlinkName=$3
23b3e9
  ExtraConfigArgs=$4
23b3e9
  PathFixWithThisBinary=$5
23b3e9
  MoreCFlags=$6
23b3e9
23b3e9
  ConfDir=build/$ConfName
23b3e9
23b3e9
  echo STARTING: BUILD OF PYTHON FOR CONFIGURATION: $ConfName - %{_bindir}/$BinaryName
23b3e9
  mkdir -p $ConfDir
23b3e9
23b3e9
  pushd $ConfDir
23b3e9
23b3e9
  # Use the freshly created "configure" script, but in the directory two above:
23b3e9
  %global _configure $topdir/configure
23b3e9
23b3e9
%configure \
23b3e9
  --enable-ipv6 \
23b3e9
  --enable-shared \
23b3e9
  --enable-unicode=%{unicode} \
23b3e9
  --with-dbmliborder=gdbm:ndbm:bdb \
23b3e9
  --with-system-expat \
23b3e9
  --with-system-ffi \
23b3e9
%if 0%{?with_systemtap}
23b3e9
  --with-dtrace \
23b3e9
  --with-tapset-install-dir=%{tapsetdir} \
23b3e9
%endif
23b3e9
%if 0%{?with_valgrind}
23b3e9
  --with-valgrind \
23b3e9
%endif
23b3e9
  $ExtraConfigArgs \
23b3e9
  %{nil}
23b3e9
23b3e9
make EXTRA_CFLAGS="$CFLAGS $MoreCFlags" %{?_smp_mflags}
23b3e9
23b3e9
# We need to fix shebang lines across the full source tree.
23b3e9
#
23b3e9
# We do this using the pathfix.py script, which requires one of the
23b3e9
# freshly-built Python binaries.
23b3e9
#
23b3e9
# We use the optimized python binary, and make the shebangs point at that same
23b3e9
# optimized python binary:
23b3e9
if $PathFixWithThisBinary
23b3e9
then
23b3e9
  LD_LIBRARY_PATH="$topdir/$ConfDir:$LD_LIBRARY_PATH" ./$BinaryName \
23b3e9
    $topdir/Tools/scripts/pathfix.py \
23b3e9
      -i "%{?scl:%{_root_bindir}}%{!?scl:%{_bindir}}/env $BinaryName" \
23b3e9
      $topdir
23b3e9
fi
23b3e9
23b3e9
# Rebuild with new python
23b3e9
# We need a link to a versioned python in the build directory
23b3e9
ln -s $BinaryName $SymlinkName
23b3e9
LD_LIBRARY_PATH="$topdir/$ConfDir:$LD_LIBRARY_PATH" PATH=$PATH:$topdir/$ConfDir make -s EXTRA_CFLAGS="$CFLAGS $MoreCFlags" %{?_smp_mflags}
23b3e9
23b3e9
  popd
23b3e9
  echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfDir
23b3e9
}
23b3e9
export -f BuildPython
23b3e9
23b3e9
# Use "BuildPython" to support building with different configurations:
23b3e9
23b3e9
%{?scl:scl enable %scl - << \EOF}
23b3e9
%if 0%{?with_debug_build}
23b3e9
BuildPython debug \
23b3e9
  python-debug \
23b3e9
  python%{pybasever}-debug \
ba47ae
%ifarch %{ix86} x86_64 ppc %{power64}
23b3e9
  "--with-pydebug --with-tsc --with-count-allocs --with-call-profile" \
23b3e9
%else
23b3e9
  "--with-pydebug --with-count-allocs --with-call-profile" \
23b3e9
%endif
23b3e9
  false \
23b3e9
  -O1
23b3e9
%endif # with_debug_build
23b3e9
23b3e9
BuildPython optimized \
23b3e9
  python \
23b3e9
  python%{pybasever} \
23b3e9
  "" \
23b3e9
  true
23b3e9
%{?scl:EOF}
23b3e9
23b3e9
23b3e9
# ======================================================
23b3e9
# Installing the built code:
23b3e9
# ======================================================
23b3e9
23b3e9
%install
23b3e9
export topdir=$(pwd)
23b3e9
rm -rf %{buildroot}
23b3e9
mkdir -p %{buildroot}%{_prefix} %{buildroot}%{_mandir}
23b3e9
23b3e9
# Clean up patched .py files that are saved as .lib64
23b3e9
for f in distutils/command/install distutils/sysconfig; do
23b3e9
    rm -f Lib/$f.py.lib64
23b3e9
done
23b3e9
23b3e9
# install SCL custom RPM scripts
23b3e9
%{?scl:mkdir -p %{buildroot}%{_root_prefix}/lib/rpm/redhat}
23b3e9
%{?scl:cp -a %{SOURCE7} %{buildroot}%{_root_prefix}/lib/rpm/redhat}
23b3e9
23b3e9
InstallPython() {
23b3e9
23b3e9
  ConfName=$1	      
23b3e9
  BinaryName=$2
23b3e9
  PyInstSoName=$3
23b3e9
  MoreCFlags=$4
23b3e9
23b3e9
  ConfDir=build/$ConfName
23b3e9
23b3e9
  echo STARTING: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName - %{_bindir}/$BinaryName
23b3e9
  mkdir -p $ConfDir
23b3e9
23b3e9
  pushd $ConfDir
23b3e9
23b3e9
make install DESTDIR=%{buildroot} EXTRA_CFLAGS="$MoreCFlags"
23b3e9
23b3e9
# We install a collection of hooks for gdb that make it easier to debug
23b3e9
# executables linked against libpython (such as /usr/lib/python itself)
23b3e9
#
23b3e9
# These hooks are implemented in Python itself
23b3e9
#
23b3e9
# gdb-archer looks for them in the same path as the ELF file, with a -gdb.py suffix.
23b3e9
# We put them in the debuginfo package by installing them to e.g.:
23b3e9
#  /usr/lib/debug/usr/lib/libpython2.6.so.1.0.debug-gdb.py
23b3e9
# (note that the debug path is /usr/lib/debug for both 32/64 bit)
23b3e9
#
23b3e9
# See https://fedoraproject.org/wiki/Features/EasierPythonDebugging for more
23b3e9
# information
23b3e9
# 
23b3e9
# Initially I tried:
23b3e9
#  /usr/lib/libpython2.6.so.1.0-gdb.py
23b3e9
# but doing so generated noise when ldconfig was rerun (rhbz:562980)
23b3e9
#
23b3e9
%if 0%{?with_gdb_hooks}
23b3e9
# intentionally uses /usr/lib even in SCL, the script has to stay with debuginfos
23b3e9
DirHoldingGdbPy=/usr/lib/debug/%{_libdir}
23b3e9
PathOfGdbPy=$DirHoldingGdbPy/$PyInstSoName.debug-gdb.py
23b3e9
23b3e9
mkdir -p %{buildroot}$DirHoldingGdbPy
23b3e9
cp $topdir/Tools/gdb/libpython.py %{buildroot}$PathOfGdbPy
23b3e9
23b3e9
# Manually byte-compile the file, in case find-debuginfo.sh is run before
23b3e9
# brp-python-bytecompile, so that the .pyc/.pyo files are properly listed in
23b3e9
# the debuginfo manifest:
23b3e9
LD_LIBRARY_PATH="$topdir/$ConfDir:$LD_LIBRARY_PATH" $topdir/$ConfDir/$BinaryName \
23b3e9
  -c "import compileall; import sys; compileall.compile_dir('%{buildroot}$DirHoldingGdbPy', ddir='$DirHoldingGdbPy')"
23b3e9
23b3e9
LD_LIBRARY_PATH="$topdir/$ConfDir:$LD_LIBRARY_PATH" $topdir/$ConfDir/$BinaryName -O \
23b3e9
  -c "import compileall; import sys; compileall.compile_dir('%{buildroot}$DirHoldingGdbPy', ddir='$DirHoldingGdbPy')"
23b3e9
%endif # with_gdb_hooks
23b3e9
23b3e9
  popd
23b3e9
23b3e9
  echo FINISHED: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName
23b3e9
}
23b3e9
23b3e9
# Use "InstallPython" to support building with different configurations:
23b3e9
23b3e9
# Install the "debug" build first, so that we can move some files aside
23b3e9
%if 0%{?with_debug_build}
23b3e9
InstallPython debug \
23b3e9
  python%{pybasever}-debug \
23b3e9
  %{py_INSTSONAME_debug} \
23b3e9
  -O1
23b3e9
%endif # with_debug_build
23b3e9
23b3e9
# Now the optimized build:
23b3e9
InstallPython optimized \
23b3e9
  python%{pybasever} \
23b3e9
  %{py_INSTSONAME_optimized}
23b3e9
23b3e9
23b3e9
# Fix the interpreter path in binaries installed by distutils 
23b3e9
# (which changes them by itself)
23b3e9
# Make sure we preserve the file permissions
23b3e9
for fixed in %{buildroot}%{_bindir}/pydoc; do
23b3e9
    sed 's,#!.*/python$,#!%{_bindir}/env python%{pybasever},' $fixed > $fixed- \
23b3e9
        && cat $fixed- > $fixed && rm -f $fixed-
23b3e9
done
23b3e9
23b3e9
# Junk, no point in putting in -test sub-pkg
23b3e9
rm -f %{buildroot}/%{pylibdir}/idlelib/testcode.py*
23b3e9
23b3e9
# don't include tests that are run at build time in the package
23b3e9
# This is documented, and used: rhbz#387401
23b3e9
if /bin/false; then
23b3e9
 # Move this to -test subpackage.
23b3e9
mkdir save_bits_of_test
23b3e9
for i in test_support.py __init__.py; do
23b3e9
  cp -a %{buildroot}/%{pylibdir}/test/$i save_bits_of_test
23b3e9
done
23b3e9
rm -rf %{buildroot}/%{pylibdir}/test
23b3e9
mkdir %{buildroot}/%{pylibdir}/test
23b3e9
cp -a save_bits_of_test/* %{buildroot}/%{pylibdir}/test
23b3e9
fi
23b3e9
23b3e9
%if %{main_python}
23b3e9
%else
23b3e9
mv %{buildroot}%{_bindir}/python %{buildroot}%{_bindir}/%{python}
23b3e9
%if 0%{?with_debug_build}
23b3e9
mv %{buildroot}%{_bindir}/python-debug %{buildroot}%{_bindir}/%{python}-debug
23b3e9
%endif # with_debug_build
23b3e9
mv %{buildroot}/%{_mandir}/man1/python.1 %{buildroot}/%{_mandir}/man1/python%{pybasever}.1
23b3e9
%endif
23b3e9
23b3e9
# tools
23b3e9
23b3e9
mkdir -p ${RPM_BUILD_ROOT}%{site_packages}
23b3e9
23b3e9
#pynche
23b3e9
cat > ${RPM_BUILD_ROOT}%{_bindir}/pynche << EOF
23b3e9
#!/bin/bash
23b3e9
exec %{site_packages}/pynche/pynche
23b3e9
EOF
23b3e9
chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/pynche
23b3e9
rm -f Tools/pynche/*.pyw
23b3e9
cp -r Tools/pynche \
23b3e9
  ${RPM_BUILD_ROOT}%{site_packages}/
23b3e9
23b3e9
mv Tools/pynche/README Tools/pynche/README.pynche
23b3e9
23b3e9
#gettext
23b3e9
install -m755  Tools/i18n/pygettext.py %{buildroot}%{_bindir}/
23b3e9
install -m755  Tools/i18n/msgfmt.py %{buildroot}%{_bindir}/
23b3e9
23b3e9
# Useful development tools
23b3e9
install -m755 -d %{buildroot}%{tools_dir}/scripts
23b3e9
install Tools/README %{buildroot}%{tools_dir}/
23b3e9
install Tools/scripts/*py %{buildroot}%{tools_dir}/scripts/
23b3e9
23b3e9
# Documentation tools
23b3e9
install -m755 -d %{buildroot}%{doc_tools_dir}
23b3e9
#install -m755 Doc/tools/mkhowto %{buildroot}%{doc_tools_dir}
23b3e9
23b3e9
# Useful demo scripts
23b3e9
install -m755 -d %{buildroot}%{demo_dir}
23b3e9
cp -ar Demo/* %{buildroot}%{demo_dir}
23b3e9
23b3e9
# Get rid of crap
23b3e9
find %{buildroot}/ -name "*~"|xargs rm -f
23b3e9
find %{buildroot}/ -name ".cvsignore"|xargs rm -f
23b3e9
find %{buildroot}/ -name "*.bat"|xargs rm -f
23b3e9
find . -name "*~"|xargs rm -f
23b3e9
find . -name ".cvsignore"|xargs rm -f
23b3e9
#zero length
23b3e9
rm -f %{buildroot}%{pylibdir}/LICENSE.txt
23b3e9
23b3e9
23b3e9
#make the binaries install side by side with the main python
23b3e9
%if !%{main_python}
23b3e9
pushd %{buildroot}%{_bindir}
23b3e9
mv idle idle%{__python_ver}
23b3e9
mv pynche pynche%{__python_ver}
23b3e9
mv pygettext.py pygettext%{__python_ver}.py
23b3e9
mv msgfmt.py msgfmt%{__python_ver}.py
23b3e9
mv smtpd.py smtpd%{__python_ver}.py
23b3e9
mv pydoc pydoc%{__python_ver}
23b3e9
popd
23b3e9
%endif
23b3e9
23b3e9
# Fix bug #143667: python should own /usr/lib/python2.x on 64-bit machines
23b3e9
%if "%{_lib}" == "lib64"
23b3e9
install -d %{buildroot}%{_prefix}/lib/python%{pybasever}/site-packages
23b3e9
%endif
23b3e9
23b3e9
# Make python-devel multilib-ready (bug #192747, #139911)
23b3e9
%global _pyconfig32_h pyconfig-32.h
23b3e9
%global _pyconfig64_h pyconfig-64.h
23b3e9
ba47ae
%ifarch %{power64} s390x x86_64 ia64 alpha sparc64 aarch64
23b3e9
%global _pyconfig_h %{_pyconfig64_h}
23b3e9
%else
23b3e9
%global _pyconfig_h %{_pyconfig32_h}
23b3e9
%endif
23b3e9
23b3e9
%if 0%{?with_debug_build}
23b3e9
%global PyIncludeDirs python%{pybasever} python%{pybasever}-debug
23b3e9
%else
23b3e9
%global PyIncludeDirs python%{pybasever}
23b3e9
%endif
23b3e9
23b3e9
for PyIncludeDir in %{PyIncludeDirs} ; do
23b3e9
  mv %{buildroot}%{_includedir}/$PyIncludeDir/pyconfig.h \
23b3e9
     %{buildroot}%{_includedir}/$PyIncludeDir/%{_pyconfig_h}
23b3e9
  cat > %{buildroot}%{_includedir}/$PyIncludeDir/pyconfig.h << EOF
23b3e9
#include <bits/wordsize.h>
23b3e9
23b3e9
#if __WORDSIZE == 32
23b3e9
#include "%{_pyconfig32_h}"
23b3e9
#elif __WORDSIZE == 64
23b3e9
#include "%{_pyconfig64_h}"
23b3e9
#else
23b3e9
#error "Unknown word size"
23b3e9
#endif
23b3e9
EOF
23b3e9
done
23b3e9
ln -s ../../libpython%{pybasever}.so %{buildroot}%{pylibdir}/config/libpython%{pybasever}.so
23b3e9
23b3e9
# Fix for bug 201434: make sure distutils looks at the right pyconfig.h file
23b3e9
# Similar for sysconfig: sysconfig.get_config_h_filename tries to locate
23b3e9
# pyconfig.h so it can be parsed, and needs to do this at runtime in site.py
23b3e9
# when python starts up.
23b3e9
#
23b3e9
# Split this out so it goes directly to the pyconfig-32.h/pyconfig-64.h
23b3e9
# variants:
23b3e9
sed -i -e "s/'pyconfig.h'/'%{_pyconfig_h}'/" \
23b3e9
  %{buildroot}%{pylibdir}/distutils/sysconfig.py \
23b3e9
  %{buildroot}%{pylibdir}/sysconfig.py
23b3e9
23b3e9
# Install macros for rpm:
23b3e9
mkdir -p %{buildroot}/%{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/rpm
23b3e9
install -m 644 %{SOURCE6} %{buildroot}/%{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/rpm/macros.python2%{?scl:.%{scl}}
23b3e9
%{?scl:sed -i 's|^\(%@scl@__python2\)|\1 %{_bindir}/python2|' %{buildroot}%{_root_sysconfdir}/rpm/macros.python2.%{scl}}
23b3e9
%{?scl:sed -i 's|@scl@|%{scl}|g' %{buildroot}%{_root_sysconfdir}/rpm/macros.python2.%{scl}}
23b3e9
057d67
# Make python folder for config files under /etc
057d67
mkdir -p %{buildroot}/%{_sysconfdir}/python
057d67
install -m 644 %{SOURCE8} %{buildroot}/%{_sysconfdir}/python
057d67
23b3e9
# Ensure that the curses module was linked against libncursesw.so, rather than
23b3e9
# libncurses.so (bug 539917)
23b3e9
ldd %{buildroot}/%{dynload_dir}/_curses*.so \
23b3e9
    | grep curses \
23b3e9
    | grep libncurses.so && (echo "_curses.so linked against libncurses.so" ; exit 1)
23b3e9
23b3e9
# Ensure that the debug modules are linked against the debug libpython, and
23b3e9
# likewise for the optimized modules and libpython:
23b3e9
for Module in %{buildroot}/%{dynload_dir}/*.so ; do
23b3e9
    case $Module in
23b3e9
    *_d.so)
23b3e9
        ldd $Module | grep %{py_INSTSONAME_optimized} &&
23b3e9
            (echo Debug module $Module linked against optimized %{py_INSTSONAME_optimized} ; exit 1)
23b3e9
            
23b3e9
        ;;
23b3e9
    *)
23b3e9
        ldd $Module | grep %{py_INSTSONAME_debug} &&
23b3e9
            (echo Optimized module $Module linked against debug %{py_INSTSONAME_optimized} ; exit 1)
23b3e9
        ;;
23b3e9
    esac
23b3e9
done
23b3e9
23b3e9
#
23b3e9
# Systemtap hooks:
23b3e9
#
23b3e9
%if 0%{?with_systemtap}
23b3e9
# Install a tapset for this libpython into tapsetdir, fixing up the path to the
23b3e9
# library:
23b3e9
mkdir -p %{buildroot}%{tapsetdir}
ba47ae
%ifarch %{power64} s390x x86_64 ia64 alpha sparc64 aarch64
23b3e9
%global libpython_stp_optimized %{scl_prefix}libpython%{pybasever}-64.stp
23b3e9
%global libpython_stp_debug     %{scl_prefix}libpython%{pybasever}-debug-64.stp
23b3e9
%else
23b3e9
%global libpython_stp_optimized %{scl_prefix}libpython%{pybasever}-32.stp
23b3e9
%global libpython_stp_debug     %{scl_prefix}libpython%{pybasever}-debug-32.stp
23b3e9
%endif
23b3e9
23b3e9
sed \
23b3e9
   -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_optimized}|" \
23b3e9
   %{SOURCE3} \
23b3e9
   > %{buildroot}%{tapsetdir}/%{libpython_stp_optimized}
23b3e9
23b3e9
%if 0%{?with_debug_build}
23b3e9
sed \
23b3e9
   -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME_debug}|" \
23b3e9
   %{SOURCE3} \
23b3e9
   > %{buildroot}%{tapsetdir}/%{libpython_stp_debug}
23b3e9
%endif # with_debug_build
23b3e9
%endif # with_systemtap
23b3e9
23b3e9
%{?scl:scl enable %{scl} - << \EOF
23b3e9
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/build/optimized
23b3e9
%{SOURCE7} build/optimized/python 0
23b3e9
EOF}
23b3e9
23b3e9
# ======================================================
23b3e9
# Running the upstream test suite
23b3e9
# ======================================================
23b3e9
23b3e9
%check
23b3e9
export topdir=$(pwd)
23b3e9
CheckPython() {
23b3e9
  ConfName=$1
23b3e9
  BinaryName=$2
23b3e9
  ConfDir=$(pwd)/build/$ConfName
23b3e9
23b3e9
  echo STARTING: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
23b3e9
23b3e9
  # Note that we're running the tests using the version of the code in the
23b3e9
  # builddir, not in the buildroot.
23b3e9
23b3e9
  pushd $ConfDir
23b3e9
23b3e9
  EXTRATESTOPTS="--verbose"
23b3e9
23b3e9
%if 0%{?with_huntrleaks}
23b3e9
  # Try to detect reference leaks on debug builds.  By default this means
23b3e9
  # running every test 10 times (6 to stabilize, then 4 to watch):
23b3e9
  if [ "$ConfName" = "debug"  ] ; then
23b3e9
    EXTRATESTOPTS="$EXTRATESTOPTS --huntrleaks : "
23b3e9
  fi
23b3e9
%endif
23b3e9
23b3e9
  # Run the upstream test suite, setting "WITHIN_PYTHON_RPM_BUILD" so that the
23b3e9
  # our non-standard decorators take effect on the relevant tests:
23b3e9
  #   @unittest._skipInRpmBuild(reason)
23b3e9
  #   @unittest._expectedFailureInRpmBuild
23b3e9
  WITHIN_PYTHON_RPM_BUILD= EXTRATESTOPTS="$EXTRATESTOPTS" make test
23b3e9
23b3e9
  popd
23b3e9
23b3e9
  echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
23b3e9
23b3e9
}
23b3e9
export -f CheckPython
23b3e9
23b3e9
%if 0%{run_selftest_suite}
23b3e9
23b3e9
%{?scl:scl enable %scl - << \EOF}
21eb11
set -e
23b3e9
# Check each of the configurations:
23b3e9
%if 0%{?with_debug_build}
23b3e9
CheckPython \
23b3e9
  debug \
23b3e9
  python%{pybasever}-debug
23b3e9
%endif # with_debug_build
23b3e9
CheckPython \
23b3e9
  optimized \
23b3e9
  python%{pybasever}
23b3e9
%{?scl:EOF}
23b3e9
23b3e9
%endif # run_selftest_suite
23b3e9
23b3e9
23b3e9
# ======================================================
23b3e9
# Cleaning up
23b3e9
# ======================================================
23b3e9
23b3e9
%clean
23b3e9
rm -fr %{buildroot}
23b3e9
23b3e9
23b3e9
# ======================================================
23b3e9
# Scriptlets
23b3e9
# ======================================================
23b3e9
23b3e9
%post libs -p /sbin/ldconfig
23b3e9
23b3e9
%postun libs -p /sbin/ldconfig
23b3e9
23b3e9
23b3e9
23b3e9
%files
23b3e9
%defattr(-, root, root, -)
23b3e9
%doc LICENSE README
23b3e9
%{_bindir}/pydoc*
23b3e9
%{_bindir}/%{python}
23b3e9
%if %{main_python}
23b3e9
%{_bindir}/python2
23b3e9
%endif
23b3e9
%{_bindir}/python%{pybasever}
23b3e9
%{_mandir}/*/*
23b3e9
23b3e9
%files libs
23b3e9
%defattr(-,root,root,-)
23b3e9
%doc LICENSE README
23b3e9
%dir %{pylibdir}
23b3e9
%dir %{dynload_dir}
057d67
%dir %{_sysconfdir}/python
057d67
%config(noreplace) %{_sysconfdir}/python/cert-verification.cfg
23b3e9
%{dynload_dir}/Python-%{version}-py%{pybasever}.egg-info
23b3e9
%{dynload_dir}/_bisectmodule.so
23b3e9
%{dynload_dir}/_bsddb.so
23b3e9
%{dynload_dir}/_codecs_cn.so
23b3e9
%{dynload_dir}/_codecs_hk.so
23b3e9
%{dynload_dir}/_codecs_iso2022.so
23b3e9
%{dynload_dir}/_codecs_jp.so
23b3e9
%{dynload_dir}/_codecs_kr.so
23b3e9
%{dynload_dir}/_codecs_tw.so
23b3e9
%{dynload_dir}/_collectionsmodule.so
23b3e9
%{dynload_dir}/_csv.so
23b3e9
%{dynload_dir}/_ctypes.so
23b3e9
%{dynload_dir}/_curses.so
23b3e9
%{dynload_dir}/_curses_panel.so
23b3e9
%{dynload_dir}/_elementtree.so
23b3e9
%{dynload_dir}/_functoolsmodule.so
23b3e9
%{dynload_dir}/_hashlib.so
23b3e9
%{dynload_dir}/_heapq.so
23b3e9
%{dynload_dir}/_hotshot.so
23b3e9
%{dynload_dir}/_io.so
23b3e9
%{dynload_dir}/_json.so
23b3e9
%{dynload_dir}/_localemodule.so
23b3e9
%{dynload_dir}/_lsprof.so
23b3e9
%{dynload_dir}/_multibytecodecmodule.so
23b3e9
%{dynload_dir}/_multiprocessing.so
23b3e9
%{dynload_dir}/_randommodule.so
23b3e9
%{dynload_dir}/_socketmodule.so
23b3e9
%{dynload_dir}/_sqlite3.so
23b3e9
%{dynload_dir}/_ssl.so
23b3e9
%{dynload_dir}/_struct.so
23b3e9
%{dynload_dir}/arraymodule.so
23b3e9
%{dynload_dir}/audioop.so
23b3e9
%{dynload_dir}/binascii.so
23b3e9
%{dynload_dir}/bz2.so
23b3e9
%{dynload_dir}/cPickle.so
23b3e9
%{dynload_dir}/cStringIO.so
23b3e9
%{dynload_dir}/cmathmodule.so
23b3e9
%{dynload_dir}/_cryptmodule.so
23b3e9
%{dynload_dir}/datetime.so
23b3e9
%{dynload_dir}/dbm.so
23b3e9
%{dynload_dir}/dlmodule.so
23b3e9
%{dynload_dir}/fcntlmodule.so
23b3e9
%{dynload_dir}/future_builtins.so
23b3e9
%if %{with_gdbm}
23b3e9
%{dynload_dir}/gdbmmodule.so
23b3e9
%endif
23b3e9
%{dynload_dir}/grpmodule.so
23b3e9
%{dynload_dir}/imageop.so
23b3e9
%{dynload_dir}/itertoolsmodule.so
23b3e9
%{dynload_dir}/linuxaudiodev.so
23b3e9
%{dynload_dir}/math.so
23b3e9
%{dynload_dir}/mmapmodule.so
23b3e9
%{dynload_dir}/nismodule.so
23b3e9
%{dynload_dir}/operator.so
23b3e9
%{dynload_dir}/ossaudiodev.so
23b3e9
%{dynload_dir}/parsermodule.so
23b3e9
%{dynload_dir}/pyexpat.so
23b3e9
%{dynload_dir}/readline.so
23b3e9
%{dynload_dir}/resource.so
23b3e9
%{dynload_dir}/selectmodule.so
23b3e9
%{dynload_dir}/spwdmodule.so
23b3e9
%{dynload_dir}/stropmodule.so
23b3e9
%{dynload_dir}/syslog.so
23b3e9
%{dynload_dir}/termios.so
23b3e9
%{dynload_dir}/timemodule.so
23b3e9
%{dynload_dir}/timingmodule.so
23b3e9
%{dynload_dir}/unicodedata.so
23b3e9
%{dynload_dir}/xxsubtype.so
23b3e9
%{dynload_dir}/zlibmodule.so
23b3e9
23b3e9
%dir %{site_packages}
23b3e9
%{site_packages}/README
23b3e9
%{pylibdir}/*.py*
23b3e9
%{pylibdir}/*.doc
23b3e9
%{pylibdir}/wsgiref.egg-info
23b3e9
%dir %{pylibdir}/bsddb
23b3e9
%{pylibdir}/bsddb/*.py*
23b3e9
%{pylibdir}/compiler
23b3e9
%dir %{pylibdir}/ctypes
23b3e9
%{pylibdir}/ctypes/*.py*
23b3e9
%{pylibdir}/ctypes/macholib
23b3e9
%{pylibdir}/curses
23b3e9
%dir %{pylibdir}/distutils
23b3e9
%{pylibdir}/distutils/*.py*
23b3e9
%{pylibdir}/distutils/README
23b3e9
%{pylibdir}/distutils/command
23b3e9
%exclude %{pylibdir}/distutils/command/wininst-*.exe
23b3e9
%dir %{pylibdir}/email
23b3e9
%{pylibdir}/email/*.py*
23b3e9
%{pylibdir}/email/mime
23b3e9
%{pylibdir}/encodings
23b3e9
%{pylibdir}/hotshot
23b3e9
%{pylibdir}/idlelib
23b3e9
%{pylibdir}/importlib
23b3e9
%dir %{pylibdir}/json
23b3e9
%{pylibdir}/json/*.py*
23b3e9
%{pylibdir}/lib2to3
23b3e9
%exclude %{pylibdir}/lib2to3/tests
23b3e9
%{pylibdir}/logging
23b3e9
%{pylibdir}/multiprocessing
23b3e9
%{pylibdir}/plat-linux2
23b3e9
%{pylibdir}/pydoc_data
23b3e9
%dir %{pylibdir}/sqlite3
23b3e9
%{pylibdir}/sqlite3/*.py*
23b3e9
%dir %{pylibdir}/test
23b3e9
%{pylibdir}/test/test_support.py*
23b3e9
%{pylibdir}/test/__init__.py*
23b3e9
%{pylibdir}/unittest
23b3e9
%{pylibdir}/wsgiref
23b3e9
%{pylibdir}/xml
23b3e9
%if "%{_lib}" == "lib64"
23b3e9
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}
23b3e9
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages
23b3e9
%endif
23b3e9
23b3e9
# "Makefile" and the config-32/64.h file are needed by
23b3e9
# distutils/sysconfig.py:_init_posix(), so we include them in the libs
23b3e9
# package, along with their parent directories (bug 531901):
23b3e9
%dir %{pylibdir}/config
23b3e9
%{pylibdir}/config/Makefile
23b3e9
%dir %{_includedir}/python%{pybasever}
23b3e9
%{_includedir}/python%{pybasever}/%{_pyconfig_h}
23b3e9
23b3e9
%{_libdir}/%{py_INSTSONAME_optimized}
23b3e9
%if 0%{?with_systemtap}
23b3e9
%dir %{_datadir}/systemtap
23b3e9
%dir %{tapsetdir}
23b3e9
%{tapsetdir}/%{libpython_stp_optimized}
23b3e9
%doc systemtap-example.stp pyfuntop.stp
23b3e9
%endif
23b3e9
f992f7
%dir %{pylibdir}/ensurepip/
f992f7
%{pylibdir}/ensurepip/*.py*
f992f7
%exclude %{pylibdir}/ensurepip/_bundled
f992f7
f992f7
%if 0%{?with_rewheel}
f992f7
%dir %{pylibdir}/ensurepip/rewheel/
f992f7
%{pylibdir}/ensurepip/rewheel/*.py*
f992f7
%endif
f992f7
23b3e9
%files devel
23b3e9
%defattr(-,root,root,-)
23b3e9
%{?scl:%{_root_prefix}/lib/rpm/redhat/brp-python-bytecompile-with-scl-python}
23b3e9
# we have to own pkgconfig dir, as it's not owned by any other scl package
23b3e9
%dir %{_libdir}/pkgconfig
23b3e9
%{_libdir}/pkgconfig/python-%{pybasever}.pc
23b3e9
%{_libdir}/pkgconfig/python.pc
23b3e9
%{_libdir}/pkgconfig/python2.pc
23b3e9
%{pylibdir}/config/*
23b3e9
%exclude %{pylibdir}/config/Makefile
23b3e9
%{pylibdir}/distutils/command/wininst-*.exe
23b3e9
%{_includedir}/python%{pybasever}/*.h
23b3e9
%exclude %{_includedir}/python%{pybasever}/%{_pyconfig_h}
23b3e9
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
23b3e9
%if %{main_python}
23b3e9
%{_bindir}/python-config
23b3e9
%{_bindir}/python2-config
23b3e9
%endif
23b3e9
%{_bindir}/python%{pybasever}-config
23b3e9
%{_libdir}/libpython%{pybasever}.so
23b3e9
%{?scl:%_root_sysconfdir}%{!?scl:%_sysconfdir}/rpm/macros.python2%{?scl:.%scl}
23b3e9
23b3e9
%files tools
23b3e9
%defattr(-,root,root,755)
23b3e9
%doc Tools/pynche/README.pynche
23b3e9
%{site_packages}/pynche
23b3e9
%{_bindir}/smtpd*.py*
23b3e9
%{_bindir}/2to3*
23b3e9
%{_bindir}/idle*
23b3e9
%{_bindir}/pynche*
23b3e9
%{_bindir}/pygettext*.py*
23b3e9
%{_bindir}/msgfmt*.py*
23b3e9
%{tools_dir}
23b3e9
%{demo_dir}
23b3e9
%{pylibdir}/Doc
23b3e9
23b3e9
%files -n %{?scl_prefix}%{tkinter}
23b3e9
%defattr(-,root,root,755)
23b3e9
%{pylibdir}/lib-tk
23b3e9
%{dynload_dir}/_tkinter.so
23b3e9
23b3e9
%files test
23b3e9
%defattr(-, root, root, -)
23b3e9
%{pylibdir}/bsddb/test
23b3e9
%{pylibdir}/ctypes/test
23b3e9
%{pylibdir}/distutils/tests
23b3e9
%{pylibdir}/email/test
23b3e9
%{pylibdir}/json/tests
23b3e9
%{pylibdir}/lib2to3/tests
23b3e9
%{pylibdir}/sqlite3/test
23b3e9
%{pylibdir}/test/*
23b3e9
# These two are shipped in the main subpackage:
23b3e9
%exclude %{pylibdir}/test/test_support.py*
23b3e9
%exclude %{pylibdir}/test/__init__.py*
23b3e9
%{dynload_dir}/_ctypes_test.so
23b3e9
%{dynload_dir}/_testcapimodule.so
23b3e9
23b3e9
23b3e9
# We don't bother splitting the debug build out into further subpackages:
23b3e9
# if you need it, you're probably a developer.
23b3e9
23b3e9
# Hence the manifest is the combination of analogous files in the manifests of
23b3e9
# all of the other subpackages
23b3e9
23b3e9
%if 0%{?with_debug_build}
23b3e9
%files debug
23b3e9
%defattr(-,root,root,-)
23b3e9
23b3e9
# Analog of the core subpackage's files:
23b3e9
%{_bindir}/%{python}-debug
23b3e9
%if %{main_python}
23b3e9
%{_bindir}/python2-debug
23b3e9
%endif
23b3e9
%{_bindir}/python%{pybasever}-debug
23b3e9
23b3e9
# Analog of the -libs subpackage's files, with debug builds of the built-in
23b3e9
# "extension" modules:
23b3e9
%{dynload_dir}/_bisectmodule_d.so
23b3e9
%{dynload_dir}/_bsddb_d.so
23b3e9
%{dynload_dir}/_codecs_cn_d.so
23b3e9
%{dynload_dir}/_codecs_hk_d.so
23b3e9
%{dynload_dir}/_codecs_iso2022_d.so
23b3e9
%{dynload_dir}/_codecs_jp_d.so
23b3e9
%{dynload_dir}/_codecs_kr_d.so
23b3e9
%{dynload_dir}/_codecs_tw_d.so
23b3e9
%{dynload_dir}/_collectionsmodule_d.so
23b3e9
%{dynload_dir}/_csv_d.so
23b3e9
%{dynload_dir}/_ctypes_d.so
23b3e9
%{dynload_dir}/_curses_d.so
23b3e9
%{dynload_dir}/_curses_panel_d.so
23b3e9
%{dynload_dir}/_elementtree_d.so
23b3e9
%{dynload_dir}/_functoolsmodule_d.so
23b3e9
%{dynload_dir}/_hashlib_d.so
23b3e9
%{dynload_dir}/_heapq_d.so
23b3e9
%{dynload_dir}/_hotshot_d.so
23b3e9
%{dynload_dir}/_io_d.so
23b3e9
%{dynload_dir}/_json_d.so
23b3e9
%{dynload_dir}/_localemodule_d.so
23b3e9
%{dynload_dir}/_lsprof_d.so
23b3e9
%{dynload_dir}/_multibytecodecmodule_d.so
23b3e9
%{dynload_dir}/_multiprocessing_d.so
23b3e9
%{dynload_dir}/_randommodule_d.so
23b3e9
%{dynload_dir}/_socketmodule_d.so
23b3e9
%{dynload_dir}/_sqlite3_d.so
23b3e9
%{dynload_dir}/_ssl_d.so
23b3e9
%{dynload_dir}/_struct_d.so
23b3e9
%{dynload_dir}/arraymodule_d.so
23b3e9
%{dynload_dir}/audioop_d.so
23b3e9
%{dynload_dir}/binascii_d.so
23b3e9
%{dynload_dir}/bz2_d.so
23b3e9
%{dynload_dir}/cPickle_d.so
23b3e9
%{dynload_dir}/cStringIO_d.so
23b3e9
%{dynload_dir}/cmathmodule_d.so
23b3e9
%{dynload_dir}/_cryptmodule_d.so
23b3e9
%{dynload_dir}/datetime_d.so
23b3e9
%{dynload_dir}/dbm_d.so
23b3e9
%{dynload_dir}/dlmodule_d.so
23b3e9
%{dynload_dir}/fcntlmodule_d.so
23b3e9
%{dynload_dir}/future_builtins_d.so
23b3e9
%if %{with_gdbm}
23b3e9
%{dynload_dir}/gdbmmodule_d.so
23b3e9
%endif
23b3e9
%{dynload_dir}/grpmodule_d.so
23b3e9
%{dynload_dir}/imageop_d.so
23b3e9
%{dynload_dir}/itertoolsmodule_d.so
23b3e9
%{dynload_dir}/linuxaudiodev_d.so
23b3e9
%{dynload_dir}/math_d.so
23b3e9
%{dynload_dir}/mmapmodule_d.so
23b3e9
%{dynload_dir}/nismodule_d.so
23b3e9
%{dynload_dir}/operator_d.so
23b3e9
%{dynload_dir}/ossaudiodev_d.so
23b3e9
%{dynload_dir}/parsermodule_d.so
23b3e9
%{dynload_dir}/pyexpat_d.so
23b3e9
%{dynload_dir}/readline_d.so
23b3e9
%{dynload_dir}/resource_d.so
23b3e9
%{dynload_dir}/selectmodule_d.so
23b3e9
%{dynload_dir}/spwdmodule_d.so
23b3e9
%{dynload_dir}/stropmodule_d.so
23b3e9
%{dynload_dir}/syslog_d.so
23b3e9
%{dynload_dir}/termios_d.so
23b3e9
%{dynload_dir}/timemodule_d.so
23b3e9
%{dynload_dir}/timingmodule_d.so
23b3e9
%{dynload_dir}/unicodedata_d.so
23b3e9
%{dynload_dir}/xxsubtype_d.so
23b3e9
%{dynload_dir}/zlibmodule_d.so
23b3e9
23b3e9
# No need to split things out the "Makefile" and the config-32/64.h file as we
23b3e9
# do for the regular build above (bug 531901), since they're all in one package
23b3e9
# now; they're listed below, under "-devel":
23b3e9
23b3e9
%{_libdir}/%{py_INSTSONAME_debug}
23b3e9
%if 0%{?with_systemtap}
23b3e9
%{tapsetdir}/%{libpython_stp_debug}
23b3e9
%endif
23b3e9
23b3e9
# Analog of the -devel subpackage's files:
23b3e9
%dir %{pylibdir}/config-debug
23b3e9
%{_libdir}/pkgconfig/python-%{pybasever}-debug.pc
23b3e9
%{_libdir}/pkgconfig/python-debug.pc
23b3e9
%{_libdir}/pkgconfig/python2-debug.pc
23b3e9
%{pylibdir}/config-debug/*
23b3e9
%dir %{_includedir}/python%{pybasever}-debug
23b3e9
%{_includedir}/python%{pybasever}-debug/*.h
23b3e9
%if %{main_python}
23b3e9
%{_bindir}/python-debug-config
23b3e9
%{_bindir}/python2-debug-config
23b3e9
%endif
23b3e9
%{_bindir}/python%{pybasever}-debug-config
23b3e9
%{_libdir}/libpython%{pybasever}_d.so
23b3e9
23b3e9
# Analog of the -tools subpackage's files:
23b3e9
#  None for now; we could build precanned versions that have the appropriate
23b3e9
# shebang if needed
23b3e9
23b3e9
# Analog  of the tkinter subpackage's files:
23b3e9
%{dynload_dir}/_tkinter_d.so
23b3e9
23b3e9
# Analog  of the -test subpackage's files:
23b3e9
%{dynload_dir}/_ctypes_test_d.so
23b3e9
%{dynload_dir}/_testcapimodule_d.so
23b3e9
23b3e9
%endif # with_debug_build
23b3e9
23b3e9
# We put the debug-gdb.py file inside /usr/lib/debug to avoid noise from
23b3e9
# ldconfig (rhbz:562980).
23b3e9
# 
23b3e9
# The /usr/lib/rpm/redhat/macros defines %__debug_package to use
23b3e9
# debugfiles.list, and it appears that everything below /usr/lib/debug and
23b3e9
# (/usr/src/debug) gets added to this file (via LISTFILES) in
23b3e9
# /usr/lib/rpm/find-debuginfo.sh
23b3e9
# 
23b3e9
# Hence by installing it below /usr/lib/debug we ensure it is added to the
23b3e9
# -debuginfo subpackage
23b3e9
# (if it doesn't, then the rpmbuild ought to fail since the debug-gdb.py 
23b3e9
# payload file would be unpackaged)
23b3e9
23b3e9
23b3e9
# ======================================================
23b3e9
# Finally, the changelog:
23b3e9
# ======================================================
23b3e9
23b3e9
%changelog
45541d
* Wed Mar 16 2022 Charalampos Stratakis <cstratak@redhat.com> - 2.7.18-4
45541d
- Security fixes for CVE-2021-3733, CVE-2021-3737, CVE-2021-4189 and CVE-2022-0391
45541d
- Fix test suite issues with the latest expat security update
45541d
Resolves: rhbz#1995234, rhbz#1995162, rhbz#2036020, rhbz#2047376
45541d
3309fe
* Wed Jul 21 2021 Charalampos Stratakis <cstratak@redhat.com> - 2.7.18-3
3309fe
- Security fixes for CVE-2021-3177, CVE-2021-23336 and CVE-2020-27619
3309fe
Resolves: rhbz#1918168, rhbz#1928904, rhbz#1889886
3309fe
ec62d5
* Wed Sep 30 2020 Charalampos Stratakis <cstratak@redhat.com> - 2.7.18-2
ec62d5
- Security fix for CVE-2020-26116: Reject control chars in HTTP method in httplib.putrequest
3309fe
Resolves: rhbz#1883254
ec62d5
ec62d5
* Tue Sep 22 2020 Charalampos Stratakis <cstratak@redhat.com> - 2.7.18-1
ec62d5
- Update to 2.7.18, the last release of the Python 2 series
ec62d5
- Security fix for CVE-2019-18348
ec62d5
- Security fix for CVE-2019-20907
3309fe
Resolves: rhbz#1881145, rhbz#1765149, rhbz#1856542
ec62d5
cd3c85
* Fri Nov 15 2019 Charalampos Stratakis <cstratak@redhat.com> - 2.7.17-2
cd3c85
- Rebuild to regenerate properly the pyc and pyo files
ec62d5
Resolves: rhbz#1759950
cd3c85
cd3c85
* Thu Nov 07 2019 Charalampos Stratakis <cstratak@redhat.com> - 2.7.17-1
cd3c85
- Update to 2.7.17
ec62d5
Resolves: rhbz#1759950
cd3c85
706c86
* Tue Jun 11 2019 Charalampos Stratakis <cstratak@redhat.com> - 2.7.16-6
706c86
- Security fix for CVE-2019-10160
ec62d5
Resolves: rhbz#1718925
706c86
706c86
* Tue May 28 2019 Charalampos Stratakis <cstratak@redhat.com> - 2.7.16-5
706c86
- Security fix for CVE-2019-9948
ec62d5
Resolves: rhbz#1704175
706c86
b54164
* Mon May 20 2019 Victor Stinner <vstinner@redhat.com> - 2.7.16-4
b54164
- Fix regression in the crypt module introduced in update to Python 2.7.16
b54164
  (fix the name of the _crypt module init function).
b54164
b54164
* Wed May 15 2019 Charalampos Stratakis <cstratak@redhat.com> - 2.7.16-3
b54164
- Disallow control chars in http URLs
b54164
- Fixes CVE-2019-9740 and CVE-2019-9947
706c86
Resolves: rhbz#1703534 and rhbz#1704372
b54164
b54164
* Mon May 13 2019 Charalampos Stratakis <cstratak@redhat.com> - 2.7.16-2
b54164
- Updated fix for CVE-2019-9636
706c86
Resolves: rhbz#1706798
b54164
b54164
* Thu Apr 25 2019 Charalampos Stratakis <cstratak@redhat.com> - 2.7.16-1
b54164
- Update to 2.7.16
706c86
Resolves: rhbz#1563451, rhbz#1563487, rhbz#1636839
b54164
bf3aa8
* Tue Mar 26 2019 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-6
bf3aa8
- Security fix for CVE-2019-9636
706c86
Resolves: rhbz#1689326
bf3aa8
ba47ae
* Wed May 23 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-5
ba47ae
- Enable tests and rewheel
ba47ae
ba47ae
* Thu May 10 2018 Yaakov Selkowitz <yselkowi@redhat.com> - 2.7.13-4
ba47ae
- Add support for aarch64 and ppc64le.
ba47ae
- Disable rewheel and tests
ba47ae
f992f7
* Tue Feb 07 2017 Tomas Orsava <torsava@redhat.com> - 2.7.13-3
f992f7
- Reworked and readded patch 224: File based configuration of HTTPS verification
f992f7
Resolves: rhbz#1417838
f992f7
f992f7
* Tue Jan 31 2017 Tomas Orsava <torsava@redhat.com> - 2.7.13-2
f992f7
- Rebuilding because some .pyc/.pyo files were not properly generated in the
f992f7
  official build for some reason
f992f7
f992f7
* Mon Jan 09 2017 Tomas Orsava <torsava@redhat.com> - 2.7.13-1
f992f7
- Rebased to Python 2.7.13
f992f7
- Removed backport of PEP 466 (Patches 213-228)
f992f7
- Rebased/rewritten patches 1, 6, 10, 55, 102, 112, 134, 136, 137, 146, 153,
f992f7
  156, 167, 170, 180, 181, 189, 191
f992f7
- Dropped patches 166, 184, 196, 197, 229, 230, 232, 237, 238, 242
f992f7
- Added the rewheel module: patch 198
f992f7
Resolves: rhbz#1402809
f992f7
b148bc
* Thu Aug 04 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.8-16
b148bc
- Fix for CVE-2016-1000110 HTTPoxy attack
b148bc
Resolves: rhbz#1359167
b148bc
b148bc
* Tue Jun 21 2016 Tomas Orsava <torsava@redhat.com> - 2.7.8-15
b148bc
- Fix for CVE-2016-0772 python: smtplib StartTLS stripping attack (rhbz#1303647)
b148bc
  Raise an error when STARTTLS fails (upstream patch)
b148bc
- Fix for CVE-2016-5699 python: http protocol steam injection attack (rhbz#1303699)
b148bc
  Disabled HTTP header injections in httplib (upstream patch)
b148bc
Resolves: rhbz#1346358
b148bc
057d67
* Thu Apr 28 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.8-14
057d67
- Fix iteration over files with very long lines
057d67
Resolves: rhbz#1329141
057d67
057d67
* Tue Apr 19 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.8-13
057d67
- Modified 00214-pep466-backport-py3-ssl-changes.patch to apply correctly
057d67
Resolves: rhbz#1111464
057d67
057d67
* Tue Apr 19 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.8-12
057d67
- Modified 00224-pep476-add-toggle-for-cert-verify.patch to use certificate verification
057d67
config file from python27 SCL directory.
057d67
Resolves: rhbz#1111464
057d67
057d67
* Tue Apr 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.8-11
057d67
- Add choices for sort option of cProfile for better output
057d67
Resolves: rhbz#1319655
057d67
057d67
* Tue Apr 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.8-10
057d67
- Modified patch so tests can acknowledge the existense or lack
057d67
of SSLv2 support
057d67
Resolves: rhbz#1319703
057d67
057d67
* Wed Apr 06 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.8-9
057d67
- Adjusted tests to acknowledge lack of SSLv2 support
057d67
Resolves: rhbz#1319703
057d67
057d67
* Wed Apr 06 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.8-8
057d67
- Change HTTPS certificate verification to platform_default
057d67
Resolves: rhbz#1319774
057d67
057d67
* Wed Mar 09 2016 Michal Cyprian <mcyprian@redhat.com> - 2.7.8-7
057d67
- Initialize OpenSSL_add_all_digests in _hashlib
057d67
Resolves: rhbz#1318319
057d67
057d67
* Wed Feb 24 2016 Michal Cyprian <mcyprian@redhat.com> - 2.7.8-6
057d67
- Add missing cert-verification.cfg file
057d67
Resolves: rhbz#1311044
057d67
057d67
* Wed Feb 17 2016 Michal Cyprian <mcyprian@redhat.com> - 2.7.8-5
057d67
- Fix filtering pkgconfig Requires/Provides on rhel7
057d67
057d67
* Tue Feb 16 2016 Michal Cyprian <mcyprian@redhat.com> - 2.7.8-4
057d67
- Massive backport of ssl module from python3 aka PEP466
057d67
Resolves: rhbz#1111464
057d67
21eb11
* Tue May 19 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.7.8-3
21eb11
- Add httplib fix for CVE-2013-1752
21eb11
Resolves: rhbz#1187779
21eb11
21eb11
* Wed Feb 04 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.7.8-2
21eb11
- Fix %check setion not failing properly on failed test
21eb11
- Fixed CVE-2013-1752, CVE-2013-1753 
21eb11
Resolves: rhbz#1187779
21eb11
21eb11
* Thu Jan 08 2015 Slavek Kabrda <bkabrda@redhat.com> - 2.7.8-1
21eb11
- Update to 2.7.8.
21eb11
Resolves: rhbz#1167912
21eb11
- Make python-devel depend on scl-utils-build.
21eb11
Resolves: rhbz#1170993
21eb11
23b3e9
* Thu Mar 20 2014 Robert Kuska <rkuska@redhat.com> - 2.7.5-12
23b3e9
- Add scl prefix to libpython.stp file
23b3e9
Resolves: rhbz#1077272
23b3e9
23b3e9
* Mon Nov 25 2013 Robert Kuska <rkuska@redhat.com> - 2.7.5-11
23b3e9
- Bump release number to avoid build conflict with rhel-7.0
23b3e9
23b3e9
* Mon Nov 25 2013 Robert Kuska <rkuska@redhat.com> - 2.7.5-10
23b3e9
- Move unversioned python macros to metapackage
23b3e9
23b3e9
* Mon Oct 21 2013 Robert Kuska <rkuska@redhat.com> - 2.7.5-9
23b3e9
- Add patch to resolve missing libffi while building
23b3e9
- Remove BuildRequires: db4-devel, add BuildRequires: libdb-devel
23b3e9
23b3e9
* Mon Sep 30 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-8
23b3e9
- Make building depending collections on top of python27 easier.
23b3e9
Resolves: rhbz#994548
23b3e9
23b3e9
* Fri Aug 16 2013 Matej Stuchlik <mstuchli@redhat.com> - 2.7.5-7
23b3e9
- Added patch for CVE-2013-4238
23b3e9
Resolves: rhbz#997768
23b3e9
23b3e9
* Thu Jul 18 2013 Robert Kuska <rkuska@redhat.com> - 2.7.5-6
23b3e9
- Fix memory leak of variable 'utf8' in marshal.c
23b3e9
rhbz#985439
23b3e9
23b3e9
* Fri Jun 07 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-5
23b3e9
- Switch -O0 to -O1, as -O0 makes gcc ignore FORTIFY_SOURCE.
23b3e9
23b3e9
* Thu Jun 06 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-4
23b3e9
- Compile debug build libraries with -O0, fixes rhbz#967902.
23b3e9
23b3e9
* Mon May 27 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-3
23b3e9
- Properly generate bytecompilation files for Python itself
23b3e9
Fixes:
23b3e9
rhbz#967224
23b3e9
rhbz#967288
23b3e9
rhbz#968199
23b3e9
23b3e9
* Thu May 23 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-2
23b3e9
-  Remove __root_bindir wrapper (rhbz#966409).
23b3e9
23b3e9
* Fri May 17 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-1
23b3e9
- Update to Python 2.7.5.
23b3e9
- Merge patches from Fedora.
23b3e9
23b3e9
* Tue Apr 30 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-5
23b3e9
- Add python bytecompilation script and dependency generation script
23b3e9
into python-devel, so that it can be utilized by depending collections.
23b3e9
- Add __root_bindir wrapper script, rhbz#959791.
23b3e9
23b3e9
* Thu Apr 25 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-4
23b3e9
- Make python-libs explicitly depend on python27-runtime to make them
23b3e9
uninstall before python27-runtime, thus not leaving empty dirs behind.
23b3e9
23b3e9
* Tue Apr 23 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-3
23b3e9
- Own directories that are not owned by stap and pkgconfig.
23b3e9
- Own erroneously unowned include/python2.7-debug directory.
23b3e9
23b3e9
* Wed Apr 17 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-2
23b3e9
- Rebuilt with older zlib so that Python is installable on RHEL 6.2.z, too.
23b3e9
23b3e9
* Wed Apr 10 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-1
23b3e9
- Update to Python 2.7.4.
23b3e9
- Merge patches from Fedora.
23b3e9
23b3e9
* Mon Dec 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.3-16
23b3e9
- The power64 macro is unknown on older rhels, use ppc64 instead.
23b3e9
23b3e9
* Mon Dec 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.3-15
23b3e9
- Rebuilt for PPC.
23b3e9
23b3e9
* Fri Sep 14 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.3-14
23b3e9
- Rebuilt for SCL.
23b3e9
23b3e9
* Thu Aug  9 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-13
23b3e9
- remove f18 conditional from patch 159
23b3e9
23b3e9
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.3-12
23b3e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
23b3e9
23b3e9
* Tue Jul 17 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.3-11
23b3e9
- fix memory leak in module _hashlib (patch 158, rhbz#836285)
23b3e9
- fix db4 include path for libdb4 package (f18 and above) (patch 159)
23b3e9
23b3e9
* Tue Jun 26 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-10
23b3e9
- fix missing include in uid/gid handling patch (patch 157; rhbz#830405)
23b3e9
23b3e9
* Fri Jun 22 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-9
23b3e9
- use rpm macro for power64 (rhbz#834653)
23b3e9
23b3e9
* Tue May 15 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-8
23b3e9
- update uid/gid handling to avoid int overflows seen with uid/gid
23b3e9
values >= 2^31 on 32-bit architectures (patch 157; rhbz#697470)
23b3e9
23b3e9
* Fri May  4 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-7
23b3e9
- renumber autotools patch from 300 to 5000
23b3e9
- specfile cleanups
23b3e9
23b3e9
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-6
23b3e9
- try again to fix test_gdb.py (patch 156; rhbz#817072)
23b3e9
23b3e9
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-5
23b3e9
- fix test_gdb.py (patch 156; rhbz#817072)
23b3e9
23b3e9
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-4
23b3e9
- avoid allocating thunks in ctypes unless absolutely necessary, to avoid
23b3e9
generating SELinux denials on "import ctypes" and "import uuid" when embedding
23b3e9
Python within httpd (patch 155; rhbz#814391)
23b3e9
23b3e9
* Thu Apr 19 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-3
23b3e9
- add explicit version requirements on expat to avoid linkage problems with
23b3e9
XML_SetHashSalt
23b3e9
23b3e9
* Wed Apr 18 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-2
23b3e9
- fix -config symlinks (patch 112; rhbz#813836)
23b3e9
23b3e9
* Wed Apr 11 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-1
23b3e9
- 2.7.3: refresh patch 102 (lib64); drop upstream patches 11 (ascii-to-lower),
23b3e9
115 (pydoc robustness), 145 (linux2), 148 (gdbm magic values), 151 (deadlock
23b3e9
in fork); refresh patch 112 (debug build); revise patch 127
23b3e9
(test_structmember); fix test_gdb (patch 153); refresh patch 137 (distutils
23b3e9
tests); add python2.pc to python-devel; regenerate the autotool intermediates
23b3e9
patch (patch 300)
23b3e9
23b3e9
* Sat Feb 25 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.7.2-20
23b3e9
- fix deadlock issue (#787712)
23b3e9
23b3e9
* Fri Feb 17 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7.2-19
23b3e9
- Obsolete python-sqlite2
23b3e9
23b3e9
* Thu Nov 24 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.7.2-18
23b3e9
- Build with $RPM_LD_FLAGS (#756862).
23b3e9
- Use xz-compressed source tarball.
23b3e9
23b3e9
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.2-17
23b3e9
- Rebuilt for glibc bug#747377
23b3e9
23b3e9
* Fri Sep 30 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-16
23b3e9
- re-enable gdbm (patch 148; rhbz#742242)
23b3e9
23b3e9
* Fri Sep 16 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-15
23b3e9
- add a sys._debugmallocstats() function (patch 147)
23b3e9
23b3e9
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-14
23b3e9
- support OpenSSL FIPS mode in _hashlib and hashlib; don't build the _md5 and
23b3e9
_sha* modules, relying on _hashlib in hashlib, and thus within md5 etc
23b3e9
(rhbz#563986; patch 146)
23b3e9
23b3e9
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-13
23b3e9
- force sys.platform to be "linux2" (patch 145)
23b3e9
23b3e9
* Tue Sep 13 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-12
23b3e9
- disable gdbm module to prepare for gdbm soname bump
23b3e9
23b3e9
* Mon Sep 12 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-11
23b3e9
- rename and renumber patches for consistency with python3.spec (55, 111, 113,
23b3e9
114, 125, 131, 129 to 143)
23b3e9
23b3e9
* Sat Sep 10 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-10
23b3e9
- rewrite of "check", introducing downstream-only hooks for skipping specific
23b3e9
cases in an rpmbuild (patch 132), and fixing/skipping failing tests in a more
23b3e9
fine-grained manner than before (patches 104, 133-142)
23b3e9
23b3e9
* Thu Sep  1 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-9
23b3e9
- run selftests with "--verbose"
23b3e9
- disable parts of test_io on ppc (rhbz#732998)
23b3e9
23b3e9
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-8
23b3e9
- add --extension-suffix option to python-config (patch 130; rhbz#732808)
23b3e9
23b3e9
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-7
23b3e9
- re-enable and fix the --with-tsc option on ppc64, and rework it on 32-bit
23b3e9
ppc to avoid aliasing violations (patch 129; rhbz#698726)
23b3e9
23b3e9
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-6
23b3e9
- don't use --with-tsc on ppc64 debug builds (rhbz#698726)
23b3e9
23b3e9
* Thu Aug 18 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-5
23b3e9
- add rpm macros file (rhbz#731800)
23b3e9
23b3e9
* Fri Jul  8 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-4
23b3e9
- cleanup of BuildRequires; add comment headings to specfile sections
23b3e9
23b3e9
* Wed Jun 22 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-3
23b3e9
- reorganize test exclusions (test_openpty and test_pty seem to be failing on
23b3e9
every arch, not just the explicitly-listed ones)
23b3e9
23b3e9
* Mon Jun 13 2011 Dan Horák <dan[at]danny.cz> - 2.7.2-2
23b3e9
- add s390(x) excluded tests
23b3e9
23b3e9
* Mon Jun 13 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-1
23b3e9
- 2.7.2; drop upstreamed patches: patch 122 (parallel make fix), patch 124
23b3e9
(test_commands and SELinux), patch 130 (ppc preprocessor macro in debug
23b3e9
build); patch 131 (decimal in Turkish locale); regenerate the autotool
23b3e9
intermediates patch (patch 300)
23b3e9
23b3e9
* Tue Jun 07 2011 Dennis Gilmore <dennis@ausil.us> - 2.7.1-9
23b3e9
- fix sparc building by excluding failing tests RHBZ#711584
23b3e9
23b3e9
* Mon May 23 2011 Peter Robinson <pbrobinson@gmail.com> - 2.7.1-8
23b3e9
- fix compile on ARM by excluding failing tests on arm - RHBZ #706253
23b3e9
23b3e9
* Tue Apr 12 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-7
23b3e9
- fix "import decimal" in the Turkish locale (patch 131; rhbz#694928)
23b3e9
23b3e9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-6
23b3e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
23b3e9
23b3e9
* Fri Jan  21 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7.1-5
23b3e9
- Switch from setting OPT to setting EXTRA_CFLAGS so we don't overwrite the
23b3e9
  DNDEBUG flag
23b3e9
23b3e9
* Fri Jan  7 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-4
23b3e9
- for now, drop "obsoletes" of python-argparse, since it interracts badly with
23b3e9
multilib (rhbz#667984)
23b3e9
23b3e9
* Fri Jan  7 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.7.1-3
23b3e9
- obsolete/provide python-argparse (new in 2.7)
23b3e9
23b3e9
* Thu Jan  6 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-2
23b3e9
- fix the ppc build of the debug configuration (patch 130; rhbz#661510)
23b3e9
23b3e9
* Thu Dec 23 2010 David Malcolm <dmalcolm@redhat.com> - 2.7.1-1
23b3e9
- 2.7.1, reworking patch 0 (config), patch 102 (lib64); drop upstream
23b3e9
patch 56 (cfgparse), patch 110 (ctypes/SELinux/noexecmem), patch 119 (expat
23b3e9
compat), patch 123 (2to3 on "from itertools import *")
23b3e9
- fix test_abc's test_cache_leak in the debug build (patch 128)
23b3e9
- drop _weakref.so from manifest (_weakref became a core module in r84230)
23b3e9
23b3e9
* Wed Sep 29 2010 jkeating - 2.7-13
23b3e9
- Rebuilt for gcc bug 634757
23b3e9
23b3e9
* Mon Sep 27 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-12
23b3e9
- fix test_structmember on 64bit-bigendian (patch 127)
23b3e9
23b3e9
* Fri Sep 24 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-11
23b3e9
- fix dbm_contains on 64bit-bigendian (patch 126; rhbz#626756)
23b3e9
23b3e9
* Thu Sep 16 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7-10
23b3e9
- backport a patch to fix a change in behaviour in configparse.
23b3e9
23b3e9
* Thu Sep  9 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-9
23b3e9
- move most of the payload of the core package to the libs subpackage, given
23b3e9
that the libs aren't meaningfully usable without the standard libraries
23b3e9
23b3e9
* Wed Aug 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-8
23b3e9
- add %%check section
23b3e9
- update lib64 patch (patch 102) to fix expected output in test_site.py on
23b3e9
64-bit systems
23b3e9
- patch test_commands.py to work with SELinux (patch 124)
23b3e9
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
23b3e9
23b3e9
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-7
23b3e9
- fixup missing -lcrypt to "crypt" module in config patch (patch 0)
23b3e9
23b3e9
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-6
23b3e9
- re-enable systemtap
23b3e9
- cherrypick upstream patch to 2to3 for "from itertools import *"
23b3e9
traceback (patch 123)
23b3e9
23b3e9
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-5
23b3e9
- disable systemtap for now (dtrace is failing on startup due to the bug
23b3e9
mentioned in 2.7-4)
23b3e9
- provide relative path to python binary when running pathfix.py
23b3e9
- fix parallel make (patch 122)
23b3e9
23b3e9
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-4
23b3e9
- fix reference to pyconfig.h in sysconfig that led to failure on startup if
23b3e9
python-devel was not installed
23b3e9
23b3e9
* Thu Jul  8 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-3
23b3e9
- add patch to fixup the new sysconfig.py for our multilib support on
23b3e9
64-bit (patch 103)
23b3e9
23b3e9
* Thu Jul  8 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-2
23b3e9
- add machinery for regenerating the "configure" script in the face of
23b3e9
mismatching autoconf versions (patch 300)
23b3e9
23b3e9
* Tue Jul  6 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-1
23b3e9
- 2.7 final; drop alphatag
23b3e9
- drop patch 117 (upstream), patch 120 (upstreamed)
23b3e9
- fix the commented-out __python_ver from 26 to 27
23b3e9
23b3e9
* Tue Jun 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-0.1.rc2
23b3e9
- 2.7rc2
23b3e9
- revert r79310 (patch 121)
23b3e9
- remove modulator: upstream removed it in r78338
23b3e9
- rename mathmodule(_d).so to math(_d).so in manifests (appears to be changed
23b3e9
by r76861)
23b3e9
- _bytesio(_d).so and _filesio(_d).so were consolidated into _io(_d).so in
23b3e9
r73394 (upstream issue 6215)
23b3e9
- use the gdb hooks from the upstream tarball, rather than keeping our own
23b3e9
copy. The upstream version has some whitespace changes, a new write_repr for
23b3e9
unicode objects, and various bulletproofings for being run on older gdbs
23b3e9
23b3e9
* Tue Jun 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-0.1.rc1
23b3e9
- 2.7rc1:
23b3e9
  - rework patches to apply against 2.7 (which among other changes has had a
23b3e9
whitespace cleanup of the .c code): .rhconfig (patch0), .binutils-no-dep
23b3e9
(patch10), .ascii-tolower (patch11), .socketmodule (patch13), .socketmodule2
23b3e9
(patch14), .systemtap (patch55), .lib64 (patch102), .selinux (patch110),
23b3e9
.no-static-lib (patch111), .debug-build (patch112), .statvfs-f-flag-constants
23b3e9
(patch114), ..CVE-2010-2089 (patch117)
23b3e9
  - drop upstream patches: .expat (patch3), .brprpm (patch51), .valgrind
23b3e9
(patch52), .db48 (patch53), .CVE-2010-1634 (patch 116), .CVE-2008-5983 (patch
23b3e9
118)
23b3e9
23b3e9
* Tue Jun 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-17
23b3e9
- Stop python bailing out with an assertion failure when UnicodeDecodeErrors
23b3e9
occur on very large buffers (patch 120, upstream issue 9058)
23b3e9
23b3e9
* Mon Jun 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-16
23b3e9
- Fix an incompatibility between pyexpat and the system expat-2.0.1 that led to
23b3e9
a segfault running test_pyexpat.py (patch 119; upstream issue 9054)
23b3e9
23b3e9
* Tue Jun  8 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-15
23b3e9
- add a flag to make it easy to turn off the debug build when troubleshooting
23b3e9
the rpm build
23b3e9
23b3e9
* Sat Jun  5 2010 Dan Horák <dan[at]danny.cz> - 2.6.5-14
23b3e9
- reading the timestamp counter is available only on some arches (see Python/ceval.c)
23b3e9
- disable --with-valgrind on s390(x) arches
23b3e9
23b3e9
* Fri Jun  4 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-13
23b3e9
- ensure that the compiler is invoked with "-fwrapv" (rhbz#594819)
23b3e9
- CVE-2010-1634: fix various integer overflow checks in the audioop
23b3e9
module (patch 116)
23b3e9
- CVE-2010-2089: further checks within the audioop module (patch 117)
23b3e9
- CVE-2008-5983: the new PySys_SetArgvEx entry point from r81399 (patch 118)
23b3e9
23b3e9
* Thu May 27 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-12
23b3e9
- make "pydoc -k" more robust in the face of broken modules (rhbz:461419, patch115)
23b3e9
23b3e9
* Wed May 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-11
23b3e9
- add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
23b3e9
(patch 114)
23b3e9
23b3e9
* Tue May 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-10
23b3e9
- add configure-time support for COUNT_ALLOCS and CALL_PROFILE debug options
23b3e9
(patch 113); enable them and the WITH_TSC option within the debug build
23b3e9
23b3e9
* Tue May 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-9
23b3e9
- build and install two different configurations of Python: debug and standard,
23b3e9
packaging the debug build in a new "python-debug" subpackage (patch 112)
23b3e9
23b3e9
* Tue May  4 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-8
23b3e9
- don't delete wsgiref.egg-info (rhbz:588426)
23b3e9
23b3e9
* Mon Apr 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-7
23b3e9
- disable --with-valgrind on sparc arches
23b3e9
23b3e9
* Mon Apr 12 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-6
23b3e9
- move the "bdist_wininst" command's template .exe files from the core package
23b3e9
to the devel subpackage, to save space (rhbz:525469)
23b3e9
- fix stray doublelisting of config directory wildcard in devel subpackage
23b3e9
23b3e9
* Wed Mar 31 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-5
23b3e9
- update python-gdb.py from v4 to v5 (improving performance and stability,
23b3e9
adding commands)
23b3e9
23b3e9
* Thu Mar 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-4
23b3e9
- update python-gdb.py from v3 to v4 (fixing infinite recursion on reference
23b3e9
cycles and tracebacks on bytes 0x80-0xff in strings, adding handlers for sets
23b3e9
and exceptions)
23b3e9
23b3e9
* Wed Mar 24 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-3
23b3e9
- refresh gdb hooks to v3 (reworking how they are packaged)
23b3e9
23b3e9
* Mon Mar 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-2
23b3e9
- remove unnecessary arch-conditionality for patch 101
23b3e9
23b3e9
* Fri Mar 19 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-1
23b3e9
- update to 2.6.5: http://www.python.org/download/releases/2.6.5/
23b3e9
- replace our patch to compile against db4.8 with a patch from
23b3e9
upstream (patch 53, from r78974); update patch 54 since part of it is now in
23b3e9
that upstream patch
23b3e9
- update patch 110 so that it still applies in the face of upstream r78380
23b3e9
23b3e9
* Tue Mar 16 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-23
23b3e9
- fixup distutils/unixccompiler.py to remove standard library path from
23b3e9
rpath (patch 17)
23b3e9
- delete DOS batch files
23b3e9
23b3e9
* Fri Mar 12 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-22
23b3e9
- add pyfuntop.stp; allow systemtap support to be disabled
23b3e9
- remove trailing period from tkinter summary
23b3e9
- don't own /usr/bin/python-config if you're not the main python
23b3e9
23b3e9
* Thu Mar 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.6.4-21
23b3e9
- rebuild with new gdbm
23b3e9
23b3e9
* Thu Feb 11 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-20
23b3e9
- avoid having the "test" subdirectory and the files within it that are in the
23b3e9
core subpackage also be owned by the test subpackage (rhbz:467588)
23b3e9
23b3e9
* Wed Feb 10 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-19
23b3e9
- revise the systemtap patch (patch 55:python-2.6.4-dtrace.patch) to the
23b3e9
new version by mjw in attachment 390110 of rhbz:545179, as this should
23b3e9
eliminate the performance penalty for the case where the probes aren't in
23b3e9
use, and eliminate all architecture-specific code (rhbz:563541; except on
23b3e9
sparc)
23b3e9
23b3e9
* Tue Feb  9 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-18
23b3e9
- add a systemtap tapset defining "python.function.entry" and
23b3e9
"python.function.return" to make it easy to use the static probepoint within
23b3e9
Python; add an example of using the tapset to the docs
23b3e9
23b3e9
* Tue Feb  9 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-17
23b3e9
- add systemtap static probes (wcohen; patch 55; rh bug #545179)
23b3e9
- update some comments in specfile relating to gdb work
23b3e9
- manually byte-compile the gdb.py file with the freshly-built python to ensure
23b3e9
that .pyx and .pyo files make it into the debuginfo manifest if they are later
23b3e9
byte-compiled after find-debuginfo.sh is run
23b3e9
23b3e9
* Mon Feb  8 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-16
23b3e9
- move the -gdb.py file from %%{_libdir}/INSTSONAME-gdb.py to
23b3e9
%%{_prefix}/lib/debug/%%{_libdir}/INSTSONAME.debug-gdb.py to avoid noise from
23b3e9
ldconfig (bug 562980), and which should also ensure it becomes part of the
23b3e9
debuginfo subpackage, rather than the libs subpackage
23b3e9
- introduce %%{py_SOVERSION} and %%{py_INSTSONAME} to reflect the upstream
23b3e9
configure script, and to avoid fragile scripts that try to figure this out
23b3e9
dynamically (e.g. for the -gdb.py change)
23b3e9
23b3e9
* Mon Feb  8 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-15
23b3e9
- work around bug 562906 by supplying a fixed version of pythondeps.sh
23b3e9
- set %%{_python_bytecompile_errors_terminate_build} to 0 to prevent the broken
23b3e9
test files from killing the build on buildroots where python is installed
23b3e9
23b3e9
* Fri Feb  5 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-14
23b3e9
- add gdb hooks for easier debugging
23b3e9
23b3e9
* Fri Jan 29 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-13
23b3e9
- document all patches, and remove the commented-out ones
23b3e9
23b3e9
* Tue Jan 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-12
23b3e9
- Address some of the issues identified in package review (bug 226342):
23b3e9
  - update libs requirement on base package to use %%{name} for consistency's
23b3e9
sake
23b3e9
  - convert from backticks to $() syntax throughout
23b3e9
  - wrap value of LD_LIBRARY_PATH in quotes
23b3e9
  - convert "/usr/bin/find" requirement to "findutils"
23b3e9
  - remove trailing periods from summaries of -devel and -tools subpackages
23b3e9
  - fix spelling mistake in description of -test subpackage
23b3e9
  - convert usage of $$RPM_BUILD_ROOT to %%{buildroot} throughout, for
23b3e9
stylistic consistency
23b3e9
  - supply dirmode arguments to defattr directives
23b3e9
23b3e9
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-11
23b3e9
- update python-2.6.2-config.patch to remove downstream customization of build
23b3e9
of pyexpat and elementtree modules
23b3e9
- add patch adapted from upstream (patch 3) to add support for building against
23b3e9
system expat; add --with-system-expat to "configure" invocation
23b3e9
- remove embedded copy of expat from source tree during "prep"
23b3e9
23b3e9
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-10
23b3e9
- introduce macros for 3 directories, replacing expanded references throughout:
23b3e9
%%{pylibdir}, %%{dynload_dir}, %%{site_packages}
23b3e9
- explicitly list all lib-dynload files, rather than dynamically gathering the
23b3e9
payload into a temporary text file, so that we can be sure what we are
23b3e9
shipping; remove now-redundant testing for presence of certain .so files
23b3e9
- remove embedded copy of zlib from source tree before building
23b3e9
23b3e9
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-9
23b3e9
- change python-2.6.2-config.patch to remove our downstream change to curses
23b3e9
configuration in Modules/Setup.dist, so that the curses modules are built using
23b3e9
setup.py with the downstream default (linking against libncursesw.so, rather
23b3e9
than libncurses.so), rather than within the Makefile; add a test to %%install
23b3e9
to verify the dso files that the curses module is linked against the correct
23b3e9
DSO (bug 539917; changes _cursesmodule.so -> _curses.so)
23b3e9
23b3e9
* Fri Jan 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-8
23b3e9
- rebuild (bug 556975)
23b3e9
23b3e9
* Wed Jan 20 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-7
23b3e9
- move lib2to3 from -tools subpackage to main package (bug 556667)
23b3e9
23b3e9
* Mon Jan 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-6
23b3e9
- patch Makefile.pre.in to avoid building static library (patch111, bug 556092)
23b3e9
- split up the "configure" invocation flags onto individual lines
23b3e9
23b3e9
* Fri Jan 15 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-5
23b3e9
- replace usage of %%define with %%global
23b3e9
- use the %%{_isa} macro to ensure that the python-devel dependency on python
23b3e9
is for the correct multilib arch (#555943)
23b3e9
- delete bundled copy of libffi to make sure we use the system one
23b3e9
- replace references to /usr with %%{_prefix}; replace references to
23b3e9
/usr/include with %%{_includedir}
23b3e9
23b3e9
* Wed Dec 16 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-4
23b3e9
- automatically disable arena allocator when run under valgrind (upstream
23b3e9
issue 2422; patch 52)
23b3e9
- add patch from Josh Boyer containing diff against upstream PyBSDDB to make
23b3e9
the bsddb module compile against db-4.8 (patch 53, #544275); bump the necessary
23b3e9
version of db4-devel to 4.8
23b3e9
- patch setup.py so that it searches for db-4.8, and enable debug output for
23b3e9
said search; make Setup.dist use db-4.8 (patch 54)
23b3e9
23b3e9
* Thu Nov 12 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-3
23b3e9
- fixup the build when __python_ver is set (Zach Sadecki; bug 533989); use
23b3e9
pybasever in the files section
23b3e9
23b3e9
* Thu Oct 29 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-2
23b3e9
- "Makefile" and the config-32/64.h file are needed by distutils/sysconfig.py
23b3e9
_init_posix(), so we include them in the core package, along with their parent
23b3e9
directories (bug 531901)
23b3e9
23b3e9
* Mon Oct 26 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-1
23b3e9
- Update to 2.6.4
23b3e9
23b3e9
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.6.2-2
23b3e9
- rebuilt with new openssl
23b3e9
23b3e9
* Mon Jul 27 2009 James Antill <james.antill@redhat.com> - 2.6.2-1
23b3e9
- Update to 2.6.2
23b3e9
23b3e9
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-11
23b3e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
23b3e9
23b3e9
* Sat Jul 4 2009 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.6-10
23b3e9
- Move python-config to devel subpackage (#506153)
23b3e9
- Update BuildRoot for new standard
23b3e9
23b3e9
* Sun Jun 28 2009 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.6-9
23b3e9
- Update python-tools description (#448940)
23b3e9
23b3e9
* Wed Apr 15 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 2.6-8
23b3e9
- Replace python-hashlib and python-uuid (#484715)
23b3e9
23b3e9
* Tue Mar 17 2009 James Antill <james@fedoraproject.org> - 2.6-7
23b3e9
- Use system libffi
23b3e9
- Resolves: bug#490573
23b3e9
- Fix SELinux execmem problems
23b3e9
- Resolves: bug#488396
23b3e9
23b3e9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-5
23b3e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
23b3e9
23b3e9
* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> - 2.6-4
23b3e9
- rebuild with new openssl
23b3e9
23b3e9
* Tue Jan  6 2009 James Antill <james.antill@redhat.com> - 2.6-3
23b3e9
- Fix distutils generated rpms.
23b3e9
- Resolves: bug#236535
23b3e9
23b3e9
* Wed Dec 10 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.6-2
23b3e9
- Enable -lcrypt for cryptmodule
23b3e9
23b3e9
* Fri Nov 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.6-1
23b3e9
- Update to 2.6
23b3e9
23b3e9
* Tue Sep 30 2008 James Antill <james.antill@redhat.com> - 2.5.2-1
23b3e9
- Move to 2.5.2
23b3e9
- Fix CVE-2008-2316 hashlib overflow.
23b3e9
23b3e9
* Thu Jul 17 2008 Jeremy Katz <katzj@redhat.com> - 2.5.1-30
23b3e9
- Fix up the build for new rpm
23b3e9
- And actually build against db4-4.7 (#455170)
23b3e9
23b3e9
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-27
23b3e9
- fix license tag
23b3e9
- enable support for db4-4.7
23b3e9
23b3e9
* Sun Jun 15 2008 James Antill <jantill@redhat.com> - 2.5.1-26
23b3e9
- Fix sporadic listdir problem
23b3e9
- Resolves: bug#451494
23b3e9
23b3e9
* Mon Apr  7 2008 James Antill <jantill@redhat.com> - 2.5.1-25
23b3e9
- Rebuild to re-gen autoconf file due to glibc change.
23b3e9
- Resolves: bug#441003
23b3e9
23b3e9
* Tue Mar 25 2008 James Antill <jantill@redhat.com> - 2.5.1-24
23b3e9
- Add more constants to socketmodule
23b3e9
23b3e9
* Sat Mar  8 2008 James Antill <jantill@redhat.com> - 2.5.1-22
23b3e9
- Add constants to socketmodule
23b3e9
- Resolves: bug#436560
23b3e9
23b3e9
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.5.1-22
23b3e9
- Autorebuild for GCC 4.3
23b3e9
23b3e9
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-21
23b3e9
- rebuild for new tk in rawhide
23b3e9
23b3e9
* Mon Jan  7 2008 James Antill <jantill@redhat.com> - 2.5.1-20
23b3e9
- Add valgrind support files, as doc, to python-devel
23b3e9
- Relates: rhbz#418621
23b3e9
- Add new API from 2.6, set_wakeup_fd ... use at own risk, presumably won't
23b3e9
- change but I have no control to guarantee that.
23b3e9
- Resolves: rhbz#427794
23b3e9
- Add gdbinit support file, as doc, to python-devel
23b3e9
23b3e9
* Fri Jan  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-19
23b3e9
- rebuild for new tcl/tk in rawhide
23b3e9
23b3e9
* Fri Dec  7 2007 James Antill <jantill@redhat.com> - 2.5.1-18
23b3e9
- Create a python-test sub-module, over 3MB of stuff noone wants.
23b3e9
- Don't remove egginfo files, try this see what happens ... may revert.
23b3e9
- Resolves: rhbz#414711
23b3e9
23b3e9
* Mon Dec  3 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-17
23b3e9
- rebuild for new libssl
23b3e9
23b3e9
* Fri Nov 30 2007 James Antill <jantill@redhat.com> - 2.5.1-16
23b3e9
- Fix pyconfig.h comment typo.
23b3e9
- Add back test_support.py and the __init__.py file.
23b3e9
- Resolves: rhbz#387401
23b3e9
23b3e9
* Tue Oct 30 2007 James Antill <jantill@redhat.com> - 2.5.1-15
23b3e9
- Do codec lowercase in C Locale.
23b3e9
- Resolves: 207134 191096
23b3e9
- Fix stupid namespacing in pysqlite, minimal upgrade to 2.3.3 pysqlite
23b3e9
- Resolves: 263221
23b3e9
23b3e9
* Wed Oct 24 2007 James Antill <jantill@redhat.com> - 2.5.1-14
23b3e9
- Remove bintuils dep. for live CD ... add work around for ctypes
23b3e9
23b3e9
* Mon Oct 22 2007 James Antill <jantill@redhat.com> - 2.5.1-13
23b3e9
- Add tix buildprereq
23b3e9
- Add tkinter patch
23b3e9
- Resolves: #281751
23b3e9
- Fix ctypes loading of libraries, add requires on binutils
23b3e9
- Resolves: #307221
23b3e9
- Possible fix for CVE-2007-4965 possible exploitable integer overflow
23b3e9
- Resolves: #295971
23b3e9
23b3e9
* Tue Oct 16 2007 Mike Bonnet <mikeb@redhat.com> - 2.5.1-12
23b3e9
- fix marshalling of objects in xmlrpclib (python bug #1739842)
23b3e9
23b3e9
* Fri Sep 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-11
23b3e9
- fix encoding of sqlite .py files to work around weird encoding problem 
23b3e9
  in Turkish (#283331)
23b3e9
23b3e9
* Mon Sep 10 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-10
23b3e9
- work around problems with multi-line plural specification (#252136)
23b3e9
23b3e9
* Tue Aug 28 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-9
23b3e9
- rebuild against new expat
23b3e9
23b3e9
* Tue Aug 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-8
23b3e9
- build against db4.6
23b3e9
23b3e9
* Tue Aug 14 2007 Dennis Gilmore <dennis@ausil.us> - 2.5.1-7
23b3e9
- add sparc64 to the list of archs for _pyconfig64_h
23b3e9
23b3e9
* Fri Aug 10 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-6
23b3e9
- fix ctypes again on some arches (Hans de Goede, #251637)
23b3e9
23b3e9
* Fri Jul  6 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-5
23b3e9
- link curses modules with ncursesw (#246385)
23b3e9
23b3e9
* Wed Jun 27 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-4
23b3e9
- fix _elementtree.so build (#245703)
23b3e9
- ensure that extension modules we expect are actually built rather than 
23b3e9
  having them silently fall out of the package
23b3e9
23b3e9
* Tue Jun 26 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-3
23b3e9
- link with system expat (#245703)
23b3e9
23b3e9
* Thu Jun 21 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-2
23b3e9
- rebuild to take advantage of hardlinking between identical pyc/pyo files
23b3e9
23b3e9
* Thu May 31 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-1
23b3e9
- update to python 2.5.1
23b3e9
23b3e9
* Mon Mar 19 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-12
23b3e9
- fix alpha build (#231961)
23b3e9
23b3e9
* Tue Feb 13 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-11
23b3e9
- tcl/tk was reverted; rebuild again
23b3e9
23b3e9
* Thu Feb  1 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-10
23b3e9
- rebuild for new tcl/tk
23b3e9
23b3e9
* Tue Jan 16 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.5.3-9
23b3e9
- link with ncurses
23b3e9
23b3e9
* Sat Jan  6 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-8
23b3e9
- fix extensions to use shared libpython (#219564)
23b3e9
- all 64bit platforms need the regex fix (#122304)
23b3e9
23b3e9
* Wed Jan  3 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-7
23b3e9
- fix ctypes to not require execstack (#220669)
23b3e9
23b3e9
* Fri Dec 15 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-6
23b3e9
- don't link against compat-db (Robert Scheck)
23b3e9
23b3e9
* Wed Dec 13 2006 Jarod Wilson <jwilson@redhat.com> - 2.5.3-5
23b3e9
- fix invalid assert in debug mode (upstream changeset 52622)
23b3e9
23b3e9
* Tue Dec 12 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-4
23b3e9
- obsolete/provide python-ctypes (#219256)
23b3e9
23b3e9
* Mon Dec 11 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-3
23b3e9
- fix atexit traceback with failed syslog logger (#218214)
23b3e9
- split libpython into python-libs subpackage for multilib apps 
23b3e9
  embedding python interpreters
23b3e9
23b3e9
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-2
23b3e9
- disable installation of .egg-info files for now
23b3e9
23b3e9
* Tue Dec  5 2006 Jeremy Katz <katzj@redhat.com>
23b3e9
- support db 4.5
23b3e9
- obsolete python-elementtree; since it requires some code tweaks, don't 
23b3e9
  provide it
23b3e9
- obsolete old python-sqlite; provide the version that's actually included
23b3e9
23b3e9
* Mon Oct 30 2006 Jeremy Katz <katzj@redhat.com>
23b3e9
- fix _md5 and _sha modules (Robert Sheck)
23b3e9
- no longer provide optik compat; it's been a couple of years now
23b3e9
- no longer provide the old shm module; if this is still needed, let's 
23b3e9
  build it separately
23b3e9
- no longer provide japanese codecs; should be a separate package
23b3e9
23b3e9
* Mon Oct 23 2006 Jeremy Katz <katzj@redhat.com> - 2.5-0
23b3e9
- update to 2.5.0 final
23b3e9
23b3e9
* Fri Aug 18 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.99.c1
23b3e9
- Updated to 2.5c1. Merged fixes from FC6 too:
23b3e9
- Fixed bug #199373 (on some platforms CFLAGS is needed when linking)
23b3e9
- Fixed bug #198971 (case conversion not locale safe in logging library)
23b3e9
- Verified bug #201434 (distutils.sysconfig is confused by the change to make
23b3e9
  python-devel multilib friendly) is fixed upstream
23b3e9
23b3e9
* Sun Jul 16 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.99.b2
23b3e9
- Updated to 2.5b2 (which for comparison reasons is re-labeled 2.4.99.b2)
23b3e9
23b3e9
* Fri Jun 23 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.99.b1
23b3e9
- Updated to 2.5b1 (which for comparison reasons is re-labeled 2.4.99.b1)
23b3e9
23b3e9
* Tue Jun 13 2006 Jeremy Katz <katzj@redhat.com> - 2.4.3-11.FC6
23b3e9
- and fix it for real
23b3e9
23b3e9
* Tue Jun 13 2006 Jeremy Katz <katzj@redhat.com> - 2.4.3-10.FC6
23b3e9
- fix python-devel on ia64
23b3e9
23b3e9
* Tue Jun 13 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-9
23b3e9
- Fixed python-devel to be multilib friendly (bug #192747, #139911)
23b3e9
23b3e9
* Tue Jun 13 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-8
23b3e9
- Only copying mkhowto from the Docs - we don't need perl dependencies from
23b3e9
  python-tools.
23b3e9
23b3e9
* Mon Jun 12 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-7
23b3e9
- Fixed bug #121198 (webbrowser.py should use the user's preferences first)
23b3e9
23b3e9
* Mon Jun 12 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-6
23b3e9
- Fixed bug #192592 (too aggressive assertion fails) - SF#1257960
23b3e9
- Fixed bug #167468 (Doc/tools not included) - added in the python-tools package
23b3e9
23b3e9
* Thu Jun  8 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-5
23b3e9
- Fixed bug #193484 (added pydoc in the main package)
23b3e9
23b3e9
* Mon Jun  5 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-4
23b3e9
- Added dist in the release
23b3e9
23b3e9
* Mon May 15 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-3
23b3e9
- rebuilt to fix broken libX11 dependency
23b3e9
23b3e9
* Wed Apr 12 2006 Jeremy Katz <katzj@redhat.com> - 2.4.3-2
23b3e9
- rebuild with new gcc to fix #188649
23b3e9
23b3e9
* Thu Apr  6 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-1
23b3e9
- Updated to 2.4.3
23b3e9
23b3e9
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.4.2-3.2.1
23b3e9
- bump again for double-long bug on ppc(64)
23b3e9
23b3e9
* Fri Feb 10 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-3.2
23b3e9
- rebuilt for newer tix
23b3e9
23b3e9
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.4.2-3.1
23b3e9
- rebuilt for new gcc4.1 snapshot and glibc changes
23b3e9
23b3e9
* Fri Jan 20 2006 Mihai Ibanescu <misa@redhat.com> 2.4.2-3
23b3e9
- fixed #136654 for another instance of audiotest.au
23b3e9
23b3e9
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
23b3e9
- rebuilt
23b3e9
23b3e9
* Sat Nov 19 2005 Bill Nottingham <notting@redhat.com> 2.4.2-2
23b3e9
- fix build for modular X, remove X11R6 path references
23b3e9
23b3e9
* Tue Nov 15 2005 Mihai Ibanescu <misa@redhat.com> 2.4.2-1
23b3e9
- Upgraded to 2.4.2
23b3e9
- BuildRequires autoconf
23b3e9
23b3e9
* Wed Nov  9 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-16
23b3e9
- Rebuilding against newer openssl.
23b3e9
- XFree86-devel no longer exists
23b3e9
23b3e9
* Mon Sep 26 2005 Peter Jones <pjones@redhat.com> 2.4.1-14
23b3e9
- Once more -- this time, to fix -EPERM when you run it in a directory
23b3e9
  you can't read from.
23b3e9
23b3e9
* Mon Sep 26 2005 Peter Jones <pjones@redhat.com> 2.4.1-13
23b3e9
- So, 5 or 6 people have said it works for them with this patch...
23b3e9
23b3e9
* Sun Sep 25 2005 Peter Jones <pjones@redhat.com> 2.4.1-12
23b3e9
- Fixed bug #169159 (check for argc>0 and argv[0] == NULL, not just
23b3e9
    argv[0][0]='\0')
23b3e9
  Reworked the patch from -8 a bit more.
23b3e9
23b3e9
* Fri Sep 23 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-10
23b3e9
- Fixed bug #169159 (don't let python core dump if no arguments are passed in)
23b3e9
  Reworked the patch from -8 a bit more.
23b3e9
23b3e9
* Thu Sep 22 2005 Peter Jones <pjones@redhat.com> 2.4.1-8
23b3e9
- Fix bug #169046 more correctly.
23b3e9
23b3e9
* Thu Sep 22 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-7
23b3e9
- Fixed bug #169046 (realpath is unsafe); thanks to 
23b3e9
  Peter Jones <pjones@redhat.com> and Arjan van de Ven <arjanv@redhat.com> for
23b3e9
  diagnosing and the patch.
23b3e9
23b3e9
* Tue Sep 20 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-4
23b3e9
- Fixed bug #168655 (fixes for building as python24)
23b3e9
23b3e9
* Tue Jul 26 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-3
23b3e9
- Fixed bug #163435 (pynche doesn't start))
23b3e9
23b3e9
* Wed Apr 20 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-2
23b3e9
- Fixed bug #143667 (python should own /usr/lib/python* on 64-bit systems, for
23b3e9
  noarch packages)
23b3e9
- Fixed bug #143419 (BuildRequires db4 is not versioned)
23b3e9
23b3e9
* Wed Apr  6 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-1
23b3e9
- updated to 2.4.1
23b3e9
23b3e9
* Mon Mar 14 2005 Mihai Ibanescu <misa@redhat.com> 2.4-6
23b3e9
- building the docs from a different source rpm, to decouple bootstrapping
23b3e9
  python from having tetex installed
23b3e9
23b3e9
* Fri Mar 11 2005 Dan Williams <dcbw@redhat.com> 2.4-5
23b3e9
- Rebuild to pick up new libssl.so.5
23b3e9
23b3e9
* Wed Feb  2 2005 Mihai Ibanescu <misa@redhat.com> 2.4-4
23b3e9
- Fixed security issue in SimpleXMLRPCServer.py (#146647)
23b3e9
23b3e9
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 2.4-3
23b3e9
- Rebuilt for new readline.
23b3e9
23b3e9
* Mon Dec  6 2004 Jeff Johnson <jbj@jbj.org> 2.4-2
23b3e9
- db-4.3.21 returns DB_BUFFER_SMALL rather than ENOMEM (#141994).
23b3e9
- add Provide: python(abi) = 2.4
23b3e9
- include msgfmt/pygettext *.pyc and *.pyo from brp-python-bytecompile.
23b3e9
23b3e9
* Fri Dec  3 2004 Mihai Ibanescu <misa@redhat.com> 2.4-1
23b3e9
- Python-2.4.tar.bz2 (final)
23b3e9
23b3e9
* Fri Nov 19 2004 Mihai Ibanescu <misa@redhat.com> 2.4-0.c1.1
23b3e9
- Python-2.4c1.tar.bz2 (release candidate 1)
23b3e9
23b3e9
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 2.4-0.b2.4
23b3e9
- rebuild against db-4.3.21.
23b3e9
23b3e9
* Mon Nov  8 2004 Jeremy Katz <katzj@redhat.com> - 2.4-0.b2.3
23b3e9
- fix the lib64 patch so that 64bit arches still look in /usr/lib/python...
23b3e9
23b3e9
* Mon Nov  8 2004 Jeremy Katz <katzj@redhat.com> - 2.4-0.b2.2
23b3e9
- cryptmodule still needs -lcrypt (again)
23b3e9
23b3e9
* Thu Nov  4 2004 Mihai Ibanescu <misa@redhat.com> 2.4-0.b2.1
23b3e9
- Updated to python 2.4b2 (and labeled it 2.4-0.b2.1 to avoid breaking rpm's
23b3e9
  version comparison)
23b3e9
23b3e9
* Thu Nov  4 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-13
23b3e9
- Fixed bug #138112 (python overflows stack buffer) - SF bug 105470
23b3e9
23b3e9
* Tue Nov  2 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-12
23b3e9
- Fixed bugs #131439 #136023 #137863 (.pyc/.pyo files had the buildroot added)
23b3e9
23b3e9
* Tue Oct 26 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-11
23b3e9
- Fixed bug #136654 (python has sketchy audio clip)
23b3e9
23b3e9
* Tue Aug 31 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-10
23b3e9
- Fixed bug #77418 (Demo dir not packaged)
23b3e9
- More tweaking on #19347 (Moved Tools/ under /usr/lib/python2.3/Tools)
23b3e9
23b3e9
* Fri Aug 13 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-8
23b3e9
- Fixed bug #129769: Makefile in new python conflicts with older version found
23b3e9
  in old python-devel
23b3e9
- Reorganized the spec file to get rid of the aspython2 define; __python_ver
23b3e9
  is more powerful.
23b3e9
23b3e9
* Tue Aug  3 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-7
23b3e9
- Including html documentation for non-i386 arches
23b3e9
- Fixed #125362 (python-doc html files have japanese character encoding)
23b3e9
- Fixed #128923 (missing dependency between python and python-devel)
23b3e9
23b3e9
* Fri Jul 30 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-6
23b3e9
- Fixed #128030 (help() not printing anything)
23b3e9
- Fixed #125472 (distutils.sysconfig.get_python_lib() not returning the right
23b3e9
  path on 64-bit systems)
23b3e9
- Fixed #127357 (building python as a shared library)
23b3e9
- Fixed  #19347 (including the contents of Tools/scripts/ in python-tools)
23b3e9
23b3e9
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
23b3e9
- rebuilt
23b3e9
23b3e9
* Tue Jun  8 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-3
23b3e9
- Added an optik.py that provides the same interface from optparse for
23b3e9
  backward compatibility; obsoleting python-optik
23b3e9
23b3e9
* Mon Jun  7 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-2
23b3e9
- Patched bdist_rpm to allow for builds of multiple binary rpms (bug #123598)
23b3e9
23b3e9
* Fri Jun  4 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-1
23b3e9
- Updated to 2.3.4-1 with Robert Scheck's help (bug #124764)
23b3e9
- Added BuildRequires: tix-devel (bug #124918)
23b3e9
23b3e9
* Fri May  7 2004 Mihai Ibanescu <misa@redhat.com> 2.3.3-6
23b3e9
- Correct fix for #122304 from upstream:
23b3e9
  http://sourceforge.net/tracker/?func=detail&atid=105470&aid=931848&group_id=5470
23b3e9
23b3e9
* Thu May  6 2004 Mihai Ibanescu <misa@redhat.com> 2.3.3-4
23b3e9
- Fix for bug #122304 : splitting the domain name fails on 64-bit arches
23b3e9
- Fix for bug #120879 : including Makefile into the main package
23b3e9
23b3e9
- Requires XFree86-devel instead of -libs (see bug #118442)
23b3e9
23b3e9
* Tue Mar 16 2004 Mihai Ibanescu <misa@redhat.com> 2.3.3-3
23b3e9
- Requires XFree86-devel instead of -libs (see bug #118442)
23b3e9
23b3e9
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
23b3e9
- rebuilt
23b3e9
23b3e9
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
23b3e9
- rebuilt
23b3e9
23b3e9
* Fri Dec 19 2003 Jeff Johnson <jbj@jbj.org> 2.3.3-1
23b3e9
- upgrade to 2.3.3.
23b3e9
23b3e9
* Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 2.3.2-9
23b3e9
- rebuild against db-4.2.52.
23b3e9
23b3e9
* Fri Dec 12 2003 Jeremy Katz <katzj@redhat.com> 2.3.2-8
23b3e9
- more rebuilding for new tcl/tk
23b3e9
23b3e9
* Wed Dec  3 2003 Jeff Johnson <jbj@jbj.org> 2.3.2-7.1
23b3e9
- rebuild against db-4.2.42.
23b3e9
23b3e9
* Fri Nov 28 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-7
23b3e9
- rebuilt against newer tcl/tk
23b3e9
23b3e9
* Mon Nov 24 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-6
23b3e9
- added a Provides: python-abi
23b3e9
23b3e9
* Wed Nov 12 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-5
23b3e9
- force CC (#109268)
23b3e9
23b3e9
* Sun Nov  9 2003 Jeremy Katz <katzj@redhat.com> 2.3.2-4
23b3e9
- cryptmodule still needs -lcrypt
23b3e9
23b3e9
* Wed Nov  5 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-2
23b3e9
- Added patch for missing mkhowto
23b3e9
23b3e9
* Thu Oct 16 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-1
23b3e9
- Updated to 2.3.2
23b3e9
23b3e9
* Thu Sep 25 2003 Mihai Ibanescu <misa@redhat.com> 2.3.1-1
23b3e9
- 2.3.1 final
23b3e9
23b3e9
* Tue Sep 23 2003 Mihai Ibanescu <misa@redhat.com> 2.3.1-0.8.RC1
23b3e9
- Building the python 2.3.1 release candidate
23b3e9
- Updated the lib64 patch
23b3e9
23b3e9
* Wed Jul 30 2003 Mihai Ibanescu <misa@redhat.com> 2.3-0.2
23b3e9
- Building python 2.3
23b3e9
- Added more BuildRequires
23b3e9
- Updated the startup files for modulator and pynche; idle installs its own
23b3e9
  now.
23b3e9
23b3e9
* Thu Jul  3 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-4
23b3e9
- Rebuilt against newer db4 packages (bug #98539)
23b3e9
23b3e9
* Mon Jun 9 2003 Elliot Lee <sopwith@redhat.com> 2.2.3-3
23b3e9
- rebuilt
23b3e9
23b3e9
* Wed Jun  7 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-2
23b3e9
- Rebuilt
23b3e9
23b3e9
* Tue Jun  6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-1
23b3e9
- Upgraded to 2.2.3
23b3e9
23b3e9
* Wed Apr  2 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-28
23b3e9
- Rebuilt
23b3e9
23b3e9
* Wed Apr  2 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-27
23b3e9
- Modified the ftpuri patch conforming to http://ietf.org/rfc/rfc1738.txt
23b3e9
23b3e9
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
23b3e9
- rebuilt
23b3e9
23b3e9
* Mon Feb 24 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-25
23b3e9
- Fixed bug #84886: pydoc dies when run w/o arguments
23b3e9
- Fixed bug #84205: add python shm module back (used to be shipped with 1.5.2)
23b3e9
- Fixed bug #84966: path in byte-compiled code still wrong
23b3e9
23b3e9
* Thu Feb 20 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-23
23b3e9
- ftp uri's should be able to specify being rooted at the root instead of 
23b3e9
  where you login via ftp (#84692)
23b3e9
23b3e9
* Mon Feb 10 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-22
23b3e9
- Using newer Japanese codecs (1.4.9). Thanks to 
23b3e9
  Peter Bowen <pzb@datastacks.com> for pointing this out.
23b3e9
23b3e9
* Thu Feb  6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-21
23b3e9
- Rebuild
23b3e9
23b3e9
* Wed Feb  5 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-20
23b3e9
- Release number bumped really high: turning on UCS4 (ABI compatibility
23b3e9
  breakage)
23b3e9
23b3e9
* Fri Jan 31 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-13
23b3e9
- Attempt to look both in /usr/lib64 and /usr/lib/python2.2/site-packages/:
23b3e9
  some work on python-2.2.2-lib64.patch
23b3e9
23b3e9
* Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-12
23b3e9
- Rebuild to incorporate the removal of .lib64 and - files.
23b3e9
23b3e9
* Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-11.7.3
23b3e9
- Fixed bug #82544: Errata removes most tools
23b3e9
- Fixed bug #82435: Python 2.2.2 errata breaks redhat-config-users
23b3e9
- Removed .lib64 and - files that get installed after we fix the multilib
23b3e9
  .py files.
23b3e9
23b3e9
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
23b3e9
- rebuilt
23b3e9
23b3e9
* Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 2.2.2-10
23b3e9
- rebuild to update tkinter's tcltk deps
23b3e9
- convert changelog to utf-8
23b3e9
23b3e9
* Tue Jan  7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.2-9
23b3e9
- rebuild
23b3e9
23b3e9
* Fri Jan  3 2003 Nalin Dahyabhai <nalin@redhat.com>
23b3e9
- pick up OpenSSL cflags and ldflags from pkgconfig if available
23b3e9
23b3e9
* Thu Jan  2 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-8
23b3e9
- urllib2 didn't support non-anonymous ftp.  add support based on how 
23b3e9
  urllib did it (#80676, #78168)
23b3e9
23b3e9
* Mon Dec 16 2002 Mihai Ibanescu <misa@redhat.com> 2.2.2-7
23b3e9
- Fix bug #79647 (Rebuild of SRPM fails if python isn't installed)
23b3e9
- Added a bunch of missing BuildRequires found while fixing the
23b3e9
  above-mentioned bug
23b3e9
23b3e9
* Tue Dec 10 2002 Tim Powers <timp@redhat.com> 2.2.2-6
23b3e9
- rebuild to fix broken tcltk deps for tkinter
23b3e9
23b3e9
* Fri Nov 22 2002 Mihai Ibanescu <misa@redhat.com>
23b3e9
2.2.2-3.7.3
23b3e9
- Recompiled for 7.3 (to fix the -lcrypt bug)
23b3e9
- Fix for the spurious error message at the end of the build (build-requires
23b3e9
  gets confused by executable files starting with """"): make the tests
23b3e9
  non-executable.
23b3e9
23b3e9
* Wed Nov 20 2002 Mihai Ibanescu <misa@redhat.com>
23b3e9
2.2.2-5
23b3e9
- Fixed configuration patch to add -lcrypt when compiling cryptmodule.c
23b3e9
23b3e9
2.2.2-4
23b3e9
- Spec file change from Matt Wilson <msw@redhat.com> to disable linking 
23b3e9
  with the C++ compiler.
23b3e9
23b3e9
* Mon Nov 11 2002 Mihai Ibanescu <misa@redhat.com>
23b3e9
2.2.2-3.*
23b3e9
- Merged patch from Karsten Hopp <karsten@redhat.de> from 2.2.1-17hammer to
23b3e9
  use %%{_libdir}
23b3e9
- Added XFree86-libs as BuildRequires (because of tkinter)
23b3e9
- Fixed duplicate listing of plat-linux2
23b3e9
- Fixed exclusion of lib-dynload/japanese
23b3e9
- Added lib64 patch for the japanese codecs
23b3e9
- Use setup magic instead of using tar directly on JapaneseCodecs
23b3e9
23b3e9
* Tue Nov  5 2002 Mihai Ibanescu <misa@redhat.com>
23b3e9
2.2.2-2
23b3e9
- Fix #76912 (python-tools contains idle, which uses tkinter, but there is no
23b3e9
  requirement of tkinter from python-tools).
23b3e9
- Fix #74013 (rpm is missing the /usr/lib/python2.2/test directory)
23b3e9
23b3e9
* Mon Nov  4 2002 Mihai Ibanescu <misa@redhat.com>
23b3e9
- builds as python2 require a different libdb
23b3e9
- changed the buildroot name of python to match python2 builds
23b3e9
23b3e9
* Fri Nov  1 2002 Mihai Ibanescu <misa@redhat.com>
23b3e9
- updated python to 2.2.2 and adjusted the patches accordingly
23b3e9
23b3e9
* Mon Oct 21 2002 Mihai Ibanescu <misa@redhat.com>
23b3e9
- Fix #53930 (Python-2.2.1-buildroot-bytecode.patch)
23b3e9
- Added BuildPrereq dependency on gcc-c++
23b3e9
23b3e9
* Fri Aug 30 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-17
23b3e9
- security fix for _execvpe
23b3e9
23b3e9
* Tue Aug 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-16
23b3e9
- Fix  #71011,#71134, #58157
23b3e9
23b3e9
* Wed Aug  7 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-15
23b3e9
- Resurrect tkinter
23b3e9
- Fix for distutils (#67671)
23b3e9
- Fix #69962
23b3e9
23b3e9
* Thu Jul 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-14
23b3e9
- Obsolete tkinter/tkinter2 (#69838)
23b3e9
23b3e9
* Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-13
23b3e9
- Doc fixes (#53951) - not on alpha at the momemt
23b3e9
23b3e9
* Mon Jul  8 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-12
23b3e9
- fix pydoc (#68082)
23b3e9
23b3e9
* Mon Jul  8 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-11
23b3e9
- Add db4-devel as a BuildPrereq
23b3e9
23b3e9
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.2.1-10
23b3e9
- automated rebuild
23b3e9
23b3e9
* Mon Jun 17 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-9
23b3e9
- Add Japanese codecs (#66352)
23b3e9
23b3e9
* Tue Jun 11 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-8
23b3e9
- No more tkinter...
23b3e9
23b3e9
* Wed May 29 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-7
23b3e9
- Rebuild
23b3e9
23b3e9
* Tue May 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-6
23b3e9
- Add the email subcomponent (#65301)
23b3e9
23b3e9
* Fri May 10 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-5
23b3e9
- Rebuild
23b3e9
23b3e9
* Thu May 02 2002 Than Ngo <than@redhat.com> 2.2.1-4
23b3e9
- rebuild i new enviroment
23b3e9
23b3e9
* Tue Apr 23 2002 Trond Eivind Glomsrød <teg@redhat.com>
23b3e9
- Use ucs2, not ucs4, to avoid breaking tkinter (#63965)
23b3e9
23b3e9
* Mon Apr 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-2
23b3e9
- Make it use db4
23b3e9
23b3e9
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-1
23b3e9
- 2.2.1 - a bugfix-only release
23b3e9
23b3e9
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-16
23b3e9
- the same, but in builddirs - this will remove them from the 
23b3e9
  docs package, which doesn't look in the buildroot for files.
23b3e9
23b3e9
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-15
23b3e9
- Get rid of temporary files and .cvsignores included 
23b3e9
  in the tarball and make install
23b3e9
23b3e9
* Fri Apr  5 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-14
23b3e9
- Don't own lib-tk in main package, only in tkinter (#62753)
23b3e9
23b3e9
* Mon Mar 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-13
23b3e9
- rebuild
23b3e9
23b3e9
* Mon Mar 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-12
23b3e9
- rebuild
23b3e9
23b3e9
* Fri Mar  1 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-11
23b3e9
- Add a not to the Distutils obsoletes test (doh!)
23b3e9
23b3e9
* Fri Mar  1 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-10
23b3e9
- Rebuild
23b3e9
23b3e9
* Mon Feb 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-9
23b3e9
- Only obsolete Distutils when built as python
23b3e9
23b3e9
* Thu Feb 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-8
23b3e9
- Make files in /usr/bin install side by side with python 1.5 when
23b3e9
- Drop explicit requirement of db4
23b3e9
  built as python2
23b3e9
23b3e9
* Thu Jan 31 2002 Elliot Lee <sopwith@redhat.com> 2.2-7
23b3e9
- Use version and pybasever macros to make updating easy
23b3e9
- Use _smp_mflags macro
23b3e9
23b3e9
* Tue Jan 29 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-6
23b3e9
- Add db4-devel to BuildPrereq
23b3e9
23b3e9
* Fri Jan 25 2002 Nalin Dahyabhai <nalin@redhat.com> 2.2-5
23b3e9
- disable ndbm support, which is db2 in disguise (really interesting things
23b3e9
  can happen when you mix db2 and db4 in a single application)
23b3e9
23b3e9
* Thu Jan 24 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-4
23b3e9
- Obsolete subpackages if necesarry 
23b3e9
- provide versioned python2
23b3e9
- build with db4
23b3e9
23b3e9
* Wed Jan 16 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-3
23b3e9
- Alpha toolchain broken. Disable build on alpha.
23b3e9
- New openssl
23b3e9
23b3e9
* Wed Dec 26 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-1
23b3e9
- 2.2 final
23b3e9
23b3e9
* Fri Dec 14 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.11c1
23b3e9
- 2.2 RC 1
23b3e9
- Don't include the _tkinter module in the main package - it's 
23b3e9
  already in the tkiter packace
23b3e9
- Turn off the mpzmodule, something broke in the buildroot
23b3e9
23b3e9
* Wed Nov 28 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.10b2
23b3e9
- Use -fPIC for OPT as well, in lack of a proper libpython.so
23b3e9
23b3e9
* Mon Nov 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.9b2
23b3e9
- changed DESTDIR to point to / so that distutils will install dynload
23b3e9
  modules properly in the installroot
23b3e9
23b3e9
* Fri Nov 16 2001 Matt Wilson <msw@redhat.com> 2.2-0.8b2
23b3e9
- 2.2b2
23b3e9
23b3e9
* Fri Oct 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.7b1
23b3e9
- python2ify
23b3e9
23b3e9
* Fri Oct 19 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.5b1
23b3e9
- 2.2b1
23b3e9
23b3e9
* Sun Sep 30 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.4a4
23b3e9
- 2.2a4
23b3e9
- Enable UCS4 support
23b3e9
- Enable IPv6
23b3e9
- Provide distutils
23b3e9
- Include msgfmt.py and pygettext.py
23b3e9
23b3e9
* Fri Sep 14 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.3a3
23b3e9
- Obsolete Distutils, which is now part of the main package
23b3e9
- Obsolete python2
23b3e9
23b3e9
* Thu Sep 13 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.2a3
23b3e9
- Add docs, tools and tkinter subpackages, to match the 1.5 layout
23b3e9
23b3e9
* Wed Sep 12 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.1a3
23b3e9
- 2.2a3
23b3e9
- don't build tix and blt extensions
23b3e9
23b3e9
* Mon Aug 13 2001 Trond Eivind Glomsrød <teg@redhat.com>
23b3e9
- Add tk and tix to build dependencies
23b3e9
23b3e9
* Sat Jul 21 2001 Trond Eivind Glomsrød <teg@redhat.com>
23b3e9
- 2.1.1 bugfix release - with a GPL compatible license
23b3e9
23b3e9
* Fri Jul 20 2001 Trond Eivind Glomsrød <teg@redhat.com>
23b3e9
- Add new build dependencies (#49753)
23b3e9
23b3e9
* Tue Jun 26 2001 Nalin Dahyabhai <nalin@redhat.com>
23b3e9
- build with -fPIC
23b3e9
23b3e9
* Fri Jun  1 2001 Trond Eivind Glomsrød <teg@redhat.com>
23b3e9
- 2.1
23b3e9
- reorganization of file includes
23b3e9
23b3e9
* Wed Dec 20 2000 Trond Eivind Glomsrød <teg@redhat.com>
23b3e9
- fix the "requires" clause, it lacked a space causing problems
23b3e9
- use %%{_tmppath}
23b3e9
- don't define name, version etc
23b3e9
- add the available patches from the Python home page
23b3e9
23b3e9
* Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
23b3e9
- added devel subpackage
23b3e9
23b3e9
* Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
23b3e9
- modify all files to use "python2.0" as the intrepter
23b3e9
- don't build the Expat bindings
23b3e9
- build against db1
23b3e9
23b3e9
* Mon Oct 16 2000 Jeremy Hylton <jeremy@beopen.com>
23b3e9
- updated for 2.0 final
23b3e9
23b3e9
* Mon Oct  9 2000 Jeremy Hylton <jeremy@beopen.com>
23b3e9
- updated for 2.0c1
23b3e9
- build audioop, imageop, and rgbimg extension modules
23b3e9
- include xml.parsers subpackage
23b3e9
- add test.xml.out to files list
23b3e9
23b3e9
* Thu Oct  5 2000 Jeremy Hylton <jeremy@beopen.com>
23b3e9
- added bin/python2.0 to files list (suggested by Martin v. L?)
23b3e9
23b3e9
* Tue Sep 26 2000 Jeremy Hylton <jeremy@beopen.com>
23b3e9
- updated for release 1 of 2.0b2
23b3e9
- use .bz2 version of Python source
23b3e9
23b3e9
* Tue Sep 12 2000 Jeremy Hylton <jeremy@beopen.com>
23b3e9
- Version 2 of 2.0b1
23b3e9
- Make the package relocatable.  Thanks to Suchandra Thapa.
23b3e9
- Exclude Tkinter from main RPM.  If it is in a separate RPM, it is
23b3e9
  easier to track Tk releases.