churchyard / rpms / python2

Forked from rpms/python2 6 years ago
Clone
0626de5
%{!?__python_ver:%global __python_ver EMPTY}
0626de5
#global __python_ver 26
0626de5
%global unicode ucs4
cvsdist e0fde95
0626de5
%global _default_patch_fuzz 2
6435445
cvsdist 64c8a92
%if "%{__python_ver}" != "EMPTY"
0626de5
%global main_python 0
0626de5
%global python python%{__python_ver}
0626de5
%global tkinter tkinter%{__python_ver}
cvsdist e0fde95
%else
0626de5
%global main_python 1
0626de5
%global python python
0626de5
%global tkinter tkinter
cvsdist e0fde95
%endif
cvsdist e0fde95
0626de5
%global pybasever 2.6
05912b1
%global pylibdir %{_libdir}/python%{pybasever}
05912b1
%global tools_dir %{pylibdir}/Tools
05912b1
%global demo_dir %{pylibdir}/Demo
05912b1
%global doc_tools_dir %{pylibdir}/Doc/tools
05912b1
%global dynload_dir %{pylibdir}/lib-dynload
05912b1
%global site_packages %{pylibdir}/site-packages
cvsdist e0fde95
32b7039
# Python's configure script defines SOVERSION, and this is used in the Makefile
32b7039
# to determine INSTSONAME, the name of the libpython DSO:
32b7039
#   LDLIBRARY='libpython$(VERSION).so'
32b7039
#   INSTSONAME="$LDLIBRARY".$SOVERSION
32b7039
# We mirror this here in order to make it easier to add the -gdb.py hooks.
32b7039
# (if these get out of sync, the payload of the libs subpackage will fail
32b7039
# and halt the build)
32b7039
%global py_SOVERSION 1.0
32b7039
%global py_INSTSONAME libpython%{pybasever}.so.%{py_SOVERSION}
32b7039
b25d602
%global with_gdb_hooks 1
b25d602
5ae15cd
%global with_systemtap 1
4bb3fe1
4bb3fe1
# Some of the files below /usr/lib/pythonMAJOR.MINOR/test  (e.g. bad_coding.py)
4bb3fe1
# are deliberately invalid, leading to SyntaxError exceptions if they get
4bb3fe1
# byte-compiled.
4bb3fe1
#
4bb3fe1
# These errors are ignored by the normal python build, and aren't normally a
4bb3fe1
# problem in the buildroots since /usr/bin/python isn't present.
4bb3fe1
# 
4bb3fe1
# However, for the case where we're rebuilding the python srpm on a machine
4bb3fe1
# that does have python installed we need to set this to avoid
4bb3fe1
# brp-python-bytecompile treating these as fatal errors:
4bb3fe1
#
4bb3fe1
%global _python_bytecompile_errors_terminate_build 0
4bb3fe1
a7ef9c1
Summary: An interpreted, interactive, object-oriented programming language
cvsdist e0fde95
Name: %{python}
71fe1b9
# Remember to also rebase python-docs when changing this:
912b411
Version: 2.6.5
461494a
Release: 3%{?dist}
2d954f7
License: Python
cvsdist e4efab2
Group: Development/Languages
cvsdist d855cb1
Provides: python-abi = %{pybasever}
jbj 8e4b82e
Provides: python(abi) = %{pybasever}
Mihai Ibanescu 6828cb0
Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.bz2
60b7a5f
b25d602
b25d602
# We install a collection of hooks for gdb that make it easier to debug
b25d602
# executables linked against libpython (such as /usr/lib/python itself)
b25d602
#
b25d602
# These hooks are implemented in Python itself
b25d602
#
5ae15cd
# gdb-archer looks for them in the same path as the ELF file, with a -gdb.py suffix.
5ae15cd
# We put them in the debuginfo package by installing them to e.g.:
b25d602
#  /usr/lib/debug/usr/lib/libpython2.6.so.1.0.debug-gdb.py
b25d602
#
b25d602
# See https://fedoraproject.org/wiki/Features/EasierPythonDebugging for more
b25d602
# information
b25d602
#
b25d602
# Downloaded from:
461494a
#  http://bugs.python.org/issue8032
461494a
# This is Tools/gdb/libpython.py from v3 of the patch
461494a
Source1: python-gdb.py
b25d602
4bb3fe1
# Work around bug 562906 until it's fixed in rpm-build by providing a fixed
4bb3fe1
# version of pythondeps.sh:
4bb3fe1
Source2: pythondeps.sh
4bb3fe1
%global __python_requires %{SOURCE2}
4bb3fe1
3dde1c9
# Systemtap tapset to make it easier to use the systemtap static probes
3dde1c9
# (actually a template; LIBRARY_PATH will get fixed up during install)
3dde1c9
# Written by dmalcolm; not yet sent upstream
3dde1c9
Source3: libpython.stp
3dde1c9
3dde1c9
3dde1c9
# Example systemtap script using the tapset
3dde1c9
# Written by wcohen, mjw, dmalcolm; not yet sent upstream
3dde1c9
Source4: systemtap-example.stp
3dde1c9
c222436
# Another example systemtap script that uses the tapset
c222436
# Written by dmalcolm; not yet sent upstream
c222436
Source5: pyfuntop.stp
4bb3fe1
9b458a5
# Modules/Setup.dist is ultimately used by the "makesetup" script to construct
9b458a5
# the Makefile and config.c
9b458a5
#
9b458a5
# Upstream leaves many things disabled by default, to try to make it easy as
9b458a5
# possible to build the code on as many platforms as possible.
9b458a5
#
9b458a5
# TODO: many modules can also now be built by setup.py after the python binary
9b458a5
# has been built; need to assess if we should instead build things there
9b458a5
#
9b458a5
# We patch it downstream as follows:
9b458a5
#   - various modules are built by default by upstream as static libraries;
9b458a5
#   we built them as shared libraries
9b458a5
#   - build the "readline" module (appears to also be handled by setup.py now)
9b458a5
#   - enable the build of the following modules:
9b458a5
#     - array arraymodule.c	# array objects
9b458a5
#     - cmath cmathmodule.c # -lm # complex math library functions
9b458a5
#     - math mathmodule.c # -lm # math library functions, e.g. sin()
9b458a5
#     - _struct _struct.c	# binary structure packing/unpacking
9b458a5
#     - time timemodule.c # -lm # time operations and variables
9b458a5
#     - operator operator.c	# operator.add() and similar goodies
9b458a5
#     - _weakref _weakref.c	# basic weak reference support
9b458a5
#     - _testcapi _testcapimodule.c    # Python C API test module
9b458a5
#     - _random _randommodule.c	# Random number generator
9b458a5
#     - _collections _collectionsmodule.c # Container types
9b458a5
#     - itertools itertoolsmodule.c
9b458a5
#     - strop stropmodule.c
9b458a5
#     - _functools _functoolsmodule.c
9b458a5
#     - _bisect _bisectmodule.c	# Bisection algorithms
9b458a5
#     - unicodedata unicodedata.c    # static Unicode character database
9b458a5
#     - _locale _localemodule.c
9b458a5
#     - fcntl fcntlmodule.c	# fcntl(2) and ioctl(2)
9b458a5
#     - spwd spwdmodule.c		# spwd(3) 
9b458a5
#     - grp grpmodule.c		# grp(3)
9b458a5
#     - select selectmodule.c	# select(2); not on ancient System V
9b458a5
#     - mmap mmapmodule.c  # Memory-mapped files
9b458a5
#     - _csv _csv.c  # CSV file helper
9b458a5
#     - _socket socketmodule.c  # Socket module helper for socket(2)
9b458a5
#     - _ssl _ssl.c
9b458a5
#     - crypt cryptmodule.c -lcrypt	# crypt(3)
9b458a5
#     - nis nismodule.c -lnsl	# Sun yellow pages -- not everywhere
9b458a5
#     - termios termios.c	# Steen Lumholt's termios module
9b458a5
#     - resource resource.c	# Jeremy Hylton's rlimit interface
9b458a5
#     - audioop audioop.c	# Operations on audio samples
9b458a5
#     - imageop imageop.c	# Operations on images
9b458a5
#     - _md5 md5module.c md5.c
9b458a5
#     - _sha shamodule.c
9b458a5
#     - _sha256 sha256module.c
9b458a5
#     - _sha512 sha512module.c
9b458a5
#     - linuxaudiodev linuxaudiodev.c
9b458a5
#     - timing timingmodule.c
9b458a5
#     - _tkinter _tkinter.c tkappinit.c
9b458a5
#     - dl dlmodule.c
9b458a5
#     - gdbm gdbmmodule.c
9b458a5
#     - _bsddb _bsddb.c
9b458a5
#     - binascii binascii.c
9b458a5
#     - parser parsermodule.c
9b458a5
#     - cStringIO cStringIO.c
9b458a5
#     - cPickle cPickle.c
9b458a5
#     - zlib zlibmodule.c
9b458a5
#     - _multibytecodec cjkcodecs/multibytecodec.c
9b458a5
#     - _codecs_cn cjkcodecs/_codecs_cn.c
9b458a5
#     - _codecs_hk cjkcodecs/_codecs_hk.c
9b458a5
#     - _codecs_iso2022 cjkcodecs/_codecs_iso2022.c
9b458a5
#     - _codecs_jp cjkcodecs/_codecs_jp.c
9b458a5
#     - _codecs_kr cjkcodecs/_codecs_kr.c
9b458a5
#     - _codecs_tw cjkcodecs/_codecs_tw.c
59ba18a
Patch0: python-2.6.2-config.patch
9b458a5
9b458a5
# Removes the "-g" option from "pydoc", for some reason; I believe
9b458a5
# (dmalcolm 2010-01-29) that this was introduced in this change:
9b458a5
# - fix pydoc (#68082)
9b458a5
# in 2.2.1-12 as a response to the -g option needing TkInter installed
9b458a5
# (Red Hat Linux 8)
9b458a5
# Not upstream
60b7a5f
Patch1: Python-2.2.1-pydocnogui.patch
94e658a
94e658a
# Fixup configure.in and setup.py to build against system expat library.
94e658a
# Adapted from http://svn.python.org/view?view=rev&revision=77169
94e658a
Patch3: python-2.6.2-with-system-expat.patch
94e658a
9b458a5
# Add $(CFLAGS) to the linker arguments when linking the "python" binary
9b458a5
# since some architectures (sparc64) need this (rhbz:199373).
9b458a5
# Not yet filed upstream
440a06e
Patch4: python-2.5-cflags.patch
9b458a5
9b458a5
# Work around a bug in Python' gettext module relating to the "Plural-Forms"
9b458a5
# header (rhbz:252136)
9b458a5
# Related to upstream issues:
9b458a5
#   http://bugs.python.org/issue1448060 and http://bugs.python.org/issue1475523
9b458a5
# though the proposed upstream patches are, alas, different
b7dfd0a
Patch6: python-2.5.1-plural-fix.patch
9b458a5
9b458a5
# This patch was listed in the changelog as: 
9b458a5
#  * Fri Sep 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-11
9b458a5
#  - fix encoding of sqlite .py files to work around weird encoding problem 
9b458a5
#  in Turkish (#283331)
9b458a5
# A traceback attached to rhbz 244016 shows the problem most clearly: a
9b458a5
# traceback on attempting to import the sqlite module, with:
9b458a5
#   "SyntaxError: encoding problem: with BOM (__init__.py, line 1)"
9b458a5
# This seems to come from Parser/tokenizer.c:check_coding_spec
9b458a5
# Our patch changes two source files within sqlite3, removing the
9b458a5
# "coding: ISO-8859-1" specs and character E4 = U+00E4 = 
9b458a5
# LATIN SMALL LETTER A WITH DIAERESIS from in ghaering's surname. 
9b458a5
#
9b458a5
# It may be that the conversion of "ISO-8859-1" to "iso-8859-1" is thwarted
9b458a5
# by the implementation of "tolower" in the Turkish locale; see:
9b458a5
#   https://bugzilla.redhat.com/show_bug.cgi?id=191096#c9
9b458a5
# 
9b458a5
# TODO: Not yet sent upstream, and appears to me (dmalcolm 2010-01-29) that
9b458a5
# it may be papering over a symptom
e574c7e
Patch7: python-2.5.1-sqlite-encoding.patch
9b458a5
9b458a5
# FIXME: Lib/ctypes/util.py posix implementation defines a function
9b458a5
# _get_soname(f).  Upstreams's implementation of this uses objdump to read the
9b458a5
# SONAME from a library; we avoid this, apparently to minimize space
9b458a5
# requirements on the live CD:
9b458a5
# (rhbz:307221)
59ba18a
Patch10: python-2.6.2-binutils-no-dep.patch
9b458a5
9b458a5
# FIXME: appears to relate to:
9b458a5
#* Tue Oct 30 2007 James Antill <jantill@redhat.com> - 2.5.1-15
9b458a5
#- Do codec lowercase in C Locale.
9b458a5
#- Resolves: 207134 191096
59062c0
Patch11: python-2.5.1-codec-ascii-tolower.patch
9b458a5
9b458a5
# Add various constants to the socketmodule (rhbz#436560):
9b458a5
# TODO: these patches were added in 2.5.1-22 and 2.5.1-24 but appear not to
9b458a5
# have been sent upstream yet:
b7ef3fa
Patch13: python-2.5.1-socketmodule-constants.patch
1146d2a
Patch14: python-2.5.1-socketmodule-constants2.patch
9b458a5
9b458a5
# Remove an "-rpath $(LIBDIR)" argument from the linkage args in configure.in:
9b458a5
# FIXME: is this for OSF, not Linux?
a7ef9c1
Patch16: python-2.6-rpath.patch
60b7a5f
f5df1f8
# Fixup distutils/unixccompiler.py to remove standard library path from rpath:
f5df1f8
# Adapted from Patch0 in ivazquez' python3000 specfile, removing usage of
f5df1f8
# super() as it's an old-style class
f5df1f8
Patch17: python-2.6.4-distutils-rpath.patch
f5df1f8
5e852d7
# Fix distutils to follow the Fedora/RHEL/CentOS policies of having .pyo files
5e852d7
Patch51: python-2.6-distutils_rpm.patch
5e852d7
562f19e
# Automatically disable arena allocator when run under valgrind:
562f19e
# From http://bugs.python.org/issue2422
562f19e
#   http://bugs.python.org/file9872/disable-pymalloc-on-valgrind-py26.patch
562f19e
# with the "configure" part removed; appears to be identical to the version committed to 2.7
562f19e
Patch52: disable-pymalloc-on-valgrind-py26.patch
562f19e
562f19e
912b411
# Upstream patch to compile against db-4.8
912b411
# http://bugs.python.org/issue6949
912b411
# Based on http://svn.python.org/view?view=rev&revision=78974
912b411
Patch53: python-2.6.5-db48.patch
912b411
# ...and a further patch to setup.py so that it links against 4.8:
562f19e
Patch54: python-2.6.4-setup-db48.patch
562f19e
5ae15cd
# Systemtap support: add statically-defined probe points
5ae15cd
# Patch based on upstream bug: http://bugs.python.org/issue4111
c222436
# fixed up by mjw and wcohen for 2.6.2, then fixed up by dmalcolm for 2.6.4
bdbb341
# then rewritten by mjw (attachment 390110 of rhbz 545179)
5ae15cd
Patch55: python-2.6.4-dtrace.patch
5ae15cd
9b458a5
# "lib64 patches"
9b458a5
# This patch seems to be associated with bug 122304, which was
9b458a5
#  http://sourceforge.net/tracker/?func=detail&atid=105470&aid=931848&group_id=5470
9b458a5
# and is now
9b458a5
#  http://bugs.python.org/issue931848
9b458a5
# However, as it stands this patch is merely a copy of:
9b458a5
#  http://svn.python.org/view/python/trunk/Lib/test/test_re.py?r1=35825&r2=35824&pathrev=35825
9b458a5
# which is already upstream
a95ca83
# Earlier versions of the patch (from the "dist-pkgs" CVS repo within RH)
a95ca83
# contained additional changes that applied fixes to the internals of the regex
a95ca83
# module, but these appear to have all been applied as part of 
a95ca83
#  http://bugs.python.org/issue931848
60b7a5f
Patch101: python-2.3.4-lib64-regex.patch
9b458a5
9b458a5
# Only used when "%{_lib}" == "lib64"
9b458a5
# Fixup various paths throughout the build and in distutils from "lib" to "lib64",
9b458a5
# and add the /usr/lib64/pythonMAJOR.MINOR/site-packages to sitedirs, in front of
9b458a5
# /usr/lib/pythonMAJOR.MINOR/site-packages
9b458a5
# Not upstream
a7ef9c1
Patch102: python-2.6-lib64.patch
cvsdist 20402fd
9b458a5
# rhbz#488396: rework the ctypes module to use ffi_closure_alloc and
9b458a5
# ffi_closure_free, rather than malloc_closure.c, since the latter tries to
9b458a5
# mmap pages with PROT_READ | PROT_WRITE | PROT_EXEC, which SELinux frowns upon.
9b458a5
# 
9b458a5
# Patch sent upstream as http://bugs.python.org/issue5504 which also contains
9b458a5
# a rebasing of the upstream copy of libffi to one containing the
9b458a5
# memory-management hooks. 
9b458a5
#
9b458a5
# This appears to be the same as that patch, but without the rebasing of libffi
9b458a5
# (since we use the system copy of libffi):
46f141e
Patch110: python-2.6-ctypes-noexecmem.patch
bf04731
3fdd608
# Patch the Makefile.pre.in so that the generated Makefile doesn't try to build
3fdd608
# a libpythonMAJOR.MINOR.a (bug 550692):
3fdd608
Patch111: python-2.6.4-no-static-lib.patch
3fdd608
50ca183
cvsdist 64c8a92
%if %{main_python}
cvsdist 64c8a92
Obsoletes: Distutils
cvsdist 64c8a92
Provides: Distutils
cvsdist e0fde95
Obsoletes: python2 
cvsdist e0fde95
Provides: python2 = %{version}
bca2575
Obsoletes: python-elementtree <= 1.2.6
bca2575
Obsoletes: python-sqlite < 2.3.2
bca2575
Provides: python-sqlite = 2.3.2
7b22577
Obsoletes: python-ctypes < 1.0.1
7b22577
Provides: python-ctypes = 1.0.1
70aee9f
Obsoletes: python-hashlib < 20081120
70aee9f
Provides: python-hashlib = 20081120
70aee9f
Obsoletes: python-uuid < 1.31
70aee9f
Provides: python-uuid = 1.31
cvsdist e0fde95
%endif
cvsdist 20402fd
f3e7a45
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a7ef9c1
BuildRequires: readline-devel, openssl-devel, gmp-devel
a7ef9c1
BuildRequires: ncurses-devel, gdbm-devel, zlib-devel, expat-devel
a7ef9c1
BuildRequires: libGL-devel tk tix gcc-c++ libX11-devel glibc-devel
791e9f6
BuildRequires: bzip2 tar findutils pkgconfig tcl-devel tk-devel
a7ef9c1
BuildRequires: tix-devel bzip2-devel sqlite-devel
a7ef9c1
BuildRequires: autoconf
562f19e
BuildRequires: db4-devel >= 4.8
881934a
BuildRequires: libffi-devel
562f19e
BuildRequires: valgrind-devel
60b7a5f
5ae15cd
%if 0%{?with_systemtap}
5ae15cd
BuildRequires: systemtap-sdt-devel
5ae15cd
%global tapsetdir      /usr/share/systemtap/tapset
5ae15cd
%endif
5ae15cd
cvsdist 86d7877
URL: http://www.python.org/
cvsdist e4efab2
cvsdist e4efab2
%description
cvsdist e4efab2
Python is an interpreted, interactive, object-oriented programming
cvsdist e4efab2
language often compared to Tcl, Perl, Scheme or Java. Python includes
cvsdist e4efab2
modules, classes, exceptions, very high level dynamic data types and
cvsdist e4efab2
dynamic typing. Python supports interfaces to many system calls and
cvsdist e4efab2
libraries, as well as to various windowing systems (X11, Motif, Tk,
cvsdist e4efab2
Mac and MFC).
cvsdist e4efab2
cvsdist e4efab2
Programmers can write new built-in modules for Python in C or C++.
cvsdist e4efab2
Python can be used as an extension language for applications that need
cvsdist e4efab2
a programmable interface. This package contains most of the standard
cvsdist e4efab2
Python modules, as well as modules for interfacing to the Tix widget
cvsdist e4efab2
set for Tk and RPM.
cvsdist e4efab2
cvsdist e4efab2
Note that documentation for Python is provided in the python-docs
cvsdist e4efab2
package.
cvsdist e4efab2
87c8da2
%package libs
87c8da2
Summary: The libraries for python runtime
87c8da2
Group: Applications/System
791e9f6
Requires: %{name} = %{version}-%{release}
59062c0
# Needed for ctypes, to load libraries, worked around for Live CDs size
59062c0
# Requires: binutils
87c8da2
87c8da2
%description libs
87c8da2
The python interpreter can be embedded into applications wanting to 
87c8da2
use python as an embedded scripting language.  The python-libs package 
87c8da2
provides the libraries needed for this.
87c8da2
cvsdist e4efab2
%package devel
791e9f6
Summary: The libraries and header files needed for Python development
cvsdist e4efab2
Group: Development/Libraries
0626de5
Requires: %{python}%{?_isa} = %{version}-%{release}
cvsdist 64c8a92
# Needed here because of the migration of Makefile from -devel to the main
cvsdist 64c8a92
# package
cvsdist 64c8a92
Conflicts: %{python} < %{version}-%{release}
cvsdist 64c8a92
%if %{main_python}
cvsdist e0fde95
Obsoletes: python2-devel
cvsdist 8caa1f3
Provides: python2-devel = %{version}-%{release}
cvsdist e0fde95
%endif
cvsdist e4efab2
cvsdist e4efab2
%description devel
cvsdist e4efab2
The Python programming language's interpreter can be extended with
cvsdist e4efab2
dynamically loaded extensions and can be embedded in other programs.
cvsdist e4efab2
This package contains the header files and libraries needed to do
cvsdist e4efab2
these types of tasks.
cvsdist e4efab2
cvsdist e4efab2
Install python-devel if you want to develop Python extensions.  The
cvsdist e4efab2
python package will also need to be installed.  You'll probably also
cvsdist e4efab2
want to install the python-docs package, which contains Python
cvsdist e4efab2
documentation.
cvsdist e4efab2
cvsdist e4efab2
%package tools
791e9f6
Summary: A collection of development tools included with Python
cvsdist e4efab2
Group: Development/Tools
cvsdist 8caa1f3
Requires: %{name} = %{version}-%{release}
Mihai Ibanescu ce25e1e
Requires: %{tkinter} = %{version}-%{release}
cvsdist 64c8a92
%if %{main_python}
cvsdist e0fde95
Obsoletes: python2-tools
cvsdist e0fde95
Provides: python2-tools = %{version}
cvsdist e0fde95
%endif
cvsdist e4efab2
cvsdist e4efab2
%description tools
902d91a
This package includes several tools to help with the development of Python   
902d91a
programs, including IDLE (an IDE with editing and debugging facilities), a 
902d91a
color editor (pynche), and a python gettext program (pygettext.py).  
cvsdist e4efab2
cvsdist 64c8a92
%package -n %{tkinter}
c222436
Summary: A graphical user interface for the Python scripting language
cvsdist e4efab2
Group: Development/Languages
a7ef9c1
BuildRequires:  tcl, tk
cvsdist 8caa1f3
Requires: %{name} = %{version}-%{release}
cvsdist 64c8a92
%if %{main_python}
cvsdist e0fde95
Obsoletes: tkinter2
cvsdist e0fde95
Provides: tkinter2 = %{version}
cvsdist e0fde95
%endif
cvsdist e4efab2
cvsdist 64c8a92
%description -n %{tkinter}
cvsdist e0fde95
cvsdist e4efab2
The Tkinter (Tk interface) program is an graphical user interface for
cvsdist e4efab2
the Python scripting language.
cvsdist e4efab2
cvsdist e4efab2
You should install the tkinter package if you'd like to use a graphical
cvsdist e4efab2
user interface for Python programming.
cvsdist e4efab2
860ed48
%package test
860ed48
Summary: The test modules from the main python package
860ed48
Group: Development/Languages
860ed48
Requires: %{name} = %{version}-%{release}
860ed48
860ed48
%description test
860ed48
791e9f6
The test modules from the main python package: %{name}
860ed48
These have been removed to save space, as they are never or almost
860ed48
never used in production.
860ed48
860ed48
You might want to install the python-test package if you're developing python
860ed48
code that uses more than just unittest and/or test_support.py.
860ed48
cvsdist e4efab2
%prep
60b7a5f
%setup -q -n Python-%{version}
cvsdist e4efab2
3dde1c9
%if 0%{?with_systemtap}
3dde1c9
# Provide an example of usage of the tapset:
3dde1c9
cp -a %{SOURCE4} .
c222436
cp -a %{SOURCE5} .
3dde1c9
%endif # with_systemtap
3dde1c9
05912b1
# Ensure that we're using the system copy of various libraries, rather than
05912b1
# copies shipped by upstream in the tarball:
94e658a
#   Remove embedded copy of expat:
94e658a
rm -r Modules/expat || exit 1
94e658a
05912b1
#   Remove embedded copy of libffi:
0626de5
for SUBDIR in darwin libffi libffi_arm_wince libffi_msvc libffi_osx ; do
0626de5
  rm -r Modules/_ctypes/$SUBDIR || exit 1 ;
0626de5
done
0626de5
05912b1
#   Remove embedded copy of zlib:
05912b1
rm -r Modules/zlib || exit 1
05912b1
05912b1
#
05912b1
# Apply patches:
05912b1
#
cvsdist e0fde95
%patch0 -p1 -b .rhconfig
94e658a
%patch3 -p1 -b .expat
60b7a5f
%patch1 -p1 -b .no_gui
440a06e
%patch4 -p1 -b .cflags
b7dfd0a
%patch6 -p1 -b .plural
e574c7e
%patch7 -p1
60b7a5f
860ed48
# Try not disabling egg-infos, bz#414711
860ed48
#patch50 -p1 -b .egginfo
12cb76f
60b7a5f
%patch101 -p1 -b .lib64-regex
a95ca83
%if "%{_lib}" == "lib64"
60b7a5f
%patch102 -p1 -b .lib64
cvsdist 20402fd
%endif
60b7a5f
59062c0
%patch10 -p1 -b .binutils-no-dep
59062c0
%patch11 -p1 -b .ascii-tolower
b7ef3fa
%patch13 -p1 -b .socketmodule
a7ef9c1
%patch14 -p1 -b .socketmodule2
a7ef9c1
%patch16 -p1 -b .rpath
f5df1f8
%patch17 -p1 -b .distutils-rpath
59062c0
5e852d7
%patch51 -p1 -b .brprpm
562f19e
%patch52 -p0 -b .valgrind
912b411
%patch53 -p0 -b .db48
562f19e
%patch54 -p1 -b .setup-db48
c222436
%if 0%{?with_systemtap}
5ae15cd
%patch55 -p1 -b .systemtap
c222436
%endif
5e852d7
bf04731
%patch110 -p1 -b .selinux
bf04731
3fdd608
%patch111 -p1 -b .no-static-lib
3fdd608
cvsdist e0fde95
# This shouldn't be necesarry, but is right now (2.2a3)
cvsdist e0fde95
find -name "*~" |xargs rm -f
cvsdist 6b969f1
cvsdist e4efab2
%build
791e9f6
topdir=$(pwd)
cvsdist d4a3959
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
cvsdist d4a3959
export CXXFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
791e9f6
export CPPFLAGS="$(pkg-config --cflags-only-I libffi)"
cvsdist d4a3959
export OPT="$RPM_OPT_FLAGS -D_GNU_SOURCE -fPIC"
cvsdist d4a3959
export LINKCC="gcc"
cvsdist 20402fd
if pkg-config openssl ; then
791e9f6
  export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
791e9f6
  export LDFLAGS="$LDFLAGS $(pkg-config --libs-only-L openssl)"
cvsdist 20402fd
fi
cvsdist d855cb1
# Force CC
cvsdist d855cb1
export CC=gcc
5ae15cd
5ae15cd
# We need to get a newer configure generated out of configure.in for the following
5ae15cd
# patches:
5ae15cd
#   patch 4 (CFLAGS)
5ae15cd
#   patch 52 (valgrind)
5ae15cd
#   patch 55 (systemtap)
5ae15cd
# Rerun autoconf:
Mihai Ibanescu edd3bba
autoconf
5ae15cd
5ae15cd
# For patch 55 (systemtap), we need to get a new header for configure to use:
5ae15cd
autoheader
5ae15cd
5ae15cd
# Use the freshly created "configure" script:
3fdd608
%configure \
3fdd608
  --enable-ipv6 \
3fdd608
  --enable-unicode=%{unicode} \
3fdd608
  --enable-shared \
3fdd608
  --with-system-ffi \
94e658a
  --with-system-expat \
5ae15cd
%if 0%{?with_systemtap}
5ae15cd
  --with-dtrace \
5ae15cd
  --with-tapset-install-dir=%{tapsetdir} \
5ae15cd
%endif
3fdd608
  --with-valgrind
cvsdist e0fde95
cvsdist 20402fd
make OPT="$CFLAGS" %{?_smp_mflags}
791e9f6
LD_LIBRARY_PATH="$topdir" $topdir/python Tools/scripts/pathfix.py -i "%{_bindir}/env python%{pybasever}" .
60b7a5f
# Rebuild with new python
60b7a5f
# We need a link to a versioned python in the build directory
60b7a5f
ln -s python python%{pybasever}
791e9f6
LD_LIBRARY_PATH="$topdir" PATH=$PATH:$topdir make -s OPT="$CFLAGS" %{?_smp_mflags}
60b7a5f
60b7a5f
cvsdist e0fde95
cvsdist e4efab2
%install
791e9f6
rm -rf %{buildroot}
791e9f6
mkdir -p %{buildroot}%{_prefix} %{buildroot}%{_mandir}
cvsdist e0fde95
cvsdist 20402fd
# Clean up patched .py files that are saved as .lib64
cvsdist 20402fd
for f in distutils/command/install distutils/sysconfig; do
cvsdist 20402fd
    rm -f Lib/$f.py.lib64
cvsdist 20402fd
done
cvsdist 20402fd
791e9f6
make install DESTDIR=%{buildroot}
cvsdist d4a3959
# Fix the interpreter path in binaries installed by distutils 
cvsdist d4a3959
# (which changes them by itself)
cvsdist d4a3959
# Make sure we preserve the file permissions
791e9f6
for fixed in %{buildroot}%{_bindir}/pydoc; do
Mihai Ibanescu f9962c6
    sed 's,#!.*/python$,#!%{_bindir}/env python%{pybasever},' $fixed > $fixed- \
cvsdist d4a3959
        && cat $fixed- > $fixed && rm -f $fixed-
cvsdist d4a3959
done
cvsdist e0fde95
860ed48
# Junk, no point in putting in -test sub-pkg
791e9f6
rm -f %{buildroot}/%{pylibdir}/idlelib/testcode.py*
860ed48
440a06e
# don't include tests that are run at build time in the package
59062c0
# This is documented, and used: rhbz#387401
860ed48
if /bin/false; then
860ed48
 # Move this to -test subpackage.
59062c0
mkdir save_bits_of_test
59062c0
for i in test_support.py __init__.py; do
791e9f6
  cp -a %{buildroot}/%{pylibdir}/test/$i save_bits_of_test
59062c0
done
791e9f6
rm -rf %{buildroot}/%{pylibdir}/test
791e9f6
mkdir %{buildroot}/%{pylibdir}/test
791e9f6
cp -a save_bits_of_test/* %{buildroot}/%{pylibdir}/test
860ed48
fi
440a06e
cvsdist 64c8a92
%if %{main_python}
791e9f6
ln -s python %{buildroot}%{_bindir}/python2
cvsdist 64c8a92
%else
791e9f6
mv %{buildroot}%{_bindir}/python %{buildroot}%{_bindir}/%{python}
791e9f6
mv %{buildroot}/%{_mandir}/man1/python.1 %{buildroot}/%{_mandir}/man1/python%{pybasever}.1
cvsdist e0fde95
%endif
cvsdist e4efab2
cvsdist e4efab2
# tools
cvsdist e0fde95
05912b1
mkdir -p ${RPM_BUILD_ROOT}%{site_packages}
cvsdist e4efab2
cvsdist e4efab2
#modulator
Mihai Ibanescu fe0d34d
cat > ${RPM_BUILD_ROOT}%{_bindir}/modulator << EOF
Mihai Ibanescu fe0d34d
#!/bin/bash
05912b1
exec %{site_packages}/modulator/modulator.py
Mihai Ibanescu fe0d34d
EOF
Mihai Ibanescu fe0d34d
chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/modulator
cvsdist e4efab2
cp -r Tools/modulator \
05912b1
  ${RPM_BUILD_ROOT}%{site_packages}/
cvsdist e4efab2
cvsdist e4efab2
#pynche
Mihai Ibanescu fe0d34d
cat > ${RPM_BUILD_ROOT}%{_bindir}/pynche << EOF
Mihai Ibanescu fe0d34d
#!/bin/bash
05912b1
exec %{site_packages}/pynche/pynche
Mihai Ibanescu fe0d34d
EOF
Mihai Ibanescu fe0d34d
chmod 755 ${RPM_BUILD_ROOT}%{_bindir}/pynche
cvsdist d4a3959
rm -f Tools/pynche/*.pyw
cvsdist e4efab2
cp -r Tools/pynche \
05912b1
  ${RPM_BUILD_ROOT}%{site_packages}/
cvsdist e4efab2
cvsdist e4efab2
mv Tools/modulator/README Tools/modulator/README.modulator
cvsdist e4efab2
mv Tools/pynche/README Tools/pynche/README.pynche
cvsdist e4efab2
cvsdist e0fde95
#gettext
791e9f6
install -m755  Tools/i18n/pygettext.py %{buildroot}%{_bindir}/
791e9f6
install -m755  Tools/i18n/msgfmt.py %{buildroot}%{_bindir}/
cvsdist e0fde95
cvsdist 2f0d566
# Useful development tools
791e9f6
install -m755 -d %{buildroot}%{tools_dir}/scripts
791e9f6
install Tools/README %{buildroot}%{tools_dir}/
791e9f6
install Tools/scripts/*py %{buildroot}%{tools_dir}/scripts/
cvsdist d78f1e2
Mihai Ibanescu 44819ff
# Documentation tools
791e9f6
install -m755 -d %{buildroot}%{doc_tools_dir}
791e9f6
#install -m755 Doc/tools/mkhowto %{buildroot}%{doc_tools_dir}
Mihai Ibanescu 44819ff
cvsdist d78f1e2
# Useful demo scripts
791e9f6
install -m755 -d %{buildroot}%{demo_dir}
791e9f6
cp -ar Demo/* %{buildroot}%{demo_dir}
cvsdist 2f0d566
cvsdist e0fde95
# Get rid of crap
791e9f6
find %{buildroot}/ -name "*~"|xargs rm -f
791e9f6
find %{buildroot}/ -name ".cvsignore"|xargs rm -f
f5df1f8
find %{buildroot}/ -name "*.bat"|xargs rm -f
cvsdist e0fde95
find . -name "*~"|xargs rm -f
cvsdist e0fde95
find . -name ".cvsignore"|xargs rm -f
cvsdist e0fde95
#zero length
791e9f6
rm -f %{buildroot}%{site_packages}/modulator/Templates/copyright
cvsdist e0fde95
791e9f6
rm -f %{buildroot}%{pylibdir}/LICENSE.txt
cvsdist e0fde95
cvsdist e0fde95
cvsdist 64c8a92
#make the binaries install side by side with the main python
cvsdist 64c8a92
%if !%{main_python}
791e9f6
pushd %{buildroot}%{_bindir}
cvsdist 64c8a92
mv idle idle%{__python_ver}
cvsdist 64c8a92
mv modulator modulator%{__python_ver}
cvsdist 64c8a92
mv pynche pynche%{__python_ver}
cvsdist 64c8a92
mv pygettext.py pygettext%{__python_ver}.py
cvsdist 64c8a92
mv msgfmt.py msgfmt%{__python_ver}.py
Mihai Ibanescu ce25e1e
mv smtpd.py smtpd%{__python_ver}.py
cvsdist 64c8a92
mv pydoc pydoc%{__python_ver}
cvsdist e0fde95
popd
cvsdist e0fde95
%endif
cvsdist e4efab2
Mihai Ibanescu f9962c6
# Fix for bug #136654
791e9f6
rm -f %{buildroot}%{pylibdir}/email/test/data/audiotest.au %{buildroot}%{pylibdir}/test/audiotest.au
cvsdist d4a3959
Mihai Ibanescu adb16c2
# Fix bug #143667: python should own /usr/lib/python2.x on 64-bit machines
6435445
%if "%{_lib}" == "lib64"
791e9f6
install -d %{buildroot}/usr/lib/python%{pybasever}/site-packages
Mihai Ibanescu adb16c2
%endif
Mihai Ibanescu adb16c2
Mihai Ibanescu f1d2531
# Make python-devel multilib-ready (bug #192747, #139911)
0626de5
%global _pyconfig32_h pyconfig-32.h
0626de5
%global _pyconfig64_h pyconfig-64.h
Mihai Ibanescu f1d2531
8cf5a31
%ifarch ppc64 s390x x86_64 ia64 alpha sparc64
0626de5
%global _pyconfig_h %{_pyconfig64_h}
Mihai Ibanescu f1d2531
%else
0626de5
%global _pyconfig_h %{_pyconfig32_h}
Mihai Ibanescu f1d2531
%endif
791e9f6
mv %{buildroot}%{_includedir}/python%{pybasever}/pyconfig.h \
791e9f6
   %{buildroot}%{_includedir}/python%{pybasever}/%{_pyconfig_h}
791e9f6
cat > %{buildroot}%{_includedir}/python%{pybasever}/pyconfig.h << EOF
Mihai Ibanescu f1d2531
#include <bits/wordsize.h>
Mihai Ibanescu f1d2531
Mihai Ibanescu f1d2531
#if __WORDSIZE == 32
Mihai Ibanescu f1d2531
#include "%{_pyconfig32_h}"
Mihai Ibanescu f1d2531
#elif __WORDSIZE == 64
Mihai Ibanescu f1d2531
#include "%{_pyconfig64_h}"
Mihai Ibanescu f1d2531
#else
59062c0
#error "Unknown word size"
Mihai Ibanescu f1d2531
#endif
Mihai Ibanescu f1d2531
EOF
791e9f6
ln -s ../../libpython%{pybasever}.so %{buildroot}%{pylibdir}/config/libpython%{pybasever}.so
Mihai Ibanescu f1d2531
Mihai Ibanescu 3af5a60
# Fix for bug 201434: make sure distutils looks at the right pyconfig.h file
791e9f6
sed -i -e "s/'pyconfig.h'/'%{_pyconfig_h}'/" %{buildroot}%{pylibdir}/distutils/sysconfig.py
Mihai Ibanescu 3af5a60
60b7a5f
# Get rid of egg-info files (core python modules are installed through rpms)
791e9f6
rm %{buildroot}%{pylibdir}/*.egg-info
27b0394
671ce77
# Ensure that the curses module was linked against libncursesw.so, rather than
671ce77
# libncurses.so (bug 539917)
791e9f6
ldd %{buildroot}/%{dynload_dir}/_curses*.so \
671ce77
    | grep curses \
671ce77
    | grep libncurses.so && (echo "_curses.so linked against libncurses.so" ; exit 1)
671ce77
b25d602
b25d602
# Copy up the gdb hooks into place; the python file will be autoloaded by gdb
b25d602
# when visiting libpython.so, provided that the python file is installed to the
b25d602
# same path as the library (or its .debug file) plus a "-gdb.py" suffix, e.g:
32b7039
#  /usr/lib/debug/usr/lib64/libpython2.6.so.1.0.debug-gdb.py
32b7039
# (note that the debug path is /usr/lib/debug for both 32/64 bit)
32b7039
# 
32b7039
# Initially I tried:
b25d602
#  /usr/lib/libpython2.6.so.1.0-gdb.py
32b7039
# but doing so generated noise when ldconfig was rerun (rhbz:562980)
b25d602
#
b25d602
%if 0%{?with_gdb_hooks}
5ae15cd
%global dir_holding_gdb_py %{_prefix}/lib/debug/%{_libdir}
5ae15cd
%global path_of_gdb_py %{dir_holding_gdb_py}/%{py_INSTSONAME}.debug-gdb.py
5ae15cd
5ae15cd
mkdir -p %{buildroot}%{dir_holding_gdb_py}
461494a
cp %{SOURCE1} %{buildroot}%{path_of_gdb_py}
5ae15cd
5ae15cd
# Manually byte-compile the file, in case find-debuginfo.sh is run before
5ae15cd
# brp-python-bytecompile, so that the .pyc/.pyo files are properly listed in
5ae15cd
# the debuginfo manifest:
5ae15cd
LD_LIBRARY_PATH=. ./python -c "import compileall; import sys; compileall.compile_dir('%{buildroot}%{dir_holding_gdb_py}', ddir='%{dir_holding_gdb_py}')"
5ae15cd
5ae15cd
LD_LIBRARY_PATH=. ./python -O -c "import compileall; import sys; compileall.compile_dir('%{buildroot}%{dir_holding_gdb_py}', ddir='%{dir_holding_gdb_py}')"
b25d602
%endif # with_gdb_hooks
b25d602
3dde1c9
#
3dde1c9
# Systemtap hooks:
3dde1c9
#
3dde1c9
%if 0%{?with_systemtap}
3dde1c9
# Install a tapset for this libpython into tapsetdir, fixing up the path to the
3dde1c9
# library:
3dde1c9
mkdir -p %{buildroot}%{tapsetdir}
3dde1c9
%ifarch ppc64 s390x x86_64 ia64 alpha sparc64
3dde1c9
%global libpython_stp libpython%{pybasever}-64.stp
3dde1c9
%else
3dde1c9
%global libpython_stp libpython%{pybasever}-32.stp
3dde1c9
%endif
3dde1c9
3dde1c9
sed \
3dde1c9
   -e "s|LIBRARY_PATH|%{_libdir}/%{py_INSTSONAME}|" \
3dde1c9
   %{SOURCE3} \
3dde1c9
   > %{buildroot}%{tapsetdir}/%{libpython_stp}
3dde1c9
%endif # with_systemtap
3dde1c9
cvsdist e4efab2
%clean
791e9f6
rm -fr %{buildroot}
cvsdist e0fde95
5b28df5
%post libs -p /sbin/ldconfig
87c8da2
5b28df5
%postun libs -p /sbin/ldconfig
87c8da2
87c8da2
05912b1
%files
791e9f6
%defattr(-, root, root, -)
cvsdist e0fde95
%doc LICENSE README
Mihai Ibanescu d6509bb
%{_bindir}/pydoc*
1df0c9e
%{_bindir}/%{python}
1df0c9e
%if %{main_python}
f3e7a45
%{_bindir}/python2
1df0c9e
%endif
1df0c9e
%{_bindir}/python%{pybasever}
cvsdist e0fde95
%{_mandir}/*/*
cvsdist e0fde95
05912b1
%dir %{pylibdir}
05912b1
%dir %{dynload_dir}
05912b1
%{dynload_dir}/Python-%{version}-py%{pybasever}.egg-info
05912b1
%{dynload_dir}/_bisectmodule.so
05912b1
%{dynload_dir}/_bsddb.so
05912b1
%{dynload_dir}/_bytesio.so
05912b1
%{dynload_dir}/_codecs_cn.so
05912b1
%{dynload_dir}/_codecs_hk.so
05912b1
%{dynload_dir}/_codecs_iso2022.so
05912b1
%{dynload_dir}/_codecs_jp.so
05912b1
%{dynload_dir}/_codecs_kr.so
05912b1
%{dynload_dir}/_codecs_tw.so
05912b1
%{dynload_dir}/_collectionsmodule.so
05912b1
%{dynload_dir}/_csv.so
05912b1
%{dynload_dir}/_ctypes.so
05912b1
%{dynload_dir}/_curses.so
05912b1
%{dynload_dir}/_curses_panel.so
05912b1
%{dynload_dir}/_elementtree.so
05912b1
%{dynload_dir}/_fileio.so
05912b1
%{dynload_dir}/_functoolsmodule.so
05912b1
%{dynload_dir}/_hashlib.so
05912b1
%{dynload_dir}/_heapq.so
05912b1
%{dynload_dir}/_hotshot.so
05912b1
%{dynload_dir}/_json.so
05912b1
%{dynload_dir}/_localemodule.so
05912b1
%{dynload_dir}/_lsprof.so
05912b1
%{dynload_dir}/_md5module.so
05912b1
%{dynload_dir}/_multibytecodecmodule.so
05912b1
%{dynload_dir}/_multiprocessing.so
05912b1
%{dynload_dir}/_randommodule.so
05912b1
%{dynload_dir}/_sha256module.so
05912b1
%{dynload_dir}/_sha512module.so
05912b1
%{dynload_dir}/_shamodule.so
05912b1
%{dynload_dir}/_socketmodule.so
05912b1
%{dynload_dir}/_sqlite3.so
05912b1
%{dynload_dir}/_ssl.so
05912b1
%{dynload_dir}/_struct.so
05912b1
%{dynload_dir}/_weakref.so
05912b1
%{dynload_dir}/arraymodule.so
05912b1
%{dynload_dir}/audioop.so
05912b1
%{dynload_dir}/binascii.so
05912b1
%{dynload_dir}/bz2.so
05912b1
%{dynload_dir}/cPickle.so
05912b1
%{dynload_dir}/cStringIO.so
05912b1
%{dynload_dir}/cmathmodule.so
05912b1
%{dynload_dir}/cryptmodule.so
05912b1
%{dynload_dir}/datetime.so
05912b1
%{dynload_dir}/dbm.so
05912b1
%{dynload_dir}/dlmodule.so
05912b1
%{dynload_dir}/fcntlmodule.so
05912b1
%{dynload_dir}/future_builtins.so
05912b1
%{dynload_dir}/gdbmmodule.so
05912b1
%{dynload_dir}/grpmodule.so
05912b1
%{dynload_dir}/imageop.so
05912b1
%{dynload_dir}/itertoolsmodule.so
05912b1
%{dynload_dir}/linuxaudiodev.so
05912b1
%{dynload_dir}/mathmodule.so
05912b1
%{dynload_dir}/mmapmodule.so
05912b1
%{dynload_dir}/nismodule.so
05912b1
%{dynload_dir}/operator.so
05912b1
%{dynload_dir}/ossaudiodev.so
05912b1
%{dynload_dir}/parsermodule.so
05912b1
%{dynload_dir}/pyexpat.so
05912b1
%{dynload_dir}/readline.so
05912b1
%{dynload_dir}/resource.so
05912b1
%{dynload_dir}/selectmodule.so
05912b1
%{dynload_dir}/spwdmodule.so
05912b1
%{dynload_dir}/stropmodule.so
05912b1
%{dynload_dir}/syslog.so
05912b1
%{dynload_dir}/termios.so
05912b1
%{dynload_dir}/timemodule.so
05912b1
%{dynload_dir}/timingmodule.so
05912b1
%{dynload_dir}/unicodedata.so
05912b1
%{dynload_dir}/xxsubtype.so
05912b1
%{dynload_dir}/zlibmodule.so
05912b1
05912b1
%dir %{site_packages}
05912b1
%{site_packages}/README
05912b1
%{pylibdir}/*.py*
05912b1
%{pylibdir}/*.doc
05912b1
%dir %{pylibdir}/bsddb
05912b1
%{pylibdir}/bsddb/*.py*
05912b1
%{pylibdir}/compiler
05912b1
%dir %{pylibdir}/ctypes
05912b1
%{pylibdir}/ctypes/*.py*
05912b1
%{pylibdir}/ctypes/macholib
05912b1
%{pylibdir}/curses
05912b1
%dir %{pylibdir}/distutils
05912b1
%{pylibdir}/distutils/*.py*
05912b1
%{pylibdir}/distutils/README
05912b1
%{pylibdir}/distutils/command
05912b1
%dir %{pylibdir}/email
05912b1
%{pylibdir}/email/*.py*
05912b1
%{pylibdir}/email/mime
05912b1
%{pylibdir}/encodings
05912b1
%{pylibdir}/hotshot
05912b1
%{pylibdir}/idlelib
05912b1
%dir %{pylibdir}/json
05912b1
%{pylibdir}/json/*.py*
05912b1
%{pylibdir}/lib2to3
05912b1
%{pylibdir}/logging
05912b1
%{pylibdir}/multiprocessing
05912b1
%{pylibdir}/plat-linux2
05912b1
%dir %{pylibdir}/sqlite3
05912b1
%{pylibdir}/sqlite3/*.py*
05912b1
%dir %{pylibdir}/test
05912b1
%{pylibdir}/test/test_support.py*
05912b1
%{pylibdir}/test/__init__.py*
05912b1
%{pylibdir}/wsgiref
05912b1
%{pylibdir}/xml
6435445
%if "%{_lib}" == "lib64"
0626de5
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}
0626de5
%attr(0755,root,root) %dir %{_prefix}/lib/python%{pybasever}/site-packages
Mihai Ibanescu adb16c2
%endif
cvsdist e4efab2
8274ac0
# "Makefile" and the config-32/64.h file are needed by
8274ac0
# distutils/sysconfig.py:_init_posix(), so we include them in the core
8274ac0
# package, along with their parent directories (bug 531901):
05912b1
%dir %{pylibdir}/config
05912b1
%{pylibdir}/config/Makefile
0626de5
%dir %{_includedir}/python%{pybasever}
0626de5
%{_includedir}/python%{pybasever}/%{_pyconfig_h}
8274ac0
87c8da2
%files libs
791e9f6
%defattr(-,root,root,-)
87c8da2
%doc LICENSE README
32b7039
%{_libdir}/%{py_INSTSONAME}
3dde1c9
%if 0%{?with_systemtap}
3dde1c9
%{tapsetdir}/%{libpython_stp}
c222436
%doc systemtap-example.stp pyfuntop.stp
3dde1c9
%endif
87c8da2
cvsdist e4efab2
%files devel
791e9f6
%defattr(-,root,root,-)
05912b1
%{pylibdir}/config/*
05912b1
%exclude %{pylibdir}/config/Makefile
0626de5
%{_includedir}/python%{pybasever}/*.h
0626de5
%exclude %{_includedir}/python%{pybasever}/%{_pyconfig_h}
267e1ad
%doc Misc/README.valgrind Misc/valgrind-python.supp Misc/gdbinit
c222436
%if %{main_python}
f3e7a45
%{_bindir}/python-config
c222436
%endif
1df0c9e
%{_bindir}/python%{pybasever}-config
05912b1
%{pylibdir}/config/*
87c8da2
%{_libdir}/libpython%{pybasever}.so
cvsdist e4efab2
cvsdist e0fde95
%files tools
cvsdist e4efab2
%defattr(-,root,root,755)
cvsdist e4efab2
%doc Tools/modulator/README.modulator
cvsdist e4efab2
%doc Tools/pynche/README.pynche
05912b1
%{site_packages}/modulator
05912b1
%{site_packages}/pynche
Mihai Ibanescu ce25e1e
%{_bindir}/smtpd*.py*
a7ef9c1
%{_bindir}/2to3*
Mihai Ibanescu f9962c6
%{_bindir}/idle*
Mihai Ibanescu f9962c6
%{_bindir}/modulator*
Mihai Ibanescu f9962c6
%{_bindir}/pynche*
jbj 8e4b82e
%{_bindir}/pygettext*.py*
jbj 8e4b82e
%{_bindir}/msgfmt*.py*
cvsdist 2f0d566
%{tools_dir}
cvsdist d78f1e2
%{demo_dir}
05912b1
%{pylibdir}/Doc
cvsdist e4efab2
cvsdist 64c8a92
%files -n %{tkinter}
cvsdist d855cb1
%defattr(-,root,root,755)
05912b1
%{pylibdir}/lib-tk
05912b1
%{dynload_dir}/_tkinter.so
cvsdist e4efab2
860ed48
%files test
791e9f6
%defattr(-, root, root, -)
05912b1
%{pylibdir}/bsddb/test
05912b1
%{pylibdir}/ctypes/test
05912b1
%{pylibdir}/distutils/tests
05912b1
%{pylibdir}/email/test
05912b1
%{pylibdir}/json/tests
05912b1
%{pylibdir}/sqlite3/test
c905a3a
%{pylibdir}/test/*
c905a3a
# These two are shipped in the main subpackage:
c905a3a
%exclude %{pylibdir}/test/test_support.py*
c905a3a
%exclude %{pylibdir}/test/__init__.py*
05912b1
%{dynload_dir}/_ctypes_test.so
05912b1
%{dynload_dir}/_testcapimodule.so
860ed48
32b7039
# We put the debug-gdb.py file inside /usr/lib/debug to avoid noise from
32b7039
# ldconfig (rhbz:562980).
32b7039
# 
32b7039
# The /usr/lib/rpm/redhat/macros defines %__debug_package to use
32b7039
# debugfiles.list, and it appears that everything below /usr/lib/debug and
32b7039
# (/usr/src/debug) gets added to this file (via LISTFILES) in
32b7039
# /usr/lib/rpm/find-debuginfo.sh
32b7039
# 
32b7039
# Hence by installing it below /usr/lib/debug we ensure it is added to the
32b7039
# -debuginfo subpackage
32b7039
# (if it doesn't, then the rpmbuild ought to fail since the debug-gdb.py 
32b7039
# payload file would be unpackaged)
32b7039
cvsdist e4efab2
%changelog
461494a
* Wed Mar 24 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-3
461494a
- refresh gdb hooks to v3 (reworking how they are packaged)
461494a
a95ca83
* Mon Mar 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-2
a95ca83
- remove unnecessary arch-conditionality for patch 101
a95ca83
912b411
* Fri Mar 19 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-1
912b411
- update to 2.6.5: http://www.python.org/download/releases/2.6.5/
912b411
- replace our patch to compile against db4.8 with a patch from
912b411
upstream (patch 53, from r78974); update patch 54 since part of it is now in
912b411
that upstream patch
912b411
- update patch 110 so that it still applies in the face of upstream r78380
912b411
f5df1f8
* Tue Mar 16 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-23
f5df1f8
- fixup distutils/unixccompiler.py to remove standard library path from
f5df1f8
rpath (patch 17)
f5df1f8
- delete DOS batch files
f5df1f8
c222436
* Fri Mar 12 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-22
c222436
- add pyfuntop.stp; allow systemtap support to be disabled
c222436
- remove trailing period from tkinter summary
c222436
- don't own /usr/bin/python-config if you're not the main python
c222436
c6af0d0
* Thu Mar 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 2.6.4-21
c6af0d0
- rebuild with new gdbm
c6af0d0
c905a3a
* Thu Feb 11 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-20
c905a3a
- avoid having the "test" subdirectory and the files within it that are in the
c905a3a
core subpackage also be owned by the test subpackage (rhbz:467588)
c905a3a
bdbb341
* Wed Feb 10 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-19
bdbb341
- revise the systemtap patch (patch 55:python-2.6.4-dtrace.patch) to the
bdbb341
new version by mjw in attachment 390110 of rhbz:545179, as this should
bdbb341
eliminate the performance penalty for the case where the probes aren't in
bdbb341
use, and eliminate all architecture-specific code (rhbz:563541; except on
bdbb341
sparc)
bdbb341
3dde1c9
* Tue Feb  9 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-18
3dde1c9
- add a systemtap tapset defining "python.function.entry" and
3dde1c9
"python.function.return" to make it easy to use the static probepoint within
3dde1c9
Python; add an example of using the tapset to the docs
3dde1c9
5ae15cd
* Tue Feb  9 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-17
5ae15cd
- add systemtap static probes (wcohen; patch 55; rh bug #545179)
5ae15cd
- update some comments in specfile relating to gdb work
5ae15cd
- manually byte-compile the gdb.py file with the freshly-built python to ensure
5ae15cd
that .pyx and .pyo files make it into the debuginfo manifest if they are later
5ae15cd
byte-compiled after find-debuginfo.sh is run
5ae15cd
32b7039
* Mon Feb  8 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-16
32b7039
- move the -gdb.py file from %%{_libdir}/INSTSONAME-gdb.py to
32b7039
%%{_prefix}/lib/debug/%%{_libdir}/INSTSONAME.debug-gdb.py to avoid noise from
32b7039
ldconfig (bug 562980), and which should also ensure it becomes part of the
32b7039
debuginfo subpackage, rather than the libs subpackage
32b7039
- introduce %%{py_SOVERSION} and %%{py_INSTSONAME} to reflect the upstream
32b7039
configure script, and to avoid fragile scripts that try to figure this out
32b7039
dynamically (e.g. for the -gdb.py change)
32b7039
4bb3fe1
* Mon Feb  8 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-15
4bb3fe1
- work around bug 562906 by supplying a fixed version of pythondeps.sh
4bb3fe1
- set %%{_python_bytecompile_errors_terminate_build} to 0 to prevent the broken
4bb3fe1
test files from killing the build on buildroots where python is installed
4bb3fe1
b25d602
* Fri Feb  5 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-14
b25d602
- add gdb hooks for easier debugging
b25d602
9b458a5
* Fri Jan 29 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-13
9b458a5
- document all patches, and remove the commented-out ones
9b458a5
791e9f6
* Tue Jan 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-12
791e9f6
- Address some of the issues identified in package review (bug 226342):
791e9f6
  - update libs requirement on base package to use %%{name} for consistency's
791e9f6
sake
791e9f6
  - convert from backticks to $() syntax throughout
791e9f6
  - wrap value of LD_LIBRARY_PATH in quotes
791e9f6
  - convert "/usr/bin/find" requirement to "findutils"
791e9f6
  - remove trailing periods from summaries of -devel and -tools subpackages
791e9f6
  - fix spelling mistake in description of -test subpackage
791e9f6
  - convert usage of $$RPM_BUILD_ROOT to %%{buildroot} throughout, for
791e9f6
stylistic consistency
791e9f6
  - supply dirmode arguments to defattr directives
791e9f6
94e658a
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-11
94e658a
- update python-2.6.2-config.patch to remove downstream customization of build
94e658a
of pyexpat and elementtree modules
94e658a
- add patch adapted from upstream (patch 3) to add support for building against
94e658a
system expat; add --with-system-expat to "configure" invocation
94e658a
- remove embedded copy of expat from source tree during "prep"
94e658a
05912b1
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-10
05912b1
- introduce macros for 3 directories, replacing expanded references throughout:
05912b1
%%{pylibdir}, %%{dynload_dir}, %%{site_packages}
05912b1
- explicitly list all lib-dynload files, rather than dynamically gathering the
05912b1
payload into a temporary text file, so that we can be sure what we are
05912b1
shipping; remove now-redundant testing for presence of certain .so files
05912b1
- remove embedded copy of zlib from source tree before building
05912b1
671ce77
* Mon Jan 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-9
671ce77
- change python-2.6.2-config.patch to remove our downstream change to curses
671ce77
configuration in Modules/Setup.dist, so that the curses modules are built using
671ce77
setup.py with the downstream default (linking against libncursesw.so, rather
671ce77
than libncurses.so), rather than within the Makefile; add a test to %%install
671ce77
to verify the dso files that the curses module is linked against the correct
671ce77
DSO (bug 539917; changes _cursesmodule.so -> _curses.so)
671ce77
7870ff7
* Fri Jan 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-8
7870ff7
- rebuild (bug 556975)
7870ff7
ad18646
* Wed Jan 20 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-7
ad18646
- move lib2to3 from -tools subpackage to main package (bug 556667)
ad18646
3fdd608
* Mon Jan 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-6
3fdd608
- patch Makefile.pre.in to avoid building static library (patch111, bug 556092)
3fdd608
- split up the "configure" invocation flags onto individual lines
3fdd608
0626de5
* Fri Jan 15 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.4-5
0626de5
- replace usage of %%define with %%global
0626de5
- use the %%{_isa} macro to ensure that the python-devel dependency on python
0626de5
is for the correct multilib arch (#555943)
0626de5
- delete bundled copy of libffi to make sure we use the system one
0626de5
- replace references to /usr with %%{_prefix}; replace references to
0626de5
/usr/include with %%{_includedir}
0626de5
562f19e
* Wed Dec 16 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-4
562f19e
- automatically disable arena allocator when run under valgrind (upstream
562f19e
issue 2422; patch 52)
562f19e
- add patch from Josh Boyer containing diff against upstream PyBSDDB to make
562f19e
the bsddb module compile against db-4.8 (patch 53, #544275); bump the necessary
562f19e
version of db4-devel to 4.8
562f19e
- patch setup.py so that it searches for db-4.8, and enable debug output for
562f19e
said search; make Setup.dist use db-4.8 (patch 54)
562f19e
1df0c9e
* Thu Nov 12 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-3
1df0c9e
- fixup the build when __python_ver is set (Zach Sadecki; bug 533989); use
1df0c9e
pybasever in the files section
1df0c9e
8274ac0
* Thu Oct 29 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-2
8274ac0
- "Makefile" and the config-32/64.h file are needed by distutils/sysconfig.py
8274ac0
_init_posix(), so we include them in the core package, along with their parent
8274ac0
directories (bug 531901)
8274ac0
c1f3234
* Mon Oct 26 2009 David Malcolm <dmalcolm@redhat.com> - 2.6.4-1
c1f3234
- Update to 2.6.4
c1f3234
0a675ff
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 2.6.2-2
0a675ff
- rebuilt with new openssl
0a675ff
59ba18a
* Mon Jul 27 2009 James Antill <james.antill@redhat.com> - 2.6.2-1
59ba18a
- Update to 2.6.2
59ba18a
d62d1af
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-11
d62d1af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d62d1af
f3e7a45
* Sat Jul 4 2009 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.6-10
f3e7a45
- Move python-config to devel subpackage (#506153)
f3e7a45
- Update BuildRoot for new standard
f3e7a45
902d91a
* Sun Jun 28 2009 Jonathan Steffan <jsteffan@fedoraproject.org> - 2.6-9
902d91a
- Update python-tools description (#448940)
902d91a
70aee9f
* Wed Apr 15 2009 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> 2.6-8
70aee9f
- Replace python-hashlib and python-uuid (#484715)
70aee9f
bf04731
* Tue Mar 17 2009 James Antill <james@fedoraproject.org> - 2.6-7
881934a
- Use system libffi
881934a
- Resolves: bug#490573
bf04731
- Fix SELinux execmem problems
bf04731
- Resolves: bug#488396
881934a
9b39cdb
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6-5
9b39cdb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9b39cdb
ea2454b
* Fri Jan 16 2009 Tomas Mraz <tmraz@redhat.com> - 2.6-4
ea2454b
- rebuild with new openssl
ea2454b
5e852d7
* Tue Jan  6 2009 James Antill <james.antill@redhat.com> - 2.6-3
5e852d7
- Fix distutils generated rpms.
5e852d7
- Resolves: bug#236535
5e852d7
1e29b88
* Wed Dec 10 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.6-2
1e29b88
- Enable -lcrypt for cryptmodule
1e29b88
a7ef9c1
* Fri Nov 28 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.6-1
a7ef9c1
- Update to 2.6
a7ef9c1
5e852d7
* Tue Sep 30 2008 James Antill <james.antill@redhat.com> - 2.5.2-1
feaea24
- Move to 2.5.2
feaea24
- Fix CVE-2008-2316 hashlib overflow.
feaea24
0d7f755
* Thu Jul 17 2008 Jeremy Katz <katzj@redhat.com> - 2.5.1-30
6435445
- Fix up the build for new rpm
0495deb
- And actually build against db4-4.7 (#455170)
0495deb
2d954f7
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-27
2d954f7
- fix license tag
2d954f7
- enable support for db4-4.7
2d954f7
2d954f7
* Sun Jun 15 2008 James Antill <jantill@redhat.com> - 2.5.1-26
2d954f7
- Fix sporadic listdir problem
2d954f7
- Resolves: bug#451494
2d954f7
55f2717
* Mon Apr  7 2008 James Antill <jantill@redhat.com> - 2.5.1-25
55f2717
- Rebuild to re-gen autoconf file due to glibc change.
55f2717
- Resolves: bug#441003
55f2717
1146d2a
* Tue Mar 25 2008 James Antill <jantill@redhat.com> - 2.5.1-24
1146d2a
- Add more constants to socketmodule
1146d2a
b7ef3fa
* Sat Mar  8 2008 James Antill <jantill@redhat.com> - 2.5.1-22
b7ef3fa
- Add constants to socketmodule
b7ef3fa
- Resolves: bug#436560
b7ef3fa
cd233e5
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.5.1-22
cd233e5
- Autorebuild for GCC 4.3
cd233e5
2c97c55
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-21
2c97c55
- rebuild for new tk in rawhide
2c97c55
267e1ad
* Mon Jan  7 2008 James Antill <jantill@redhat.com> - 2.5.1-20
267e1ad
- Add valgrind support files, as doc, to python-devel
267e1ad
- Relates: rhbz#418621
267e1ad
- Add new API from 2.6, set_wakeup_fd ... use at own risk, presumably won't
267e1ad
- change but I have no control to guarantee that.
267e1ad
- Resolves: rhbz#427794
267e1ad
- Add gdbinit support file, as doc, to python-devel
267e1ad
ab3e750
* Fri Jan  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 2.5.1-19
accb85a
- rebuild for new tcl/tk in rawhide
accb85a
860ed48
* Fri Dec  7 2007 James Antill <jantill@redhat.com> - 2.5.1-18
860ed48
- Create a python-test sub-module, over 3MB of stuff noone wants.
860ed48
- Don't remove egginfo files, try this see what happens ... may revert.
860ed48
- Resolves: rhbz#414711
860ed48
da14e7e
* Mon Dec  3 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-17
da14e7e
- rebuild for new libssl
da14e7e
59062c0
* Fri Nov 30 2007 James Antill <jantill@redhat.com> - 2.5.1-16
59062c0
- Fix pyconfig.h comment typo.
59062c0
- Add back test_support.py and the __init__.py file.
59062c0
- Resolves: rhbz#387401
59062c0
59062c0
* Tue Oct 30 2007 James Antill <jantill@redhat.com> - 2.5.1-15
59062c0
- Do codec lowercase in C Locale.
59062c0
- Resolves: 207134 191096
59062c0
- Fix stupid namespacing in pysqlite, minimal upgrade to 2.3.3 pysqlite
59062c0
- Resolves: 263221
59062c0
59062c0
* Wed Oct 24 2007 James Antill <jantill@redhat.com> - 2.5.1-14
59062c0
- Remove bintuils dep. for live CD ... add work around for ctypes
59062c0
59062c0
* Mon Oct 22 2007 James Antill <jantill@redhat.com> - 2.5.1-13
59062c0
- Add tix buildprereq
59062c0
- Add tkinter patch
59062c0
- Resolves: #281751
59062c0
- Fix ctypes loading of libraries, add requires on binutils
59062c0
- Resolves: #307221
59062c0
- Possible fix for CVE-2007-4965 possible exploitable integer overflow
59062c0
- Resolves: #295971
59062c0
3939a12
* Tue Oct 16 2007 Mike Bonnet <mikeb@redhat.com> - 2.5.1-12
3939a12
- fix marshalling of objects in xmlrpclib (python bug #1739842)
3939a12
e574c7e
* Fri Sep 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-11
e574c7e
- fix encoding of sqlite .py files to work around weird encoding problem 
e574c7e
  in Turkish (#283331)
e574c7e
b7dfd0a
* Mon Sep 10 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-10
b7dfd0a
- work around problems with multi-line plural specification (#252136)
b7dfd0a
ce994f2
* Tue Aug 28 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-9
ce994f2
- rebuild against new expat
ce994f2
50ca183
* Tue Aug 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-8
50ca183
- build against db4.6
50ca183
8cf5a31
* Tue Aug 14 2007 Dennis Gilmore <dennis@ausil.us> - 2.5.1-7
8cf5a31
- add sparc64 to the list of archs for _pyconfig64_h
8cf5a31
5ee001f
* Fri Aug 10 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-6
5ee001f
- fix ctypes again on some arches (Hans de Goede, #251637)
5ee001f
7c4cd75
* Fri Jul  6 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-5
7c4cd75
- link curses modules with ncursesw (#246385)
7c4cd75
27b0394
* Wed Jun 27 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-4
27b0394
- fix _elementtree.so build (#245703)
27b0394
- ensure that extension modules we expect are actually built rather than 
27b0394
  having them silently fall out of the package
27b0394
787d525
* Tue Jun 26 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-3
787d525
- link with system expat (#245703)
787d525
64142ef
* Thu Jun 21 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-2
64142ef
- rebuild to take advantage of hardlinking between identical pyc/pyo files
64142ef
440a06e
* Thu May 31 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-1
440a06e
- update to python 2.5.1
440a06e
920a5e3
* Mon Mar 19 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-12
920a5e3
- fix alpha build (#231961)
920a5e3
53b3a20
* Tue Feb 13 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-11
53b3a20
- tcl/tk was reverted; rebuild again
53b3a20
759563c
* Thu Feb  1 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-10
759563c
- rebuild for new tcl/tk
759563c
15bc50a
* Tue Jan 16 2007 Miroslav Lichvar <mlichvar@redhat.com> - 2.5.3-9
15bc50a
- link with ncurses
15bc50a
6520c85
* Sat Jan  6 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-8
6520c85
- fix extensions to use shared libpython (#219564)
6520c85
- all 64bit platforms need the regex fix (#122304)
6520c85
d707252
* Wed Jan  3 2007 Jeremy Katz <katzj@redhat.com> - 2.5.3-7
d707252
- fix ctypes to not require execstack (#220669)
d707252
68ac77b
* Fri Dec 15 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-6
68ac77b
- don't link against compat-db (Robert Scheck)
68ac77b
2fe2afd
* Wed Dec 13 2006 Jarod Wilson <jwilson@redhat.com> - 2.5.3-5
2fe2afd
- fix invalid assert in debug mode (upstream changeset 52622)
2fe2afd
7b22577
* Tue Dec 12 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-4
7b22577
- obsolete/provide python-ctypes (#219256)
7b22577
87c8da2
* Mon Dec 11 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-3
87c8da2
- fix atexit traceback with failed syslog logger (#218214)
87c8da2
- split libpython into python-libs subpackage for multilib apps 
87c8da2
  embedding python interpreters
87c8da2
12cb76f
* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 2.5.3-2
12cb76f
- disable installation of .egg-info files for now
12cb76f
60b7a5f
* Tue Dec  5 2006 Jeremy Katz <katzj@redhat.com>
60b7a5f
- support db 4.5
bca2575
- obsolete python-elementtree; since it requires some code tweaks, don't 
bca2575
  provide it
bca2575
- obsolete old python-sqlite; provide the version that's actually included
043f570
60b7a5f
* Mon Oct 30 2006 Jeremy Katz <katzj@redhat.com>
60b7a5f
- fix _md5 and _sha modules (Robert Sheck)
60b7a5f
- no longer provide optik compat; it's been a couple of years now
60b7a5f
- no longer provide the old shm module; if this is still needed, let's 
60b7a5f
  build it separately
60b7a5f
- no longer provide japanese codecs; should be a separate package
Mihai Ibanescu faf70c1
60b7a5f
* Mon Oct 23 2006 Jeremy Katz <katzj@redhat.com> - 2.5-0
60b7a5f
- update to 2.5.0 final
Mihai Ibanescu 3af5a60
60b7a5f
* Fri Aug 18 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.99.c1
60b7a5f
- Updated to 2.5c1. Merged fixes from FC6 too:
Mihai Ibanescu 4d8ff39
- Fixed bug #199373 (on some platforms CFLAGS is needed when linking)
60b7a5f
- Fixed bug #198971 (case conversion not locale safe in logging library)
60b7a5f
- Verified bug #201434 (distutils.sysconfig is confused by the change to make
60b7a5f
  python-devel multilib friendly) is fixed upstream
Mihai Ibanescu 4d8ff39
60b7a5f
* Sun Jul 16 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.99.b2
60b7a5f
- Updated to 2.5b2 (which for comparison reasons is re-labeled 2.4.99.b2)
Mihai Ibanescu e9210a2
60b7a5f
* Fri Jun 23 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.99.b1
60b7a5f
- Updated to 2.5b1 (which for comparison reasons is re-labeled 2.4.99.b1)
bfb71df
0d8e7a5
* Tue Jun 13 2006 Jeremy Katz <katzj@redhat.com> - 2.4.3-11.FC6
0d8e7a5
- and fix it for real
0d8e7a5
441dd7e
* Tue Jun 13 2006 Jeremy Katz <katzj@redhat.com> - 2.4.3-10.FC6
441dd7e
- fix python-devel on ia64
441dd7e
Mihai Ibanescu b50c49c
* Tue Jun 13 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-9
Mihai Ibanescu f1d2531
- Fixed python-devel to be multilib friendly (bug #192747, #139911)
Mihai Ibanescu f1d2531
Mihai Ibanescu 8854995
* Tue Jun 13 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-8
Mihai Ibanescu 8854995
- Only copying mkhowto from the Docs - we don't need perl dependencies from
Mihai Ibanescu 8854995
  python-tools.
Mihai Ibanescu 8854995
Mihai Ibanescu 9599189
* Mon Jun 12 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-7
Mihai Ibanescu 9599189
- Fixed bug #121198 (webbrowser.py should use the user's preferences first)
Mihai Ibanescu 9599189
Mihai Ibanescu 44819ff
* Mon Jun 12 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-6
Mihai Ibanescu 44819ff
- Fixed bug #192592 (too aggressive assertion fails) - SF#1257960
Mihai Ibanescu 44819ff
- Fixed bug #167468 (Doc/tools not included) - added in the python-tools package
Mihai Ibanescu 44819ff
Mihai Ibanescu da026cd
* Thu Jun  8 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-5
Mihai Ibanescu d6509bb
- Fixed bug #193484 (added pydoc in the main package)
Mihai Ibanescu da026cd
Mihai Ibanescu ce74b88
* Mon Jun  5 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-4
Mihai Ibanescu ce74b88
- Added dist in the release
Mihai Ibanescu ce74b88
Mihai Ibanescu 638997f
* Mon May 15 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-3
Mihai Ibanescu 638997f
- rebuilt to fix broken libX11 dependency
Mihai Ibanescu 638997f
a0ec9b2
* Wed Apr 12 2006 Jeremy Katz <katzj@redhat.com> - 2.4.3-2
a0ec9b2
- rebuild with new gcc to fix #188649
a0ec9b2
Mihai Ibanescu 84c6c7b
* Thu Apr  6 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-1
Mihai Ibanescu 84c6c7b
- Updated to 2.4.3
Mihai Ibanescu 84c6c7b
0a667e1
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.4.2-3.2.1
0a667e1
- bump again for double-long bug on ppc(64)
0a667e1
Mihai Ibanescu 8f9fe48
* Fri Feb 10 2006 Mihai Ibanescu <misa@redhat.com> - 2.4.3-3.2
Mihai Ibanescu 8f9fe48
- rebuilt for newer tix
Mihai Ibanescu 8f9fe48
e34b638
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.4.2-3.1
e34b638
- rebuilt for new gcc4.1 snapshot and glibc changes
e34b638
Mihai Ibanescu a56567d
* Fri Jan 20 2006 Mihai Ibanescu <misa@redhat.com> 2.4.2-3
Mihai Ibanescu a56567d
- fixed #136654 for another instance of audiotest.au
Mihai Ibanescu a56567d
c80caf6
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c80caf6
- rebuilt
c80caf6
773f492
* Sat Nov 19 2005 Bill Nottingham <notting@redhat.com> 2.4.2-2
773f492
- fix build for modular X, remove X11R6 path references
773f492
Mihai Ibanescu 5533529
* Tue Nov 15 2005 Mihai Ibanescu <misa@redhat.com> 2.4.2-1
Mihai Ibanescu 5533529
- Upgraded to 2.4.2
Mihai Ibanescu 5533529
- BuildRequires autoconf
Mihai Ibanescu 5533529
Mihai Ibanescu 2c41a49
* Wed Nov  9 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-16
Mihai Ibanescu 2ed6f79
- Rebuilding against newer openssl.
Mihai Ibanescu 2c41a49
- XFree86-devel no longer exists
Mihai Ibanescu 2ed6f79
91e37da
* Mon Sep 26 2005 Peter Jones <pjones@redhat.com> 2.4.1-14
91e37da
- Once more -- this time, to fix -EPERM when you run it in a directory
91e37da
  you can't read from.
91e37da
d81580b
* Mon Sep 26 2005 Peter Jones <pjones@redhat.com> 2.4.1-13
d81580b
- So, 5 or 6 people have said it works for them with this patch...
d81580b
db45b4b
* Sun Sep 25 2005 Peter Jones <pjones@redhat.com> 2.4.1-12
c2cc4f3
- Fixed bug #169159 (check for argc>0 and argv[0] == NULL, not just
c2cc4f3
    argv[0][0]='\0')
c2cc4f3
  Reworked the patch from -8 a bit more.
c2cc4f3
Mihai Ibanescu 7a9c92b
* Fri Sep 23 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-10
Mihai Ibanescu a101798
- Fixed bug #169159 (don't let python core dump if no arguments are passed in)
Mihai Ibanescu a101798
  Reworked the patch from -8 a bit more.
Mihai Ibanescu a101798
bcb2ee8
* Thu Sep 22 2005 Peter Jones <pjones@redhat.com> 2.4.1-8
bcb2ee8
- Fix bug #169046 more correctly.
bcb2ee8
Mihai Ibanescu edd3bba
* Thu Sep 22 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-7
Mihai Ibanescu 7ccfc38
- Fixed bug #169046 (realpath is unsafe); thanks to 
Mihai Ibanescu 7ccfc38
  Peter Jones <pjones@redhat.com> and Arjan van de Ven <arjanv@redhat.com> for
Mihai Ibanescu 7ccfc38
  diagnosing and the patch.
Mihai Ibanescu 7ccfc38
Mihai Ibanescu ce25e1e
* Tue Sep 20 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-4
Mihai Ibanescu ce25e1e
- Fixed bug #168655 (fixes for building as python24)
Mihai Ibanescu ce25e1e
Mihai Ibanescu fe0d34d
* Tue Jul 26 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-3
Mihai Ibanescu fe0d34d
- Fixed bug #163435 (pynche doesn't start))
Mihai Ibanescu fe0d34d
Mihai Ibanescu adb16c2
* Wed Apr 20 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-2
Mihai Ibanescu adb16c2
- Fixed bug #143667 (python should own /usr/lib/python* on 64-bit systems, for
Mihai Ibanescu adb16c2
  noarch packages)
Mihai Ibanescu adb16c2
- Fixed bug #143419 (BuildRequires db4 is not versioned)
Mihai Ibanescu adb16c2
Mihai Ibanescu 26df507
* Wed Apr  6 2005 Mihai Ibanescu <misa@redhat.com> 2.4.1-1
Mihai Ibanescu 26df507
- updated to 2.4.1
Mihai Ibanescu 26df507
Mihai Ibanescu 0fdf6c4
* Mon Mar 14 2005 Mihai Ibanescu <misa@redhat.com> 2.4-6
Mihai Ibanescu 0fdf6c4
- building the docs from a different source rpm, to decouple bootstrapping
Mihai Ibanescu 0fdf6c4
  python from having tetex installed
Mihai Ibanescu 0fdf6c4
7c45c65
* Fri Mar 11 2005 Dan Williams <dcbw@redhat.com> 2.4-5
7c45c65
- Rebuild to pick up new libssl.so.5
7c45c65
Mihai Ibanescu 4988968
* Wed Feb  2 2005 Mihai Ibanescu <misa@redhat.com> 2.4-4
Mihai Ibanescu 4988968
- Fixed security issue in SimpleXMLRPCServer.py (#146647)
Mihai Ibanescu 4988968
f41720b
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 2.4-3
f41720b
- Rebuilt for new readline.
f41720b
jbj 8e4b82e
* Mon Dec  6 2004 Jeff Johnson <jbj@jbj.org> 2.4-2
jbj 8e4b82e
- db-4.3.21 returns DB_BUFFER_SMALL rather than ENOMEM (#141994).
jbj 8e4b82e
- add Provide: python(abi) = 2.4
jbj 8e4b82e
- include msgfmt/pygettext *.pyc and *.pyo from brp-python-bytecompile.
jbj 8e4b82e
Mihai Ibanescu 6828cb0
* Fri Dec  3 2004 Mihai Ibanescu <misa@redhat.com> 2.4-1
Mihai Ibanescu 6828cb0
- Python-2.4.tar.bz2 (final)
Mihai Ibanescu 6828cb0
Mihai Ibanescu ed1fb0b
* Fri Nov 19 2004 Mihai Ibanescu <misa@redhat.com> 2.4-0.c1.1
Mihai Ibanescu ed1fb0b
- Python-2.4c1.tar.bz2 (release candidate 1)
Mihai Ibanescu ed1fb0b
jbj 57ae32b
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 2.4-0.b2.4
jbj 57ae32b
- rebuild against db-4.3.21.
jbj 57ae32b
cddc234
* Mon Nov  8 2004 Jeremy Katz <katzj@redhat.com> - 2.4-0.b2.3
cddc234
- fix the lib64 patch so that 64bit arches still look in /usr/lib/python...
cddc234
f61e66a
* Mon Nov  8 2004 Jeremy Katz <katzj@redhat.com> - 2.4-0.b2.2
f61e66a
- cryptmodule still needs -lcrypt (again)
f61e66a
Mihai Ibanescu f9962c6
* Thu Nov  4 2004 Mihai Ibanescu <misa@redhat.com> 2.4-0.b2.1
Mihai Ibanescu f9962c6
- Updated to python 2.4b2 (and labeled it 2.4-0.b2.1 to avoid breaking rpm's
Mihai Ibanescu f9962c6
  version comparison)
Mihai Ibanescu f9962c6
Mihai Ibanescu f9962c6
* Thu Nov  4 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-13
Mihai Ibanescu f9962c6
- Fixed bug #138112 (python overflows stack buffer) - SF bug 105470
Mihai Ibanescu f9962c6
Mihai Ibanescu f9962c6
* Tue Nov  2 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-12
Mihai Ibanescu f9962c6
- Fixed bugs #131439 #136023 #137863 (.pyc/.pyo files had the buildroot added)
Mihai Ibanescu f9962c6
Mihai Ibanescu f9962c6
* Tue Oct 26 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-11
Mihai Ibanescu f9962c6
- Fixed bug #136654 (python has sketchy audio clip)
Mihai Ibanescu f9962c6
cvsdist d78f1e2
* Tue Aug 31 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-10
cvsdist d78f1e2
- Fixed bug #77418 (Demo dir not packaged)
cvsdist d78f1e2
- More tweaking on #19347 (Moved Tools/ under /usr/lib/python2.3/Tools)
cvsdist d78f1e2
cvsdist 64c8a92
* Fri Aug 13 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-8
cvsdist 64c8a92
- Fixed bug #129769: Makefile in new python conflicts with older version found
cvsdist 64c8a92
  in old python-devel
cvsdist 64c8a92
- Reorganized the spec file to get rid of the aspython2 define; __python_ver
cvsdist 64c8a92
  is more powerful.
cvsdist 64c8a92
cvsdist 8caa1f3
* Tue Aug  3 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-7
cvsdist 8caa1f3
- Including html documentation for non-i386 arches
cvsdist 8caa1f3
- Fixed #125362 (python-doc html files have japanese character encoding)
cvsdist 8caa1f3
- Fixed #128923 (missing dependency between python and python-devel)
cvsdist 8caa1f3
cvsdist 2f0d566
* Fri Jul 30 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-6
cvsdist 2f0d566
- Fixed #128030 (help() not printing anything)
cvsdist 2f0d566
- Fixed #125472 (distutils.sysconfig.get_python_lib() not returning the right
cvsdist 2f0d566
  path on 64-bit systems)
cvsdist 2f0d566
- Fixed #127357 (building python as a shared library)
cvsdist 2f0d566
- Fixed  #19347 (including the contents of Tools/scripts/ in python-tools)
cvsdist 2f0d566
cvsdist d69cacc
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist d69cacc
- rebuilt
cvsdist d69cacc
cvsdist 44438bf
* Tue Jun  8 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-3
cvsdist 44438bf
- Added an optik.py that provides the same interface from optparse for
cvsdist 44438bf
  backward compatibility; obsoleting python-optik
cvsdist 44438bf
cvsdist dbf0728
* Mon Jun  7 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-2
cvsdist dbf0728
- Patched bdist_rpm to allow for builds of multiple binary rpms (bug #123598)
cvsdist dbf0728
cvsdist f79a121
* Fri Jun  4 2004 Mihai Ibanescu <misa@redhat.com> 2.3.4-1
cvsdist f79a121
- Updated to 2.3.4-1 with Robert Scheck's help (bug #124764)
cvsdist f79a121
- Added BuildRequires: tix-devel (bug #124918)
cvsdist f79a121
cvsdist dfe379c
* Fri May  7 2004 Mihai Ibanescu <misa@redhat.com> 2.3.3-6
cvsdist dfe379c
- Correct fix for #122304 from upstream:
cvsdist dfe379c
  http://sourceforge.net/tracker/?func=detail&atid=105470&aid=931848&group_id=5470
cvsdist dfe379c
cvsdist dfe379c
* Thu May  6 2004 Mihai Ibanescu <misa@redhat.com> 2.3.3-4
cvsdist dfe379c
- Fix for bug #122304 : splitting the domain name fails on 64-bit arches
cvsdist dfe379c
- Fix for bug #120879 : including Makefile into the main package
cvsdist dfe379c
cvsdist dfe379c
- Requires XFree86-devel instead of -libs (see bug #118442)
cvsdist dfe379c
cvsdist 81b4fc6
* Tue Mar 16 2004 Mihai Ibanescu <misa@redhat.com> 2.3.3-3
cvsdist 81b4fc6
- Requires XFree86-devel instead of -libs (see bug #118442)
cvsdist 81b4fc6
cvsdist 81b4fc6
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 81b4fc6
- rebuilt
cvsdist 81b4fc6
cvsdist 81b4fc6
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 81b4fc6
- rebuilt
cvsdist 81b4fc6
cvsdist d855cb1
* Fri Dec 19 2003 Jeff Johnson <jbj@jbj.org> 2.3.3-1
cvsdist d855cb1
- upgrade to 2.3.3.
cvsdist d855cb1
cvsdist d855cb1
* Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 2.3.2-9
cvsdist d855cb1
- rebuild against db-4.2.52.
cvsdist d855cb1
cvsdist d855cb1
* Fri Dec 12 2003 Jeremy Katz <katzj@redhat.com> 2.3.2-8
cvsdist d855cb1
- more rebuilding for new tcl/tk
cvsdist d855cb1
cvsdist d855cb1
* Wed Dec  3 2003 Jeff Johnson <jbj@jbj.org> 2.3.2-7.1
cvsdist d855cb1
- rebuild against db-4.2.42.
cvsdist d855cb1
cvsdist d855cb1
* Fri Nov 28 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-7
cvsdist d855cb1
- rebuilt against newer tcl/tk
cvsdist d855cb1
cvsdist d855cb1
* Mon Nov 24 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-6
cvsdist d855cb1
- added a Provides: python-abi
cvsdist d855cb1
cvsdist d855cb1
* Wed Nov 12 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-5
cvsdist d855cb1
- force CC (#109268)
cvsdist d855cb1
cvsdist d855cb1
* Sun Nov  9 2003 Jeremy Katz <katzj@redhat.com> 2.3.2-4
cvsdist d855cb1
- cryptmodule still needs -lcrypt
cvsdist d855cb1
cvsdist d855cb1
* Wed Nov  5 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-2
cvsdist d855cb1
- Added patch for missing mkhowto
cvsdist d855cb1
cvsdist d855cb1
* Thu Oct 16 2003 Mihai Ibanescu <misa@redhat.com> 2.3.2-1
cvsdist d855cb1
- Updated to 2.3.2
cvsdist d855cb1
cvsdist d855cb1
* Thu Sep 25 2003 Mihai Ibanescu <misa@redhat.com> 2.3.1-1
cvsdist d855cb1
- 2.3.1 final
cvsdist bfd896b
cvsdist d855cb1
* Tue Sep 23 2003 Mihai Ibanescu <misa@redhat.com> 2.3.1-0.8.RC1
cvsdist d855cb1
- Building the python 2.3.1 release candidate
cvsdist d855cb1
- Updated the lib64 patch
cvsdist bfd896b
cvsdist d855cb1
* Wed Jul 30 2003 Mihai Ibanescu <misa@redhat.com> 2.3-0.2
cvsdist d855cb1
- Building python 2.3
cvsdist d855cb1
- Added more BuildRequires
cvsdist d855cb1
- Updated the startup files for modulator and pynche; idle installs its own
cvsdist d855cb1
  now.
cvsdist bfd896b
cvsdist bfd896b
* Thu Jul  3 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-4
cvsdist bfd896b
- Rebuilt against newer db4 packages (bug #98539)
cvsdist bfd896b
cvsdist bfd896b
* Mon Jun 9 2003 Elliot Lee <sopwith@redhat.com> 2.2.3-3
cvsdist bfd896b
- rebuilt
cvsdist bfd896b
cvsdist bfd896b
* Wed Jun  7 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-2
cvsdist bfd896b
- Rebuilt
cvsdist bfd896b
cvsdist bfd896b
* Tue Jun  6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-1
cvsdist bfd896b
- Upgraded to 2.2.3
cvsdist bfd896b
cvsdist bfd896b
* Wed Apr  2 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-28
cvsdist bfd896b
- Rebuilt
cvsdist bfd896b
cvsdist bfd896b
* Wed Apr  2 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-27
cvsdist bfd896b
- Modified the ftpuri patch conforming to http://ietf.org/rfc/rfc1738.txt
cvsdist bfd896b
cvsdist 20402fd
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 20402fd
- rebuilt
cvsdist 20402fd
cvsdist 20402fd
* Mon Feb 24 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-25
cvsdist 20402fd
- Fixed bug #84886: pydoc dies when run w/o arguments
cvsdist 20402fd
- Fixed bug #84205: add python shm module back (used to be shipped with 1.5.2)
cvsdist 20402fd
- Fixed bug #84966: path in byte-compiled code still wrong
cvsdist 20402fd
cvsdist 20402fd
* Thu Feb 20 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-23
cvsdist 20402fd
- ftp uri's should be able to specify being rooted at the root instead of 
cvsdist 20402fd
  where you login via ftp (#84692)
cvsdist 20402fd
cvsdist 20402fd
* Mon Feb 10 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-22
cvsdist 20402fd
- Using newer Japanese codecs (1.4.9). Thanks to 
cvsdist 20402fd
  Peter Bowen <pzb@datastacks.com> for pointing this out.
cvsdist 20402fd
cvsdist 20402fd
* Thu Feb  6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-21
cvsdist 20402fd
- Rebuild
cvsdist 20402fd
cvsdist 20402fd
* Wed Feb  5 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-20
cvsdist 20402fd
- Release number bumped really high: turning on UCS4 (ABI compatibility
cvsdist 20402fd
  breakage)
cvsdist 20402fd
cvsdist 20402fd
* Fri Jan 31 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-13
cvsdist 20402fd
- Attempt to look both in /usr/lib64 and /usr/lib/python2.2/site-packages/:
cvsdist 20402fd
  some work on python-2.2.2-lib64.patch
cvsdist 20402fd
cvsdist 20402fd
* Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-12
cvsdist 20402fd
- Rebuild to incorporate the removal of .lib64 and - files.
cvsdist 20402fd
cvsdist 20402fd
* Thu Jan 30 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-11.7.3
cvsdist 20402fd
- Fixed bug #82544: Errata removes most tools
cvsdist 20402fd
- Fixed bug #82435: Python 2.2.2 errata breaks redhat-config-users
cvsdist 20402fd
- Removed .lib64 and - files that get installed after we fix the multilib
cvsdist 20402fd
  .py files.
cvsdist 20402fd
cvsdist 20402fd
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 20402fd
- rebuilt
cvsdist 20402fd
cvsdist 20402fd
* Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 2.2.2-10
cvsdist 20402fd
- rebuild to update tkinter's tcltk deps
cvsdist 20402fd
- convert changelog to utf-8
cvsdist 20402fd
cvsdist 20402fd
* Tue Jan  7 2003 Nalin Dahyabhai <nalin@redhat.com> 2.2.2-9
cvsdist 20402fd
- rebuild
cvsdist 20402fd
cvsdist 20402fd
* Fri Jan  3 2003 Nalin Dahyabhai <nalin@redhat.com>
cvsdist 20402fd
- pick up OpenSSL cflags and ldflags from pkgconfig if available
cvsdist 20402fd
cvsdist 20402fd
* Thu Jan  2 2003 Jeremy Katz <katzj@redhat.com> 2.2.2-8
cvsdist 20402fd
- urllib2 didn't support non-anonymous ftp.  add support based on how 
cvsdist 20402fd
  urllib did it (#80676, #78168)
cvsdist 20402fd
cvsdist 20402fd
* Mon Dec 16 2002 Mihai Ibanescu <misa@redhat.com> 2.2.2-7
cvsdist 20402fd
- Fix bug #79647 (Rebuild of SRPM fails if python isn't installed)
cvsdist 20402fd
- Added a bunch of missing BuildRequires found while fixing the
cvsdist 20402fd
  above-mentioned bug
cvsdist 20402fd
cvsdist 20402fd
* Tue Dec 10 2002 Tim Powers <timp@redhat.com> 2.2.2-6
cvsdist 20402fd
- rebuild to fix broken tcltk deps for tkinter
cvsdist 20402fd
cvsdist 20402fd
* Fri Nov 22 2002 Mihai Ibanescu <misa@redhat.com>
cvsdist 20402fd
2.2.2-3.7.3
cvsdist 20402fd
- Recompiled for 7.3 (to fix the -lcrypt bug)
cvsdist 20402fd
- Fix for the spurious error message at the end of the build (build-requires
cvsdist 20402fd
  gets confused by executable files starting with """"): make the tests
cvsdist 20402fd
  non-executable.
cvsdist 20402fd
cvsdist d4a3959
* Wed Nov 20 2002 Mihai Ibanescu <misa@redhat.com>
cvsdist d4a3959
2.2.2-5
cvsdist d4a3959
- Fixed configuration patch to add -lcrypt when compiling cryptmodule.c
cvsdist d4a3959
cvsdist d4a3959
2.2.2-4
cvsdist d4a3959
- Spec file change from Matt Wilson <msw@redhat.com> to disable linking 
cvsdist d4a3959
  with the C++ compiler.
cvsdist d4a3959
cvsdist d4a3959
* Mon Nov 11 2002 Mihai Ibanescu <misa@redhat.com>
cvsdist d4a3959
2.2.2-3.*
cvsdist d4a3959
- Merged patch from Karsten Hopp <karsten@redhat.de> from 2.2.1-17hammer to
cvsdist d4a3959
  use %%{_libdir}
cvsdist d4a3959
- Added XFree86-libs as BuildRequires (because of tkinter)
cvsdist d4a3959
- Fixed duplicate listing of plat-linux2
cvsdist d4a3959
- Fixed exclusion of lib-dynload/japanese
cvsdist d4a3959
- Added lib64 patch for the japanese codecs
cvsdist d4a3959
- Use setup magic instead of using tar directly on JapaneseCodecs
cvsdist d4a3959
cvsdist d4a3959
* Tue Nov  5 2002 Mihai Ibanescu <misa@redhat.com>
cvsdist d4a3959
2.2.2-2
cvsdist d4a3959
- Fix #76912 (python-tools contains idle, which uses tkinter, but there is no
cvsdist d4a3959
  requirement of tkinter from python-tools).
cvsdist d4a3959
- Fix #74013 (rpm is missing the /usr/lib/python2.2/test directory)
cvsdist d4a3959
cvsdist d4a3959
* Mon Nov  4 2002 Mihai Ibanescu <misa@redhat.com>
cvsdist d4a3959
- builds as python2 require a different libdb
cvsdist d4a3959
- changed the buildroot name of python to match python2 builds
cvsdist d4a3959
cvsdist d4a3959
* Fri Nov  1 2002 Mihai Ibanescu <misa@redhat.com>
cvsdist d4a3959
- updated python to 2.2.2 and adjusted the patches accordingly
cvsdist d4a3959
cvsdist d4a3959
* Mon Oct 21 2002 Mihai Ibanescu <misa@redhat.com>
cvsdist d4a3959
- Fix #53930 (Python-2.2.1-buildroot-bytecode.patch)
cvsdist d4a3959
- Added BuildPrereq dependency on gcc-c++
cvsdist d4a3959
cvsdist 20402fd
* Fri Aug 30 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-17
cvsdist af6464c
- security fix for _execvpe
cvsdist af6464c
cvsdist 20402fd
* Tue Aug 13 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-16
cvsdist 86d7877
- Fix  #71011,#71134, #58157
cvsdist 86d7877
cvsdist 20402fd
* Wed Aug  7 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-15
cvsdist e0fde95
- Resurrect tkinter
cvsdist e0fde95
- Fix for distutils (#67671)
cvsdist 86d7877
- Fix #69962
cvsdist c8fb8c5
cvsdist 20402fd
* Thu Jul 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-14
cvsdist e0fde95
- Obsolete tkinter/tkinter2 (#69838)
cvsdist c8fb8c5
cvsdist 20402fd
* Tue Jul 23 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-13
cvsdist e0fde95
- Doc fixes (#53951) - not on alpha at the momemt
cvsdist c8fb8c5
cvsdist 20402fd
* Mon Jul  8 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-12
cvsdist e0fde95
- fix pydoc (#68082)
cvsdist c8fb8c5
cvsdist 20402fd
* Mon Jul  8 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-11
cvsdist e0fde95
- Add db4-devel as a BuildPrereq
cvsdist c8fb8c5
cvsdist e0fde95
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 2.2.1-10
cvsdist e0fde95
- automated rebuild
cvsdist c8fb8c5
cvsdist 20402fd
* Mon Jun 17 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-9
cvsdist e0fde95
- Add Japanese codecs (#66352)
cvsdist c365dbf
cvsdist 20402fd
* Tue Jun 11 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-8
cvsdist e0fde95
- No more tkinter...
cvsdist c365dbf
cvsdist 20402fd
* Wed May 29 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-7
cvsdist e0fde95
- Rebuild
cvsdist 6b969f1
cvsdist 20402fd
* Tue May 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-6
cvsdist e0fde95
- Add the email subcomponent (#65301)
cvsdist 6b01c7b
cvsdist 20402fd
* Fri May 10 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-5
cvsdist e0fde95
- Rebuild
cvsdist 6b01c7b
cvsdist e0fde95
* Thu May 02 2002 Than Ngo <than@redhat.com> 2.2.1-4
cvsdist e0fde95
- rebuild i new enviroment
cvsdist ed2d2e6
cvsdist 20402fd
* Tue Apr 23 2002 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist e0fde95
- Use ucs2, not ucs4, to avoid breaking tkinter (#63965)
cvsdist 412e296
cvsdist 20402fd
* Mon Apr 22 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-2
cvsdist e0fde95
- Make it use db4
cvsdist 412e296
cvsdist 20402fd
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2.1-1
cvsdist e0fde95
- 2.2.1 - a bugfix-only release
cvsdist e4efab2
cvsdist 20402fd
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-16
cvsdist e0fde95
- the same, but in builddirs - this will remove them from the 
cvsdist e0fde95
  docs package, which doesn't look in the buildroot for files.
cvsdist 412e296
cvsdist 20402fd
* Fri Apr 12 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-15
cvsdist e0fde95
- Get rid of temporary files and .cvsignores included 
cvsdist e0fde95
  in the tarball and make install
cvsdist e4efab2
cvsdist 20402fd
* Fri Apr  5 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-14
cvsdist e0fde95
- Don't own lib-tk in main package, only in tkinter (#62753)
cvsdist e4efab2
cvsdist 20402fd
* Mon Mar 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-13
cvsdist e0fde95
- rebuild
cvsdist e4efab2
cvsdist 20402fd
* Mon Mar 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-12
cvsdist e0fde95
- rebuild
cvsdist e4efab2
cvsdist 20402fd
* Fri Mar  1 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-11
cvsdist e0fde95
- Add a not to the Distutils obsoletes test (doh!)
cvsdist e4efab2
cvsdist 20402fd
* Fri Mar  1 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-10
cvsdist e0fde95
- Rebuild
cvsdist e4efab2
cvsdist 20402fd
* Mon Feb 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-9
cvsdist e0fde95
- Only obsolete Distutils when built as python
cvsdist e4efab2
cvsdist 20402fd
* Thu Feb 21 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-8
cvsdist e0fde95
- Make files in /usr/bin install side by side with python 1.5 when
cvsdist e0fde95
- Drop explicit requirement of db4
cvsdist e0fde95
  built as python2
cvsdist e4efab2
cvsdist e0fde95
* Thu Jan 31 2002 Elliot Lee <sopwith@redhat.com> 2.2-7
cvsdist e0fde95
- Use version and pybasever macros to make updating easy
cvsdist e0fde95
- Use _smp_mflags macro
cvsdist e4efab2
cvsdist 20402fd
* Tue Jan 29 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-6
cvsdist e0fde95
- Add db4-devel to BuildPrereq
cvsdist e4efab2
cvsdist e0fde95
* Fri Jan 25 2002 Nalin Dahyabhai <nalin@redhat.com> 2.2-5
cvsdist e0fde95
- disable ndbm support, which is db2 in disguise (really interesting things
cvsdist e0fde95
  can happen when you mix db2 and db4 in a single application)
cvsdist e4efab2
cvsdist 20402fd
* Thu Jan 24 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-4
cvsdist e0fde95
- Obsolete subpackages if necesarry 
cvsdist e0fde95
- provide versioned python2
cvsdist e0fde95
- build with db4
cvsdist e4efab2
cvsdist 20402fd
* Wed Jan 16 2002 Trond Eivind Glomsrød <teg@redhat.com> 2.2-3
cvsdist e0fde95
- Alpha toolchain broken. Disable build on alpha.
cvsdist e0fde95
- New openssl
cvsdist e4efab2
cvsdist 20402fd
* Wed Dec 26 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-1
cvsdist e0fde95
- 2.2 final
cvsdist e4efab2
cvsdist 20402fd
* Fri Dec 14 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.11c1
cvsdist e0fde95
- 2.2 RC 1
cvsdist e0fde95
- Don't include the _tkinter module in the main package - it's 
cvsdist e0fde95
  already in the tkiter packace
cvsdist e0fde95
- Turn off the mpzmodule, something broke in the buildroot
cvsdist e4efab2
cvsdist 20402fd
* Wed Nov 28 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.10b2
cvsdist e0fde95
- Use -fPIC for OPT as well, in lack of a proper libpython.so
cvsdist e4efab2
cvsdist e0fde95
* Mon Nov 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.9b2
cvsdist e0fde95
- changed DESTDIR to point to / so that distutils will install dynload
cvsdist e0fde95
  modules properly in the installroot
cvsdist e4efab2
cvsdist e0fde95
* Fri Nov 16 2001 Matt Wilson <msw@redhat.com> 2.2-0.8b2
cvsdist e0fde95
- 2.2b2
cvsdist e4efab2
cvsdist e0fde95
* Fri Oct 26 2001 Matt Wilson <msw@redhat.com> 2.2-0.7b1
cvsdist e0fde95
- python2ify
cvsdist e4efab2
cvsdist 20402fd
* Fri Oct 19 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.5b1
cvsdist e0fde95
- 2.2b1
cvsdist e4efab2
cvsdist 20402fd
* Sun Sep 30 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.4a4
cvsdist e0fde95
- 2.2a4
cvsdist e0fde95
- Enable UCS4 support
cvsdist e0fde95
- Enable IPv6
cvsdist e0fde95
- Provide distutils
cvsdist e0fde95
- Include msgfmt.py and pygettext.py
cvsdist e4efab2
cvsdist 20402fd
* Fri Sep 14 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.3a3
cvsdist e0fde95
- Obsolete Distutils, which is now part of the main package
cvsdist e0fde95
- Obsolete python2
cvsdist e4efab2
cvsdist 20402fd
* Thu Sep 13 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.2a3
cvsdist e0fde95
- Add docs, tools and tkinter subpackages, to match the 1.5 layout
cvsdist e4efab2
cvsdist 20402fd
* Wed Sep 12 2001 Trond Eivind Glomsrød <teg@redhat.com> 2.2-0.1a3
cvsdist e0fde95
- 2.2a3
cvsdist e0fde95
- don't build tix and blt extensions
cvsdist e4efab2
cvsdist 20402fd
* Mon Aug 13 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist e0fde95
- Add tk and tix to build dependencies
cvsdist e4efab2
cvsdist 20402fd
* Sat Jul 21 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist e0fde95
- 2.1.1 bugfix release - with a GPL compatible license
cvsdist e4efab2
cvsdist 20402fd
* Fri Jul 20 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist e0fde95
- Add new build dependencies (#49753)
cvsdist e4efab2
cvsdist e0fde95
* Tue Jun 26 2001 Nalin Dahyabhai <nalin@redhat.com>
cvsdist e0fde95
- build with -fPIC
cvsdist e4efab2
cvsdist 20402fd
* Fri Jun  1 2001 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist e0fde95
- 2.1
cvsdist e0fde95
- reorganization of file includes
cvsdist e4efab2
cvsdist 20402fd
* Wed Dec 20 2000 Trond Eivind Glomsrød <teg@redhat.com>
cvsdist e0fde95
- fix the "requires" clause, it lacked a space causing problems
cvsdist e0fde95
- use %%{_tmppath}
cvsdist e0fde95
- don't define name, version etc
cvsdist e0fde95
- add the available patches from the Python home page
cvsdist e4efab2
cvsdist e0fde95
* Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
cvsdist e0fde95
- added devel subpackage
cvsdist e4efab2
cvsdist e0fde95
* Fri Dec 15 2000 Matt Wilson <msw@redhat.com>
cvsdist e0fde95
- modify all files to use "python2.0" as the intrepter
cvsdist e0fde95
- don't build the Expat bindings
cvsdist e0fde95
- build against db1
cvsdist e4efab2
cvsdist e0fde95
* Mon Oct 16 2000 Jeremy Hylton <jeremy@beopen.com>
cvsdist e0fde95
- updated for 2.0 final
cvsdist e4efab2
cvsdist e0fde95
* Mon Oct  9 2000 Jeremy Hylton <jeremy@beopen.com>
cvsdist e0fde95
- updated for 2.0c1
cvsdist e0fde95
- build audioop, imageop, and rgbimg extension modules
cvsdist e0fde95
- include xml.parsers subpackage
cvsdist e0fde95
- add test.xml.out to files list
cvsdist e4efab2
cvsdist e0fde95
* Thu Oct  5 2000 Jeremy Hylton <jeremy@beopen.com>
cvsdist 20402fd
- added bin/python2.0 to files list (suggested by Martin v. L?)
cvsdist e4efab2
cvsdist e0fde95
* Tue Sep 26 2000 Jeremy Hylton <jeremy@beopen.com>
cvsdist e0fde95
- updated for release 1 of 2.0b2
cvsdist e0fde95
- use .bz2 version of Python source
cvsdist e4efab2
cvsdist e0fde95
* Tue Sep 12 2000 Jeremy Hylton <jeremy@beopen.com>
cvsdist e0fde95
- Version 2 of 2.0b1
cvsdist e0fde95
- Make the package relocatable.  Thanks to Suchandra Thapa.
cvsdist e0fde95
- Exclude Tkinter from main RPM.  If it is in a separate RPM, it is
cvsdist e0fde95
  easier to track Tk releases.