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