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