2011-07-08 16:36:16 +00:00
# ======================================================
# Conditionals and other variables controlling the build
# ======================================================
2017-08-31 09:11:41 +00:00
# Note that the bcond macros are named for the CLI option they create.
# "%%bcond_without" means "ENABLE by default and create a --without option"
2018-08-21 13:58:19 +00:00
# Whether to use RPM build wheels from the python-{pip,setuptools}-wheel package
# Uses upstream bundled prebuilt wheels otherwise
%bcond_without rpmwheels
2017-08-31 09:11:41 +00:00
# Extra build for debugging the interpreter or C-API extensions
# (the -debug subpackages)
%bcond_without debug_build
2014-12-11 09:37:25 +00:00
2018-05-11 22:53:31 +00:00
# Only use this when bootstrapping python3
# Needed to build setuptools for the first time
%bcond_with python3_bootstrap
2010-01-16 01:22:56 +00:00
%global unicode ucs4
2004-09-09 11:01:34 +00:00
2016-11-07 13:23:37 +00:00
%global python python2
2010-07-21 20:48:17 +00:00
%global pybasever 2.7
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
2010-05-20 19:16:46 +00:00
%global py_INSTSONAME_optimized libpython%{pybasever} .so.%{py_SOVERSION}
%global py_INSTSONAME_debug libpython%{pybasever} _d.so.%{py_SOVERSION}
2010-02-09 03:00:11 +00:00
2010-08-18 17:35:32 +00:00
# Disabled for now:
%global with_huntrleaks 0
2018-05-07 12:37:17 +00:00
%ifnarch riscv64
2010-02-06 00:37:39 +00:00
%global with_gdb_hooks 1
2018-05-07 12:37:17 +00:00
%endif
2010-02-06 00:37:39 +00:00
2010-07-26 13:04:32 +00:00
%global with_systemtap 1
2010-02-08 19:58:25 +00:00
2012-05-04 19:24:43 +00:00
# some arches don't have valgrind so we need to disable its support on them
2016-10-09 10:12:33 +00:00
%ifnarch s390 %{mips} riscv64
2010-04-26 19:15:58 +00:00
%global with_valgrind 1
2011-01-04 14:46:43 +00:00
%else
%global with_valgrind 0
2010-04-26 19:15:58 +00:00
%endif
2011-09-30 20:45:14 +00:00
%global with_gdbm 1
2011-09-13 18:37:20 +00:00
2017-04-21 18:48:53 +00:00
%if 0%{?_module_build}
%global with_valgrind 0
%global with_systemtap 0
2017-08-31 09:11:41 +00:00
# (Don't) Run the test suite in %%check
%bcond_with tests
%else
# Run the test suite in %%check
%bcond_without tests
2017-04-21 18:48:53 +00:00
%endif
2018-04-28 15:12:13 +00:00
# Disable automatic bytecompilation. The python2.7 binary is not yet
# available in /usr/bin when Python is built. Also, the bytecompilation fails
# on files that test invalid syntax.
%undefine __brp_python_bytecompile
2018-07-03 12:02:51 +00:00
# The above is broken now
# https://bugzilla.redhat.com/show_bug.cgi?id=1597664
# This is an older non-standard way to disable the brp script, as a workaround
%undefine py_auto_byte_compile
2010-02-08 19:58:25 +00:00
2010-07-21 20:48:17 +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)
2011-09-14 03:55:20 +00:00
# patch 145 (linux2)
2013-11-12 12:53:47 +00:00
#
2010-07-21 20:48:17 +00:00
# For patch 55 (systemtap), we need to get a new header for configure to use
#
# configure.in requires autoconf-2.65, but the version in Fedora is currently
# autoconf-2.66
#
# For now, we'll generate a patch to the generated configure script and
# pyconfig.h.in on a machine that has a local copy of autoconf 2.65
#
# Instructions on obtaining such a copy can be seen at
# http://bugs.python.org/issue7997
#
# To make it easy to regenerate the patch, this specfile can be run in two
# ways:
# (i) regenerate_autotooling_patch 0 : the normal approach: prep the
# source tree using a pre-generated patch to the "configure" script, and do a
# full build
# (ii) regenerate_autotooling_patch 1 : intended to be run on a developer's
# workstation: prep the source tree without patching configure, then rerun a
# local copy of autoconf-2.65, regenerate the patch, then exit, without doing
# the rest of the build
%global regenerate_autotooling_patch 0
2018-09-06 11:27:15 +00:00
# Python 2 is deprecated in Fedora 30+, see:
# https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
# This means that new packages MUST NOT depend on python2, even transitively
# see: https://fedoraproject.org/wiki/Packaging:Deprecating_Packages
# Python 2 will not be supported after 2019. Use the python3 package instead
# if possible.
%if 0%{fedora} >= 30
%global deprecated Provides: deprecated()
%endif
2011-07-08 16:36:16 +00:00
# ==================
# Top-level metadata
# ==================
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}
2018-04-13 21:01:00 +00:00
# Remember to also rebase python2-docs when changing this:
Update to version 2.7.15
- Rebased patches: 165, 170, 198
- Refactored patches: 289
- Removed patches (included upstream): 280, 283, 284, 285, 287,
293, 297, 298, 299
2018-05-01 10:01:16 +00:00
Version : 2.7.15
2018-10-16 15:20:47 +00:00
Release : 11.0.riscv64%{?dist}
2008-07-10 14:42:32 +00:00
License : Python
2004-09-09 10:57:31 +00:00
Group : Development/Languages
2010-09-09 18:44:48 +00:00
Requires : %{python} -libs%{?_isa} = %{version} -%{release}
2004-12-07 22:07:50 +00:00
Provides : python(abi) = %{pybasever}
2011-07-08 16:36:16 +00:00
2018-09-06 11:27:15 +00:00
%?deprecated
2011-07-08 16:36:16 +00:00
# =======================
# Build-time requirements
# =======================
# (keep this list alphabetized)
BuildRequires : autoconf
2017-04-21 18:48:53 +00:00
%if ! 0%{?_module_build}
2012-12-11 20:38:01 +00:00
BuildRequires : bluez-libs-devel
2017-04-21 18:48:53 +00:00
%endif
2011-07-08 16:36:16 +00:00
BuildRequires : bzip2
BuildRequires : bzip2-devel
2017-04-21 18:48:53 +00:00
BuildRequires : glibc-devel
BuildRequires : gmp-devel
BuildRequires : libdb-devel
BuildRequires : libffi-devel
BuildRequires : ncurses-devel
BuildRequires : pkgconfig
BuildRequires : readline-devel
BuildRequires : sqlite-devel
BuildRequires : tcl-devel
2012-04-19 18:09:01 +00:00
2018-08-05 20:28:48 +00:00
# https://bugzilla.redhat.com/show_bug.cgi?id=1609291
BuildRequires : compat-openssl10-devel
2018-01-17 12:58:28 +00:00
# For the nis module
BuildRequires : libnsl2-devel
BuildRequires : libtirpc-devel
2012-04-19 18:09:01 +00:00
# expat 2.1.0 added the symbol XML_SetHashSalt without bumping SONAME. We use
# it (in pyexpat) in order to enable the fix in Python-2.7.3 for CVE-2012-0876:
BuildRequires : expat-devel >= 2.1.0
2011-07-08 16:36:16 +00:00
BuildRequires : findutils
BuildRequires : gcc-c++
2011-09-13 18:37:20 +00:00
%if %{with_gdbm}
2018-01-16 15:39:38 +00:00
# ABI change without soname bump, reverted
BuildRequires : gdbm-devel >= 1:1.13
2011-09-13 18:37:20 +00:00
%endif
2017-04-21 18:48:53 +00:00
%if ! 0%{?_module_build}
2011-07-08 16:36:16 +00:00
BuildRequires : libGL-devel
BuildRequires : libX11-devel
2017-04-21 18:48:53 +00:00
%endif
2011-07-08 16:36:16 +00:00
%if 0%{?with_systemtap}
BuildRequires : systemtap-sdt-devel
# (this introduces a circular dependency, in that systemtap-sdt-devel's
# /usr/bin/dtrace is a python script)
%global tapsetdir /usr/share/systemtap/tapset
%endif # with_systemtap
BuildRequires : tar
2017-04-21 18:48:53 +00:00
%if ! 0%{?_module_build}
2011-07-08 16:36:16 +00:00
BuildRequires : tix-devel
BuildRequires : tk-devel
2017-04-21 18:48:53 +00:00
%endif
2011-07-08 16:36:16 +00:00
%if 0%{?with_valgrind}
BuildRequires : valgrind-devel
%endif
BuildRequires : zlib-devel
2018-08-21 13:58:19 +00:00
%if %{with rpmwheels}
BuildRequires : python-setuptools-wheel
BuildRequires : python-pip-wheel
%endif
2014-12-11 09:37:25 +00:00
2018-06-14 12:15:03 +00:00
# Providing python27 as now multiple interpreters exist in Fedora
# alongside the system one e.g. python26, python33 etc
Provides : python27 = %{version} -%{release}
# https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
# We recommend /usr/bin/python so users get it by default
# Versioned recommends are problematic, and we know that the package requires
# python2 back with fixed version, so we just use the path here:
Recommends: %{_bindir} /python
2011-07-08 16:36:16 +00:00
2018-08-21 13:58:19 +00:00
# Previously, this was required for our rewheel patch to work.
# This is technically no longer needed, but we keep it recommended
# for the developer experience.
Recommends: python2-setuptools
Recommends: python2-pip
2011-07-08 16:36:16 +00:00
# =======================
# Source code and patches
# =======================
2017-05-10 13:26:35 +00:00
Source : https://www.python.org/ftp/python/%{version} /Python-%{version} .tar.xz
2006-12-05 21:34:32 +00:00
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
2013-05-14 19:49:20 +00:00
Source7 : pynche
2011-08-18 19:25:42 +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)
2018-01-17 12:58:28 +00:00
# - build the nis module (which needs the tirpc library since glibc 2.26)
2010-01-30 00:17:35 +00:00
# - 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)
2013-11-12 12:53:47 +00:00
# - spwd spwdmodule.c # spwd(3)
2010-01-30 00:17:35 +00:00
# - 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)
# - 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
2010-12-29 03:46:51 +00:00
Patch0 : python-2.7.1-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
2013-02-19 20:19:54 +00:00
Patch1 : 00001-pydocnogui.patch
2010-01-26 21:46:40 +00:00
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
2013-11-12 12:53:47 +00:00
# This patch was listed in the changelog as:
2010-01-30 00:17:35 +00:00
# * Fri Sep 14 2007 Jeremy Katz <katzj@redhat.com> - 2.5.1-11
2013-11-12 12:53:47 +00:00
# - fix encoding of sqlite .py files to work around weird encoding problem
2010-01-30 00:17:35 +00:00
# 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
2013-11-12 12:53:47 +00:00
# "coding: ISO-8859-1" specs and character E4 = U+00E4 =
# LATIN SMALL LETTER A WITH DIAERESIS from in ghaering's surname.
2010-01-30 00:17:35 +00:00
#
# 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
2013-11-12 12:53:47 +00:00
#
2010-01-30 00:17:35 +00:00
# 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)
2017-01-11 19:20:31 +00:00
Patch10 : 00010-2.7.13-binutils-no-dep.patch
2010-01-30 00:17:35 +00:00
2012-04-13 14:36:12 +00:00
# Upstream as of Python 2.7.3:
# Patch11: python-2.7rc1-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:
2010-07-21 20:48:17 +00:00
Patch13 : python-2.7rc1-socketmodule-constants.patch
Patch14 : python-2.7rc1-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
2012-05-04 19:24:43 +00:00
# 00055 #
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-07-21 20:48:17 +00:00
# then rewritten by mjw (attachment 390110 of rhbz 545179), then reformatted
# for 2.7rc1 by dmalcolm:
2011-09-12 21:38:37 +00:00
Patch55 : 00055-systemtap.patch
2010-02-09 18:53:26 +00:00
2017-12-11 12:35:09 +00:00
# Only used when "%%{_lib}" == "lib64"
2010-01-30 00:17:35 +00:00
# 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
2017-01-11 19:20:31 +00:00
Patch102 : 00102-2.7.13-lib64.patch
2010-07-21 20:48:17 +00:00
# Python 2.7 split out much of the path-handling from distutils/sysconfig.py to
# a new sysconfig.py (in r77704).
# We need to make equivalent changes to that new file to ensure that the stdlib
# and platform-specific code go to /usr/lib64 not /usr/lib, on 64-bit archs:
Patch103 : python-2.7-lib64-sysconfig.patch
2004-09-09 11:02:53 +00:00
2012-05-04 19:24:43 +00:00
# 00104 #
2017-12-11 12:35:09 +00:00
# Only used when "%%{_lib}" == "lib64"
2011-09-10 11:55:07 +00:00
# Another lib64 fix, for distutils/tests/test_install.py; not upstream:
Patch104 : 00104-lib64-fix-for-test_install.patch
2012-05-04 19:24:43 +00:00
# 00111 #
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):
2012-05-11 23:35:48 +00:00
# Downstream only: not appropriate for upstream
2011-09-12 21:38:37 +00:00
Patch111 : 00111-no-static-lib.patch
2010-01-18 18:51:20 +00:00
2012-05-04 19:24:43 +00:00
# 00112 #
2010-05-20 19:16:46 +00:00
# Patch to support building both optimized vs debug stacks DSO ABIs, sharing
# the same .py and .pyc files, using "_d.so" to signify a debug build of an
# extension module.
#
2013-11-12 12:53:47 +00:00
# Based on Debian's patch for the same,
2010-05-20 19:16:46 +00:00
# http://patch-tracker.debian.org/patch/series/view/python2.6/2.6.5-2/debug-build.dpatch
2013-11-12 12:53:47 +00:00
#
2010-05-20 19:16:46 +00:00
# (which was itself based on the upstream Windows build), but with some
# changes:
#
# * Debian's patch to dynload_shlib.c looks for module_d.so, then module.so,
# but this can potentially find a module built against the wrong DSO ABI. We
# instead search for just module_d.so in a debug build
#
# * We remove this change from configure.in's build of the Makefile:
# SO=$DEBUG_EXT.so
# so that sysconfig.py:customize_compiler stays with shared_lib_extension='.so'
# on debug builds, so that UnixCCompiler.find_library_file can find system
# libraries (otherwise "make sharedlibs" fails to find system libraries,
# erroneously looking e.g. for "libffi_d.so" rather than "libffi.so")
#
# * We change Lib/distutils/command/build_ext.py:build_ext.get_ext_filename
# to add the _d there, when building an extension. This way, "make sharedlibs"
# can build ctypes, by finding the sysmtem libffi.so (rather than failing to
# find "libffi_d.so"), and builds the module as _ctypes_d.so
2013-11-12 12:53:47 +00:00
#
2010-05-20 19:16:46 +00:00
# * Similarly, update build_ext:get_libraries handling of Py_ENABLE_SHARED by
# appending "_d" to the python library's name for the debug configuration
#
# * We modify Modules/makesetup to add the "_d" to the generated Makefile
# rules for the various Modules/*.so targets
#
# This may introduce issues when building an extension that links directly
# against another extension (e.g. users of NumPy?), but seems more robust when
# searching for external libraries
#
# * We don't change Lib/distutils/command/build.py: build.build_purelib to
# embed plat_specifier, leaving it as is, as pure python builds should be
# unaffected by these differences (we'll be sharing the .py and .pyc files)
#
# * We introduce DEBUG_SUFFIX as well as DEBUG_EXT:
# - DEBUG_EXT is used by ELF files (names and SONAMEs); it will be "_d" for
# a debug build
# - DEBUG_SUFFIX is used by filesystem paths; it will be "-debug" for a
# debug build
#
# Both will be empty in an optimized build. "_d" contains characters that
# are valid ELF metadata, but this leads to various ugly filesystem paths (such
# as the include path), and DEBUG_SUFFIX allows these paths to have more natural
# names. Changing this requires changes elsewhere in the distutils code.
#
# * We add DEBUG_SUFFIX to PYTHON in the Makefile, so that the two
# configurations build parallel-installable binaries with different names
# ("python-debug" vs "python").
#
# * Similarly, we add DEBUG_SUFFIX within python-config and
# python$(VERSION)-config, so that the two configuration get different paths
# for these.
2011-08-23 22:28:07 +00:00
#
# See also patch 130 below
#
2017-01-11 19:20:31 +00:00
Patch112 : 00112-2.7.13-debug-build.patch
2007-08-14 14:38:32 +00:00
2010-05-25 16:13:29 +00:00
2012-05-04 19:24:43 +00:00
# 00113 #
2010-05-25 16:13:29 +00:00
# Add configure-time support for the COUNT_ALLOCS and CALL_PROFILE options
# described at http://svn.python.org/projects/python/trunk/Misc/SpecialBuilds.txt
# so that if they are enabled, they will be in that build's pyconfig.h, so that
# extension modules will reliably use them
2012-05-11 23:35:48 +00:00
# Not yet sent upstream
2011-09-12 21:38:37 +00:00
Patch113 : 00113-more-configuration-flags.patch
2010-05-25 16:13:29 +00:00
2012-05-04 19:24:43 +00:00
# 00114 #
2010-05-26 10:28:54 +00:00
# Add flags for statvfs.f_flag to the constant list in posixmodule (i.e. "os")
# (rhbz:553020); partially upstream as http://bugs.python.org/issue7647
2012-05-11 23:35:48 +00:00
# Not yet sent upstream
2011-09-12 21:38:37 +00:00
Patch114 : 00114-statvfs-f_flag-constants.patch
2010-05-26 10:28:54 +00:00
2010-07-21 20:48:17 +00:00
# Upstream r79310 removed the "Modules" directory from sys.path when Python is
# running from the build directory on POSIX to fix a unit test (issue #8205).
# This seems to have broken the compileall.py done in "make install": it cannot
# find shared library extension modules at this point in the build (sys.path
# does not contain DESTDIR/usr/lib(64)/python-2.7/lib-dynload for some reason),
# leading to the build failing with:
# Traceback (most recent call last):
# File "/home/david/rpmbuild/BUILDROOT/python-2.7-0.1.rc2.fc14.x86_64/usr/lib64/python2.7/compileall.py", line 17, in <module>
# import struct
# File "/home/david/rpmbuild/BUILDROOT/python-2.7-0.1.rc2.fc14.x86_64/usr/lib64/python2.7/struct.py", line 1, in <module>
# from _struct import *
# ImportError: No module named _struct
2013-05-16 13:15:46 +00:00
# This patch adds the build Modules directory to build path.
Patch121 : 00121-add-Modules-to-build-path.patch
2010-07-21 20:48:17 +00:00
2010-12-29 03:46:51 +00:00
# 2.7.1 (in r84230) added a test to test_abc which fails if python is
# configured with COUNT_ALLOCS, which is the case for our debug build
# (the COUNT_ALLOCS instrumentation keeps "C" alive).
# Not yet sent upstream
Patch128 : python-2.7.1-fix_test_abc_with_COUNT_ALLOCS.patch
2012-05-04 19:24:43 +00:00
# 00130 #
2011-08-23 22:28:07 +00:00
# Add "--extension-suffix" option to python-config and python-debug-config
# (rhbz#732808)
#
# This is adapted from 3.2's PEP-3149 support.
#
# Fedora's debug build has some non-standard features (see also patch 112
# above), though largely shared with Debian/Ubuntu and Windows
#
# In particular, SO in the Makefile is currently always just ".so" for our
# python 2 optimized builds, but for python 2 debug it should be '_d.so', to
# distinguish the debug vs optimized ABI, following the pattern in the above
# patch.
#
# Not yet sent upstream
Patch130 : python-2.7.2-add-extension-suffix-to-python-config.patch
2012-05-04 19:24:43 +00:00
# 00131 #
2011-09-01 20:46:48 +00:00
# The four tests in test_io built on top of check_interrupted_write_retry
# fail when built in Koji, for ppc and ppc64; for some reason, the SIGALRM
# handlers are never called, and the call to write runs to completion
# (rhbz#732998)
2011-09-12 21:38:37 +00:00
Patch131 : 00131-disable-tests-in-test_io.patch
2011-09-01 20:46:48 +00:00
2012-05-04 19:24:43 +00:00
# 00132 #
2011-09-10 11:55:07 +00:00
# Add non-standard hooks to unittest for use in the "check" phase below, when
# running selftests within the build:
# @unittest._skipInRpmBuild(reason)
# for tests that hang or fail intermittently within the build environment, and:
# @unittest._expectedFailureInRpmBuild
# for tests that always fail within the build environment
#
# The hooks only take effect if WITHIN_PYTHON_RPM_BUILD is set in the
# environment, which we set manually in the appropriate portion of the "check"
# phase below (and which potentially other python-* rpms could set, to reuse
# these unittest hooks in their own "check" phases)
Patch132 : 00132-add-rpmbuild-hooks-to-unittest.patch
2012-05-04 19:24:43 +00:00
# 00133 #
2011-09-10 11:55:07 +00:00
# "dl" is deprecated, and test_dl doesn't work on 64-bit builds:
Patch133 : 00133-skip-test_dl.patch
2012-05-04 19:24:43 +00:00
# 00136 #
2011-09-10 11:55:07 +00:00
# Some tests try to seek on sys.stdin, but don't work as expected when run
# within Koji/mock; skip them within the rpm build:
Patch136 : 00136-skip-tests-of-seeking-stdin-in-rpmbuild.patch
2012-05-04 19:24:43 +00:00
# 00137 #
2011-09-10 11:55:07 +00:00
# Some tests within distutils fail when run in an rpmbuild:
Patch137 : 00137-skip-distutils-tests-that-fail-in-rpmbuild.patch
2012-05-04 19:24:43 +00:00
# 00138 #
2011-09-10 11:55:07 +00:00
# Fixup some tests within distutils to work with how debug builds are set up:
Patch138 : 00138-fix-distutils-tests-in-debug-build.patch
2012-05-04 19:24:43 +00:00
# 00139 #
2011-09-10 11:55:07 +00:00
# ARM-specific: skip known failure in test_float:
# http://bugs.python.org/issue8265 (rhbz#706253)
Patch139 : 00139-skip-test_float-known-failure-on-arm.patch
2012-05-04 19:24:43 +00:00
# 00140 #
2011-09-10 11:55:07 +00:00
# Sparc-specific: skip known failure in test_ctypes:
# http://bugs.python.org/issue8314 (rhbz#711584)
# which appears to be a libffi bug
Patch140 : 00140-skip-test_ctypes-known-failure-on-sparc.patch
2012-05-04 19:24:43 +00:00
# 00142 #
2011-09-10 11:55:07 +00:00
# Some pty tests fail when run in mock (rhbz#714627):
Patch142 : 00142-skip-failing-pty-tests-in-rpmbuild.patch
2012-05-04 19:24:43 +00:00
# 00143 #
2011-09-12 21:38:37 +00:00
# Fix the --with-tsc option on ppc64, and rework it on 32-bit ppc to avoid
# aliasing violations (rhbz#698726)
# Sent upstream as http://bugs.python.org/issue12872
Patch143 : 00143-tsc-on-ppc.patch
2012-05-04 19:24:43 +00:00
# 00144 #
2011-09-13 18:37:20 +00:00
# (Optionally) disable the gdbm module:
Patch144 : 00144-no-gdbm.patch
2012-05-04 19:24:43 +00:00
# 00146 #
2011-09-14 05:26:38 +00:00
# Support OpenSSL FIPS mode (e.g. when OPENSSL_FORCE_FIPS_MODE=1 is set)
# - handle failures from OpenSSL (e.g. on attempts to use MD5 in a
# FIPS-enforcing environment)
# - add a new "usedforsecurity" keyword argument to the various digest
# algorithms in hashlib so that you can whitelist a callsite with
# "usedforsecurity=False"
# (sent upstream for python 3 as http://bugs.python.org/issue9216; this is a
# backport to python 2.7; see RHEL6 patch 119)
# - enforce usage of the _hashlib implementation: don't fall back to the _md5
# and _sha* modules (leading to clearer error messages if fips selftests
# fail)
# - don't build the _md5 and _sha* modules; rely on the _hashlib implementation
# of hashlib (for example, md5.py will use _hashlib's implementation of MD5,
# if permitted by the FIPS setting)
# (rhbz#563986)
Patch146 : 00146-hashlib-fips.patch
2012-05-04 19:24:43 +00:00
# 00147 #
2011-09-16 22:41:28 +00:00
# Add a sys._debugmallocstats() function
# Based on patch 202 from RHEL 5's python.spec, with updates from rhbz#737198
2012-05-11 22:42:11 +00:00
# Sent upstream as http://bugs.python.org/issue14785
2011-09-16 22:41:28 +00:00
Patch147 : 00147-add-debug-malloc-stats.patch
2012-05-04 19:24:43 +00:00
# 00153 #
2012-04-13 14:36:12 +00:00
# Strip out lines of the form "warning: Unable to open ..." from gdb's stderr
# when running test_gdb.py; also cope with change to gdb in F17 onwards in
# which values are printed as "v@entry" rather than just "v":
2012-05-11 23:35:48 +00:00
# Not yet sent upstream
2012-04-13 14:36:12 +00:00
Patch153 : 00153-fix-test_gdb-noise.patch
2012-03-22 18:55:25 +00:00
2012-05-04 19:24:43 +00:00
# 00155 #
2012-04-20 19:02:19 +00:00
# Avoid allocating thunks in ctypes unless absolutely necessary, to avoid
# generating SELinux denials on "import ctypes" and "import uuid" when
# embedding Python within httpd (rhbz#814391)
Patch155 : 00155-avoid-ctypes-thunks.patch
2012-05-04 19:24:43 +00:00
# 00156 #
2012-04-30 17:04:36 +00:00
# Recent builds of gdb will only auto-load scripts from certain safe
2012-04-30 20:20:26 +00:00
# locations. Turn off this protection when running test_gdb in the selftest
# suite to ensure that it can load our -gdb.py script (rhbz#817072):
2012-05-11 23:35:48 +00:00
# Not yet sent upstream
2012-04-30 17:04:36 +00:00
Patch156 : 00156-gdb-autoload-safepath.patch
2012-05-18 18:53:34 +00:00
# 00157 #
# Update uid/gid handling throughout the standard library: uid_t and gid_t are
# unsigned 32-bit values, but existing code often passed them through C long
# values, which are signed 32-bit values on 32-bit architectures, leading to
# negative int objects for uid/gid values >= 2^31 on 32-bit architectures.
#
# Introduce _PyObject_FromUid/Gid to convert uid_t/gid_t values to python
# objects, using int objects where the value will fit (long objects otherwise),
# and _PyArg_ParseUid/Gid to convert int/long to uid_t/gid_t, with -1 allowed
# as a special case (since this is given special meaning by the chown syscall)
#
# Update standard library to use this throughout for uid/gid values, so that
# very large uid/gid values are round-trippable, and -1 remains usable.
# (rhbz#697470)
Patch157 : 00157-uid-gid-overflows.patch
2013-02-19 22:05:23 +00:00
# 00165 #
# Backport to Python 2 from Python 3.3 of improvements to the "crypt" module
# adding precanned ways of salting a password (rhbz#835021)
# Based on r88500 patch to py3k from Python 3.3
# plus 6482dd1c11ed, 0586c699d467, 62994662676a, 74a1110a3b50, plus edits
# to docstrings to note that this additional functionality is not standard
# within 2.7
Patch165 : 00165-crypt-module-salt-backport.patch
2013-02-20 17:33:39 +00:00
# 00167 #
# Don't run any of the stack navigation tests in test_gdb when Python is
# optimized, since there appear to be many different ways in which gdb can
# fail to read the PyFrameObject* for arbitrary places in the callstack,
# presumably due to compiler optimization (rhbz#912025)
#
# Not yet sent upstream
Patch167 : 00167-disable-stack-navigation-tests-when-optimized-in-test_gdb.patch
2013-02-20 18:57:29 +00:00
# 00168 #
# Update distutils.sysconfig so that if CFLAGS is defined in the environment,
# when building extension modules, it is appended to the full compilation
# flags from Python's Makefile, rather than instead reducing the compilation
# flags to the subset within OPT and adding it to those.
#
# In particular, this should ensure that "-fno-strict-aliasing" is used by
# "python setup.py build" even when CFLAGS is defined in the environment.
#
# (rhbz#849994)
Patch168 : 00168-distutils-cflags.patch
2013-02-20 20:25:17 +00:00
# 00169 #
# Use SHA-256 rather than implicitly using MD5 within the challenge handling
# in multiprocessing.connection
#
# Sent upstream as http://bugs.python.org/issue17258
# (rhbz#879695)
Patch169 : 00169-avoid-implicit-usage-of-md5-in-multiprocessing.patch
2013-02-20 21:45:56 +00:00
# 00170 #
# In debug builds, try to print repr() when a C-level assert fails in the
# garbage collector (typically indicating a reference-counting error
# somewhere else e.g in an extension module)
# Backported to 2.7 from a patch I sent upstream for py3k
# http://bugs.python.org/issue9263 (rhbz#614680)
# hiding the proposed new macros/functions within gcmodule.c to avoid exposing
# them within the extension API.
# (rhbz#850013)
Patch170 : 00170-gc-assertions.patch
2013-03-06 20:03:56 +00:00
# 00174 #
# Workaround for failure to set up prefix/exec_prefix when running
# an embededed libpython that sets Py_SetProgramName() to a name not
# on $PATH when run from the root directory due to
# https://fedoraproject.org/wiki/Features/UsrMove
# e.g. cmpi-bindings under systemd (rhbz#817554):
Patch174 : 00174-fix-for-usr-move.patch
2013-05-16 13:15:46 +00:00
# 00180 #
# Enable building on ppc64p7
# Not appropriate for upstream, Fedora-specific naming
Patch180 : 00180-python-add-support-for-ppc64p7.patch
# 00181 #
2013-04-22 07:09:16 +00:00
# Allow arbitrary timeout for Condition.wait, as reported in
# https://bugzilla.redhat.com/show_bug.cgi?id=917709
# Upstream doesn't want this: http://bugs.python.org/issue17748
# But we have no better solution downstream yet, and since there is
# no API breakage, we apply this patch.
# Doesn't apply to Python 3, where this is fixed otherwise and works.
2013-05-16 13:15:46 +00:00
Patch181 : 00181-allow-arbitrary-timeout-in-condition-wait.patch
2013-05-02 07:12:06 +00:00
2013-08-21 18:05:58 +00:00
# 00185 #
2013-08-26 07:37:19 +00:00
# Makes urllib2 honor "no_proxy" enviroment variable for "ftp:" URLs
# when ftp_proxy is set
Patch185 : 00185-urllib2-honors-noproxy-for-ftp.patch
# 00187 #
# Add an explicit RPATH to pyexpat.so pointing at the directory
# containing the system expat (which has the extra XML_SetHashSalt
# symbol), to avoid an ImportError with a link error if there's an
# LD_LIBRARY_PATH containing a "vanilla" build of expat (without the
# symbol)
Patch187 : 00187-add-RPATH-to-pyexpat.patch
2013-10-08 12:04:54 +00:00
# 00189 #
2018-08-21 13:58:19 +00:00
# Instead of bundled wheels, use our RPM packaged wheels from
# /usr/share/python-wheels
Patch189 : 00189-use-rpm-wheels.patch
2018-08-21 13:47:27 +00:00
# 00190 #
2013-10-08 12:04:54 +00:00
# Fixes gdb py-bt command not to raise exception while processing
# statements from eval
# rhbz#1008154 (patch by Attila Fazekas)
2018-08-21 13:47:27 +00:00
Patch190 : 00190-gdb-py-bt-dont-raise-exception-from-eval.patch
2013-10-08 12:04:54 +00:00
2014-01-30 11:35:44 +00:00
# 00191 #
# Disabling NOOP test as it fails without internet connection
Patch191 : 00191-disable-NOOP.patch
2014-02-19 13:29:31 +00:00
# 00193 #
# Enable loading sqlite extensions. This patch isn't needed for
# python3.spec, since Python 3 has a configuration option for this.
# rhbz#1066708
# Patch provided by John C. Peterson
Patch193 : 00193-enable-loading-sqlite-extensions.patch
2018-01-17 12:58:28 +00:00
# 00289 #
# Disable automatic detection for the nis module
# (we handle it it in Setup.dist, see Patch0)
Patch289 : 00289-disable-nis-detection.patch
2018-09-20 18:54:32 +00:00
# 00309 #
# CVE-2018-1000802
# shutil._call_external_zip to use subprocess instead of distutils.spawn
# rhbz#1631662
# Fixed upstream https://bugs.python.org/issue34540
Patch309 : 00309-shutil-spawn-subprocess.patch
2018-09-24 11:08:08 +00:00
# 00310 #
# CVE-2018-14647
# Use XML_SetHashSalt in _elementtree
# rhbz#1631822
# Fixed upstream https://bugs.python.org/issue34623
Patch310 : 00310-use-xml-sethashsalt-in-elementtree.patch
2011-09-10 11:55:07 +00:00
# (New patches go here ^^^)
#
2017-05-10 13:26:35 +00:00
# When adding new patches to "python2" and "python3" in Fedora, EL, etc.,
2016-08-09 13:27:04 +00:00
# please try to keep the patch numbers in-sync between all specfiles.
2011-09-10 11:55:07 +00:00
#
2016-08-09 13:27:04 +00:00
# More information, and a patch number catalog, is at:
2011-09-10 11:55:07 +00:00
#
2016-08-09 13:27:04 +00:00
# https://fedoraproject.org/wiki/SIGs/Python/PythonPatches
2011-09-10 11:55:07 +00:00
2010-07-21 20:48:17 +00:00
# This is the generated patch to "configure"; see the description of
2017-12-11 12:35:09 +00:00
# %%{regenerate_autotooling_patch}
2010-07-21 20:48:17 +00:00
# above:
2017-05-10 14:41:09 +00:00
# Disable tk for modularity builds to break up build dependencies
Patch04000 : 04000-modularity-disable-tk.patch
2012-05-04 19:42:02 +00:00
Patch5000 : 05000-autotool-intermediates.patch
2010-06-22 18:40:57 +00:00
2011-07-08 16:36:16 +00:00
# ======================================================
# Additional metadata, and subpackages
# ======================================================
2016-12-09 09:29:57 +00:00
URL : https://www.python.org/
2004-09-09 10:57:31 +00:00
%description
2017-05-10 13:26:35 +00:00
Python 2 is an old version of the language that is incompatible with the 3.x
line of releases. The language is mostly the same, but many details, especially
how built-in objects like dictionaries and strings work, have changed
considerably, and a lot of deprecated features have finally been removed in the
3.x line.
Note that documentation for Python 2 is provided in the python2-docs
2004-09-09 10:57:31 +00:00
package.
2017-05-10 13:26:35 +00:00
This package provides the " p y t h o n 2 " executable; most of the actual
implementation is within the " p y t h o n 2 - l i b s " package.
2010-09-09 18:44:48 +00:00
2018-06-14 12:15:03 +00:00
%package -n python-unversioned-command
Summary : The " p y t h o n " command that runs Python 2
BuildArch : noarch
# https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
2018-09-06 11:27:15 +00:00
%?deprecated
2018-06-14 12:15:03 +00:00
# In theory this could require any python2 version
Requires : python2 == %{version} -%{release}
# But since we want to provide versioned python, we require exact version
Provides : python = %{version} -%{release}
# This also save us an explicit conflict for older python2 builds
%description -n python-unversioned-command
This package contains /usr/bin/python - the " p y t h o n " command that runs Python 2.
2006-12-11 17:40:03 +00:00
%package libs
2017-05-10 13:26:35 +00:00
Summary : Runtime libraries for Python 2
2006-12-11 17:40:03 +00:00
Group : Applications/System
2018-09-06 11:27:15 +00:00
%?deprecated
2010-09-09 18:44:48 +00:00
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
2012-04-19 18:09:01 +00:00
# expat 2.1.0 added the symbol XML_SetHashSalt without bumping SONAME. We use
# this symbol (in pyexpat), so we must explicitly state this dependency to
# prevent "import pyexpat" from failing with a linker error if someone hasn't
# yet upgraded expat:
Requires : expat >= 2.1.0
2017-01-11 19:42:17 +00:00
# Python built with glibc >= 2.24.90-26 needs to require it (rhbz#1410644).
Requires : glibc%{?_isa} >= 2.24.90-26
2018-01-16 15:39:38 +00:00
%if %{with_gdbm}
# ABI change without soname bump, reverted
Requires : gdbm%{?_isa} >= 1:1.13
%endif
2018-08-21 13:58:19 +00:00
%if %{with rpmwheels}
Requires : python-setuptools-wheel
Requires : python-pip-wheel
%else
Provides : bundled(python2-pip) = 9.0.3
Provides : bundled(python2-setuptools) = 39.0.1
%endif
2016-11-07 13:23:37 +00:00
Provides : python-libs = %{version} -%{release}
Provides : python-libs%{?_isa} = %{version} -%{release}
2006-12-11 17:40:03 +00:00
%description libs
2017-05-10 13:26:35 +00:00
This package contains files used to embed Python 2 into applications.
2006-12-11 17:40:03 +00:00
2004-09-09 10:57:31 +00:00
%package devel
2017-05-10 13:26:35 +00:00
Summary : Libraries and header files needed for Python 2 development
2004-09-09 10:57:31 +00:00
Group : Development/Libraries
2018-09-06 11:27:15 +00:00
%?deprecated
2010-01-16 01:22:56 +00:00
Requires : %{python} %{?_isa} = %{version} -%{release}
2016-01-13 19:02:55 +00:00
Requires : python-rpm-macros
Requires : python2-rpm-macros
2010-07-21 20:48:17 +00:00
Requires : pkgconfig
2017-11-09 11:44:53 +00:00
2018-05-11 22:53:31 +00:00
%if %{without python3_bootstrap}
# When bootstrapping python3, we need to build setuptools
# But setuptools BR python2-devel and that brings in python3-rpm-generators
# python3-rpm-generators needs python3-setuptools, so we cannot have it yet
Requires : python3-rpm-generators
%endif
2018-08-30 13:46:34 +00:00
# This is not "API" (packages that need setuptools should still BuildRequire it)
# However some packages apparently can build both with and without setuptools
# producing egg-info as file or directory (depending on setuptools presence).
# Directory-to-file updates are problematic in RPM, so we ensure setuptools is
# installed when -devel is required.
# See https://bugzilla.redhat.com/show_bug.cgi?id=1623922
# See https://fedoraproject.org/wiki/Packaging:Directory_Replacement
Requires : python2-setuptools
2017-11-09 11:44:53 +00:00
# https://bugzilla.redhat.com/show_bug.cgi?id=1217376
# https://bugzilla.redhat.com/show_bug.cgi?id=1496757
# https://bugzilla.redhat.com/show_bug.cgi?id=1218294
# TODO change to a specific subpackage once available (#1218294)
Requires : redhat-rpm-config
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}
2004-09-09 10:57:31 +00:00
2016-11-07 13:23:37 +00:00
Provides : python-devel = %{version} -%{release}
Provides : python-devel%{?_isa} = %{version} -%{release}
2004-09-09 10:57:31 +00:00
%description devel
2017-05-10 13:26:35 +00:00
This package contains libraries and header files used to build applications
with and native libraries for Python 2
2004-09-09 10:57:31 +00:00
%package tools
2017-05-10 13:26:35 +00:00
Summary : A collection of development tools included with Python 2
2004-09-09 10:57:31 +00:00
Group : Development/Tools
2018-09-06 11:27:15 +00:00
%?deprecated
2004-09-09 11:06:39 +00:00
Requires : %{name} = %{version} -%{release}
2016-11-07 13:23:37 +00:00
Requires : %{python} -tkinter = %{version} -%{release}
Provides : python-tools = %{version} -%{release}
Provides : python-tools%{?_isa} = %{version} -%{release}
2004-09-09 10:57:31 +00:00
%description tools
2017-05-10 13:26:35 +00:00
This package includes several tools to help with the development of Python 2
2013-11-12 12:53:47 +00:00
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
2016-11-07 13:23:37 +00:00
%package tkinter
2017-05-10 13:26:35 +00:00
Summary : A graphical user interface for the Python 2 scripting language
2004-09-09 10:57:31 +00:00
Group : Development/Languages
2018-09-06 11:27:15 +00:00
%?deprecated
2004-09-09 11:06:39 +00:00
Requires : %{name} = %{version} -%{release}
2004-09-09 10:57:31 +00:00
2016-11-07 13:23:37 +00:00
Provides : tkinter = %{version} -%{release}
Provides : tkinter%{?_isa} = %{version} -%{release}
Provides : tkinter2 = %{version} -%{release}
Provides : tkinter2%{?_isa} = %{version} -%{release}
Provides : python-tkinter = %{version} -%{release}
Provides : python-tkinter%{?_isa} = %{version} -%{release}
%description 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
2017-05-10 13:26:35 +00:00
the Python 2 scripting language.
2004-09-09 10:57:31 +00:00
2017-05-10 13:26:35 +00:00
You should install the python2tkinter package if you'd like to use a graphical
user interface for Python 2 programming.
2004-09-09 10:57:31 +00:00
2007-12-07 22:50:04 +00:00
%package test
2017-05-10 13:26:35 +00:00
Summary : The test modules from the main python2 package
2007-12-07 22:50:04 +00:00
Group : Development/Languages
2018-09-06 11:27:15 +00:00
%?deprecated
2007-12-07 22:50:04 +00:00
Requires : %{name} = %{version} -%{release}
2016-11-07 13:23:37 +00:00
Provides : python-test = %{version} -%{release}
Provides : python-test%{?_isa} = %{version} -%{release}
2007-12-07 22:50:04 +00:00
%description test
2017-05-10 13:26:35 +00:00
The test modules from the main python2 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.
2017-05-10 13:26:35 +00:00
You might want to install the python2-test package if you're developing python 2
2018-02-15 16:01:53 +00:00
code that uses more than just unittest and/or test.support.
2007-12-07 22:50:04 +00:00
2017-08-31 09:11:41 +00:00
%if %{with debug_build}
2010-05-20 19:16:46 +00:00
%package debug
2017-05-10 13:26:35 +00:00
Summary : Debug version of the Python 2 runtime
2010-05-20 19:16:46 +00:00
Group : Applications/System
2018-09-06 11:27:15 +00:00
%?deprecated
2010-05-20 19:16:46 +00:00
# The debug build is an all-in-one package version of the regular build, and
# shares the same .py/.pyc files and directories as the regular build. Hence
# we depend on all of the subpackages of the regular build:
Requires : %{name} %{?_isa} = %{version} -%{release}
Requires : %{name} -libs%{?_isa} = %{version} -%{release}
Requires : %{name} -devel%{?_isa} = %{version} -%{release}
Requires : %{name} -test%{?_isa} = %{version} -%{release}
2016-11-07 13:23:37 +00:00
Requires : %{python} -tkinter%{?_isa} = %{version} -%{release}
2010-05-20 19:16:46 +00:00
Requires : %{name} -tools%{?_isa} = %{version} -%{release}
2016-11-07 13:23:37 +00:00
Provides : python-debug = %{version} -%{release}
Provides : python-debug%{?_isa} = %{version} -%{release}
2010-05-20 19:16:46 +00:00
%description debug
2017-05-10 13:26:35 +00:00
python2-debug provides a version of the Python 2 runtime with numerous debugging
2010-05-20 19:16:46 +00:00
features enabled, aimed at advanced Python users, such as developers of Python
extension modules.
2017-05-10 13:26:35 +00:00
This version uses more memory and will be slower than the regular Python 2 build,
2010-05-20 19:16:46 +00:00
but is useful for tracking down reference-counting issues, and other bugs.
The bytecodes are unchanged, so that .pyc files are compatible between the two
2017-05-10 13:26:35 +00:00
version of Python 2, but the debugging features mean that C/C++ extension modules
2010-05-20 19:16:46 +00:00
are ABI-incompatible with those built for the standard runtime.
2017-05-10 13:26:35 +00:00
It shares installation directories with the standard Python 2 runtime, so that
2010-05-20 19:16:46 +00:00
.py and .pyc files can be shared. All compiled extension modules gain a " _ d "
2017-05-10 13:26:35 +00:00
suffix (" f o o _ d . s o " rather than " f o o . s o " ) so that each Python 2 implementation can
2010-05-20 19:16:46 +00:00
load its own extensions.
2017-08-31 09:11:41 +00:00
%endif # with debug_build
2010-05-20 19:16:46 +00:00
2011-07-08 16:36:16 +00:00
# ======================================================
# The prep phase of the build:
# ======================================================
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-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
2016-10-12 12:55:04 +00:00
## Disabling hashlib patch for now as it needs to be reimplemented
## for OpenSSL 1.1.0.
2011-09-14 05:26:38 +00:00
# Don't build upstream Python's implementation of these crypto algorithms;
# instead rely on _hashlib and OpenSSL.
#
# For example, in our builds md5.py uses always uses hashlib.md5 (rather than
# falling back to _md5 when hashlib.md5 is not available); hashlib.md5 is
# implemented within _hashlib via OpenSSL (and thus respects FIPS mode)
2016-10-12 12:55:04 +00:00
#for f in md5module.c md5.c shamodule.c sha256module.c sha512module.c; do
# rm Modules/$f
#done
2011-09-14 05:26:38 +00:00
2010-01-25 21:41:09 +00:00
#
# Apply patches:
#
2004-09-09 11:01:34 +00:00
%patch0 -p1 -b .rhconfig
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
2010-03-24 16:04:07 +00:00
%if "%{_lib}" == "lib64"
2006-12-05 21:34:32 +00:00
%patch102 -p1 -b .lib64
2010-07-21 20:48:17 +00:00
%patch103 -p1 -b .lib64-sysconfig
2011-09-10 11:55:07 +00:00
%patch104 -p1
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
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
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
2010-01-18 18:51:20 +00:00
%patch111 -p1 -b .no-static-lib
2010-05-20 19:16:46 +00:00
%patch112 -p1 -b .debug-build
2010-05-25 16:13:29 +00:00
%patch113 -p1 -b .more-configuration-flags
2010-05-26 10:28:54 +00:00
%patch114 -p1 -b .statvfs-f-flag-constants
2010-05-27 15:37:54 +00:00
2013-02-19 20:19:54 +00:00
%patch121 -p1
2010-12-29 03:46:51 +00:00
%patch128 -p1
2011-09-12 21:38:37 +00:00
2011-08-23 22:28:07 +00:00
%patch130 -p1
2010-06-04 18:05:41 +00:00
2012-06-22 17:30:17 +00:00
%ifarch ppc %{power64}
2011-09-01 20:46:48 +00:00
%patch131 -p1
%endif
2011-09-10 11:55:07 +00:00
%patch132 -p1
%patch133 -p1
2014-01-29 13:27:21 +00:00
%patch136 -p1 -b .stdin-test
2011-09-10 11:55:07 +00:00
%patch137 -p1
%patch138 -p1
%ifarch %{arm}
%patch139 -p1
%endif
%ifarch %{sparc}
%patch140 -p1
%endif
2014-01-29 13:33:01 +00:00
%patch142 -p1 -b .tty-fail
2011-09-12 21:38:37 +00:00
%patch143 -p1 -b .tsc-on-ppc
2011-09-13 18:37:20 +00:00
%if !%{with_gdbm}
%patch144 -p1
%endif
2016-10-12 12:55:04 +00:00
#patch146 -p1
2011-09-16 22:41:28 +00:00
%patch147 -p1
2012-04-13 14:36:12 +00:00
%patch153 -p0
2012-04-20 19:02:19 +00:00
%patch155 -p1
2012-04-30 17:04:36 +00:00
%patch156 -p1
2013-02-22 18:03:09 +00:00
%patch157 -p1
2013-02-19 22:05:23 +00:00
%patch165 -p1
mv Modules/cryptmodule.c Modules/_cryptmodule.c
2013-02-20 17:33:39 +00:00
%patch167 -p1
2013-02-20 18:57:29 +00:00
%patch168 -p1
2013-02-20 20:25:17 +00:00
%patch169 -p1
2013-02-20 21:45:56 +00:00
%patch170 -p1
2013-03-06 20:03:56 +00:00
%patch174 -p1 -b .fix-for-usr-move
2013-05-16 13:15:46 +00:00
%patch180 -p1
%patch181 -p1
2013-08-21 18:05:58 +00:00
%patch185 -p1
2013-08-26 07:37:19 +00:00
%patch187 -p1
2018-08-21 13:58:19 +00:00
%if %{with rpmwheels}
2013-10-08 12:04:54 +00:00
%patch189 -p1
2018-08-21 13:58:19 +00:00
rm Lib/ensurepip/_bundled/*.whl
%endif
2018-08-21 13:47:27 +00:00
%patch190 -p1
2014-01-30 11:35:44 +00:00
%patch191 -p1
2014-02-19 13:29:31 +00:00
%patch193 -p1
2018-01-17 12:58:28 +00:00
%patch289 -p1
2018-09-20 18:54:32 +00:00
%patch309 -p1
2018-09-24 11:08:08 +00:00
%patch310 -p1
2017-10-18 13:33:53 +00:00
2013-02-19 22:05:23 +00:00
2017-05-18 12:19:19 +00:00
%if 0%{?_module_build}
2017-04-21 18:48:53 +00:00
%patch4000 -p1
2017-04-25 12:51:26 +00:00
%endif
2011-09-10 11:55:07 +00:00
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
2010-07-21 20:48:17 +00:00
%if ! 0%{regenerate_autotooling_patch}
# Normally we apply the patch to "configure"
# We don't apply the patch if we're working towards regenerating it
2012-05-04 19:42:02 +00:00
%patch5000 -p0 -b .autotool-intermediates
2010-07-21 20:48:17 +00:00
%endif
2011-07-08 16:36:16 +00:00
# ======================================================
# Configuring and building the code:
# ======================================================
2004-09-09 10:57:31 +00:00
%build
2010-01-26 23:45:54 +00:00
topdir=$(pwd)
2010-06-04 18:05:41 +00:00
export CFLAGS=" $RPM_OPT_FLAGS - D _ G N U _ S O U R C E - f P I C - f w r a p v "
export CXXFLAGS=" $RPM_OPT_FLAGS - D _ G N U _ S O U R C E - f P I C - f w r a p v "
2010-01-26 23:45:54 +00:00
export CPPFLAGS=" $ ( p k g - c o n f i g - - c f l a g s - o n l y - I l i b f f i ) "
2010-06-04 18:05:41 +00:00
export OPT=" $RPM_OPT_FLAGS - D _ G N U _ S O U R C E - f P I C - f w r a p v "
2004-09-09 11:02:27 +00:00
export LINKCC=" g c c "
2011-11-24 21:59:22 +00:00
export LDFLAGS=" $RPM_LD_FLAGS "
2004-09-09 11:02:53 +00:00
if pkg-config openssl ; then
2010-01-26 23:45:54 +00:00
export CFLAGS=" $ C F L A G S $ ( p k g - c o n f i g - - c f l a g s o p e n s s l ) "
export LDFLAGS=" $ L D F L A G S $ ( p k g - c o n f i g - - l i b s - o n l y - L o p e n s s l ) "
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
2010-07-21 20:48:17 +00:00
%if 0%{regenerate_autotooling_patch}
# If enabled, this code regenerates the patch to "configure", using a
# local copy of autoconf-2.65, then exits the build
#
# The following assumes that the copy is installed to ~/autoconf-2.65/bin
# as per these instructions:
# http://bugs.python.org/issue7997
for f in pyconfig.h.in configure ; do
cp $f $f.autotool-intermediates ;
done
2010-02-09 18:53:26 +00:00
2010-07-21 20:48:17 +00:00
# Rerun the autotools:
PATH=~/autoconf-2.65/bin:$PATH autoconf
2010-02-09 18:53:26 +00:00
autoheader
2010-07-21 20:48:17 +00:00
# Regenerate the patch:
2012-05-04 19:42:02 +00:00
gendiff . .autotool-intermediates > %{PATCH5000}
2010-07-21 20:48:17 +00:00
# Exit the build
exit 1
%endif
2010-05-20 19:16:46 +00:00
# Define a function, for how to perform a "build" of python for a given
# configuration:
BuildPython() {
2013-11-12 12:53:47 +00:00
ConfName=$1
2010-05-20 19:16:46 +00:00
BinaryName=$2
SymlinkName=$3
ExtraConfigArgs=$4
PathFixWithThisBinary=$5
ConfDir=build/$ConfName
echo STARTING: BUILD OF PYTHON FOR CONFIGURATION: $ConfName - %{_bindir} /$BinaryName
mkdir -p $ConfDir
pushd $ConfDir
# Use the freshly created "configure" script, but in the directory two above:
%global _configure $topdir/configure
2010-01-18 18:51:20 +00:00
%configure \
--enable-ipv6 \
--enable-shared \
2012-05-04 19:52:41 +00:00
--enable-unicode=%{unicode} \
--with-dbmliborder=gdbm:ndbm:bdb \
--with-system-expat \
2010-01-18 18:51:20 +00:00
--with-system-ffi \
2010-02-09 18:53:26 +00:00
%if 0%{?with_systemtap}
--with-dtrace \
--with-tapset-install-dir=%{tapsetdir} \
%endif
2012-05-04 19:52:41 +00:00
%if 0%{?with_valgrind}
--with-valgrind \
%endif
2010-05-20 19:16:46 +00:00
$ExtraConfigArgs \
%{nil}
2004-09-09 11:01:34 +00:00
2011-01-21 19:59:02 +00:00
make EXTRA_CFLAGS=" $ C F L A G S " %{?_smp_mflags}
2010-05-20 19:16:46 +00:00
# We need to fix shebang lines across the full source tree.
#
# We do this using the pathfix.py script, which requires one of the
# freshly-built Python binaries.
#
# We use the optimized python binary, and make the shebangs point at that same
# optimized python binary:
if $PathFixWithThisBinary
then
2018-04-26 08:35:56 +00:00
# pathfix.py currently only works with files matching ^[a-zA-Z0-9_]+\.py$
# when crawling through directories, so we handle the special cases manually
2010-07-22 20:04:43 +00:00
LD_LIBRARY_PATH=" $ t o p d i r / $ C o n f D i r " ./$BinaryName \
2010-05-20 19:16:46 +00:00
$topdir/Tools/scripts/pathfix.py \
2018-04-26 08:35:56 +00:00
-i " %{_bindir} / p y t h o n %{pybasever} " \
$topdir \
$topdir/Tools/pynche/pynche \
$topdir/Demo/pdist/{rcvs,rcsbump,rrcs} \
$topdir/Demo/scripts/find-uname.py \
$topdir/Tools/scripts/reindent-rst.py
2010-05-20 19:16:46 +00:00
fi
2006-12-05 21:34:32 +00:00
# Rebuild with new python
# We need a link to a versioned python in the build directory
2010-05-20 19:16:46 +00:00
ln -s $BinaryName $SymlinkName
2011-01-21 19:59:02 +00:00
LD_LIBRARY_PATH=" $ t o p d i r / $ C o n f D i r " PATH=$PATH:$topdir/$ConfDir make -s EXTRA_CFLAGS=" $ C F L A G S " %{?_smp_mflags}
2010-05-20 19:16:46 +00:00
popd
echo FINISHED: BUILD OF PYTHON FOR CONFIGURATION: $ConfDir
}
2006-12-05 21:34:32 +00:00
2010-05-20 19:16:46 +00:00
# Use "BuildPython" to support building with different configurations:
2006-12-05 21:34:32 +00:00
2017-08-31 09:11:41 +00:00
%if %{with debug_build}
2010-05-20 19:16:46 +00:00
BuildPython debug \
python-debug \
python%{pybasever} -debug \
2012-06-22 17:30:17 +00:00
%ifarch %{ix86} x86_64 ppc %{power64}
2010-05-25 16:13:29 +00:00
" - - w i t h - p y d e b u g - - w i t h - t s c - - w i t h - c o u n t - a l l o c s - - w i t h - c a l l - p r o f i l e " \
2010-06-05 08:11:11 +00:00
%else
" - - w i t h - p y d e b u g - - w i t h - c o u n t - a l l o c s - - w i t h - c a l l - p r o f i l e " \
%endif
2010-05-20 19:16:46 +00:00
false
2017-08-31 09:11:41 +00:00
%endif # with debug_build
2010-05-20 19:16:46 +00:00
BuildPython optimized \
python \
python%{pybasever} \
2017-05-10 14:41:09 +00:00
%ifarch %{ix86} x86_64
" - - e n a b l e - o p t i m i z a t i o n s " \
%else
2010-05-20 19:16:46 +00:00
" " \
2017-05-10 14:41:09 +00:00
%endif
2010-05-20 19:16:46 +00:00
true
2004-09-09 11:01:34 +00:00
2011-07-08 16:36:16 +00:00
# ======================================================
# Installing the built code:
# ======================================================
2004-09-09 10:57:31 +00:00
%install
2010-05-20 19:16:46 +00:00
topdir=$(pwd)
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-05-20 19:16:46 +00:00
InstallPython() {
2013-11-12 12:53:47 +00:00
ConfName=$1
2010-05-20 19:16:46 +00:00
BinaryName=$2
PyInstSoName=$3
ConfDir=build/$ConfName
echo STARTING: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName - %{_bindir} /$BinaryName
mkdir -p $ConfDir
pushd $ConfDir
2010-01-26 23:45:54 +00:00
make install DESTDIR=%{buildroot}
2010-05-20 19:16:46 +00:00
2010-07-21 20:48:17 +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
#
# 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.:
# /usr/lib/debug/usr/lib/libpython2.6.so.1.0.debug-gdb.py
2010-05-20 19:16:46 +00:00
# (note that the debug path is /usr/lib/debug for both 32/64 bit)
2010-07-21 20:48:17 +00:00
#
# See https://fedoraproject.org/wiki/Features/EasierPythonDebugging for more
# information
2013-11-12 12:53:47 +00:00
#
2010-05-20 19:16:46 +00:00
# Initially I tried:
# /usr/lib/libpython2.6.so.1.0-gdb.py
# but doing so generated noise when ldconfig was rerun (rhbz:562980)
#
%if 0%{?with_gdb_hooks}
DirHoldingGdbPy=%{_prefix} /lib/debug/%{_libdir}
2018-05-15 12:28:59 +00:00
PathOfGdbPy=$DirHoldingGdbPy/$PyInstSoName-%{version} -%{release} .%{_arch}.debug-gdb.py
2010-05-20 19:16:46 +00:00
mkdir -p %{buildroot} $DirHoldingGdbPy
2010-07-21 20:48:17 +00:00
cp $topdir/Tools/gdb/libpython.py %{buildroot} $PathOfGdbPy
2010-05-20 19:16:46 +00:00
# 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=" $ t o p d i r / $ C o n f D i r " $topdir/$ConfDir/$BinaryName \
-c " i m p o r t c o m p i l e a l l ; i m p o r t s y s ; c o m p i l e a l l . c o m p i l e _ d i r ( ' %{buildroot} $ D i r H o l d i n g G d b P y ' , d d i r = ' $ D i r H o l d i n g G d b P y ' ) "
LD_LIBRARY_PATH=" $ t o p d i r / $ C o n f D i r " $topdir/$ConfDir/$BinaryName -O \
-c " i m p o r t c o m p i l e a l l ; i m p o r t s y s ; c o m p i l e a l l . c o m p i l e _ d i r ( ' %{buildroot} $ D i r H o l d i n g G d b P y ' , d d i r = ' $ D i r H o l d i n g G d b P y ' ) "
%endif # with_gdb_hooks
popd
echo FINISHED: INSTALL OF PYTHON FOR CONFIGURATION: $ConfName
}
# Use "InstallPython" to support building with different configurations:
# Install the "debug" build first, so that we can move some files aside
2017-08-31 09:11:41 +00:00
%if %{with debug_build}
2010-05-20 19:16:46 +00:00
InstallPython debug \
python%{pybasever} -debug \
%{py_INSTSONAME_debug}
2017-08-31 09:11:41 +00:00
%endif # with debug_build
2010-05-20 19:16:46 +00:00
# Now the optimized build:
InstallPython optimized \
python%{pybasever} \
%{py_INSTSONAME_optimized}
2013-11-12 12:53:47 +00:00
# Fix the interpreter path in binaries installed by distutils
2004-09-09 11:02:27 +00:00
# (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
2015-06-17 09:52:33 +00:00
sed 's,#!.*/python$,#!/usr/bin/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 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
#pynche
2013-05-14 19:49:20 +00:00
install -p -m755 %{SOURCE7} ${RPM_BUILD_ROOT} %{_bindir} /pynche
2005-09-20 12:53:31 +00:00
chmod 755 ${RPM_BUILD_ROOT} %{_bindir} /pynche
2004-09-09 11:02:27 +00:00
rm -f Tools/pynche/*.pyw
2013-05-14 19:49:20 +00:00
cp -rp 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/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 " . c v s i g n o r e " |xargs rm -f
2010-03-16 19:33:57 +00:00
find %{buildroot} / -name " * . b a t " |xargs rm -f
2004-09-09 11:01:34 +00:00
find . -name " * ~ " |xargs rm -f
find . -name " . c v s i g n o r e " |xargs rm -f
#zero length
2010-01-26 23:45:54 +00:00
rm -f %{buildroot} %{pylibdir} /LICENSE.txt
2004-09-09 11:01:34 +00:00
2016-12-05 14:27:30 +00:00
# Provide binaries in the form of bin2 and bin2.7, thus implementing
# (and expanding) the recommendations of PEP 394.
mv %{buildroot} %{_bindir} /idle %{buildroot} %{_bindir} /idle%{pybasever}
ln -s ./idle%{pybasever} %{buildroot} %{_bindir} /idle2
ln -s ./idle2 %{buildroot} %{_bindir} /idle
mv %{buildroot} %{_bindir} /pynche %{buildroot} %{_bindir} /pynche%{pybasever}
ln -s ./pynche%{pybasever} %{buildroot} %{_bindir} /pynche2
ln -s ./pynche2 %{buildroot} %{_bindir} /pynche
mv %{buildroot} %{_bindir} /pydoc %{buildroot} %{_bindir} /pydoc%{pybasever}
ln -s ./pydoc%{pybasever} %{buildroot} %{_bindir} /pydoc2
ln -s ./pydoc2 %{buildroot} %{_bindir} /pydoc
mv %{buildroot} %{_bindir} /pygettext.py %{buildroot} %{_bindir} /pygettext%{pybasever} .py
ln -s ./pygettext%{pybasever} .py %{buildroot} %{_bindir} /pygettext2.py
ln -s ./pygettext2.py %{buildroot} %{_bindir} /pygettext.py
mv %{buildroot} %{_bindir} /msgfmt.py %{buildroot} %{_bindir} /msgfmt%{pybasever} .py
ln -s ./msgfmt%{pybasever} .py %{buildroot} %{_bindir} /msgfmt2.py
ln -s ./msgfmt2.py %{buildroot} %{_bindir} /msgfmt.py
mv %{buildroot} %{_bindir} /smtpd.py %{buildroot} %{_bindir} /smtpd%{pybasever} .py
ln -s ./smtpd%{pybasever} .py %{buildroot} %{_bindir} /smtpd2.py
ln -s ./smtpd2.py %{buildroot} %{_bindir} /smtpd.py
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"
2015-06-17 09:52:33 +00:00
install -d %{buildroot} /%{_prefix} /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
2016-10-09 10:12:33 +00:00
%ifarch %{power64} s390x x86_64 ia64 alpha sparc64 aarch64 %{mips64} riscv64
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-06-08 15:25:02 +00:00
2017-08-31 09:11:41 +00:00
%if %{with debug_build}
2010-06-08 15:25:02 +00:00
%global PyIncludeDirs python%{pybasever} python%{pybasever} -debug
%else
%global PyIncludeDirs python%{pybasever}
%endif
for PyIncludeDir in %{PyIncludeDirs} ; do
2010-05-20 19:16:46 +00:00
mv %{buildroot} %{_includedir} /$PyIncludeDir/pyconfig.h \
%{buildroot} %{_includedir} /$PyIncludeDir/%{_pyconfig_h}
cat > %{buildroot} %{_includedir} /$PyIncludeDir/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-05-20 19:16:46 +00:00
done
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-07-22 17:38:16 +00:00
# Similar for sysconfig: sysconfig.get_config_h_filename tries to locate
# pyconfig.h so it can be parsed, and needs to do this at runtime in site.py
# when python starts up.
#
# Split this out so it goes directly to the pyconfig-32.h/pyconfig-64.h
# variants:
sed -i -e " s / ' p y c o n f i g . h ' / ' % { _ p y c o n f i g _ h } ' / " \
%{buildroot} %{pylibdir} /distutils/sysconfig.py \
%{buildroot} %{pylibdir} /sysconfig.py
2006-08-17 21:43:38 +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 " _ c u r s e s . s o l i n k e d a g a i n s t l i b n c u r s e s . s o " ; exit 1)
2010-05-20 19:16:46 +00:00
# Ensure that the debug modules are linked against the debug libpython, and
# likewise for the optimized modules and libpython:
for Module in %{buildroot} /%{dynload_dir} /*.so ; do
case $Module in
*_d.so)
ldd $Module | grep %{py_INSTSONAME_optimized} &&
(echo Debug module $Module linked against optimized %{py_INSTSONAME_optimized} ; exit 1)
2013-11-12 12:53:47 +00:00
2010-05-20 19:16:46 +00:00
;;
*)
ldd $Module | grep %{py_INSTSONAME_debug} &&
(echo Optimized module $Module linked against debug %{py_INSTSONAME_optimized} ; exit 1)
;;
esac
done
2010-02-06 00:37:39 +00:00
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}
2016-08-01 18:23:04 +00:00
%ifarch %{power64} s390x x86_64 ia64 alpha sparc64 aarch64 %{mips64}
2010-05-20 19:16:46 +00:00
%global libpython_stp_optimized libpython%{pybasever} -64.stp
%global libpython_stp_debug libpython%{pybasever} -debug-64.stp
2010-02-09 22:46:34 +00:00
%else
2010-05-20 19:16:46 +00:00
%global libpython_stp_optimized libpython%{pybasever} -32.stp
%global libpython_stp_debug libpython%{pybasever} -debug-32.stp
2010-02-09 22:46:34 +00:00
%endif
sed \
2010-05-20 19:16:46 +00:00
-e " s | L I B R A R Y _ P A T H | %{_libdir} / %{py_INSTSONAME_optimized} | " \
%{SOURCE3} \
> %{buildroot} %{tapsetdir} /%{libpython_stp_optimized}
2017-08-31 09:11:41 +00:00
%if %{with debug_build}
2010-05-20 19:16:46 +00:00
sed \
-e " s | L I B R A R Y _ P A T H | %{_libdir} / %{py_INSTSONAME_debug} | " \
2010-02-09 22:46:34 +00:00
%{SOURCE3} \
2010-05-20 19:16:46 +00:00
> %{buildroot} %{tapsetdir} /%{libpython_stp_debug}
2017-08-31 09:11:41 +00:00
%endif # with debug_build
2010-02-09 22:46:34 +00:00
%endif # with_systemtap
2018-04-28 15:12:13 +00:00
# Do bytecompilation with the newly installed interpreter.
# compile *.pyo
find %{buildroot} -type f -a -name " * . p y " -print0 | \
LD_LIBRARY_PATH=" %{buildroot} %{dynload_dir} / : %{buildroot} %{_libdir} " \
PYTHONPATH=" %{buildroot} %{_libdir} / p y t h o n %{pybasever} %{buildroot} %{_libdir} / p y t h o n %{pybasever} / s i t e - p a c k a g e s " \
xargs -0 %{buildroot} %{_bindir} /python%{pybasever} -O -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("%{buildroot}")[2]) for f in sys.argv[1:]]' || :
# compile *.pyc
find %{buildroot} -type f -a -name " * . p y " -print0 | \
LD_LIBRARY_PATH=" %{buildroot} %{dynload_dir} / : %{buildroot} %{_libdir} " \
PYTHONPATH=" %{buildroot} %{_libdir} / p y t h o n %{pybasever} %{buildroot} %{_libdir} / p y t h o n %{pybasever} / s i t e - p a c k a g e s " \
xargs -0 %{buildroot} %{_bindir} /python%{pybasever} -c 'import py_compile, sys; [py_compile.compile(f, dfile=f.partition("%{buildroot}")[2]) for f in sys.argv[1:]]' || :
2014-01-15 12:27:43 +00:00
# Make library-files user writable
/usr/bin/chmod 755 %{buildroot} %{dynload_dir} /*.so
/usr/bin/chmod 755 %{buildroot} %{_libdir} /libpython%{pybasever} .so.1.0
2018-05-15 12:28:59 +00:00
%if %{with debug_build}
2014-01-15 12:27:43 +00:00
/usr/bin/chmod 755 %{buildroot} %{_libdir} /libpython%{pybasever} _d.so.1.0
2018-05-15 12:28:59 +00:00
%endif
2014-01-15 12:27:43 +00:00
2011-07-08 16:36:16 +00:00
# ======================================================
# Running the upstream test suite
# ======================================================
2010-08-18 17:35:32 +00:00
%check
topdir=$(pwd)
CheckPython() {
ConfName=$1
BinaryName=$2
ConfDir=$(pwd)/build/$ConfName
echo STARTING: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
# Note that we're running the tests using the version of the code in the
# builddir, not in the buildroot.
pushd $ConfDir
2011-09-01 20:46:48 +00:00
EXTRATESTOPTS=" - - v e r b o s e "
2010-08-18 17:35:32 +00:00
2016-08-01 18:23:04 +00:00
%ifarch s390 s390x %{power64} %{arm} aarch64 %{mips}
2015-01-12 12:46:45 +00:00
EXTRATESTOPTS=" $ E X T R A T E S T O P T S - x t e s t _ g d b "
%endif
2016-08-01 18:23:04 +00:00
%ifarch %{mips64}
EXTRATESTOPTS=" $ E X T R A T E S T O P T S - x t e s t _ c t y p e s "
%endif
2015-01-12 12:46:45 +00:00
2010-08-18 17:35:32 +00:00
%if 0%{?with_huntrleaks}
# Try to detect reference leaks on debug builds. By default this means
# running every test 10 times (6 to stabilize, then 4 to watch):
if [ " $ C o n f N a m e " = " d e b u g " ] ; then
EXTRATESTOPTS=" $ E X T R A T E S T O P T S - - h u n t r l e a k s : "
fi
%endif
2011-09-10 12:24:34 +00:00
# Run the upstream test suite, setting "WITHIN_PYTHON_RPM_BUILD" so that the
2011-09-10 11:55:07 +00:00
# our non-standard decorators take effect on the relevant tests:
# @unittest._skipInRpmBuild(reason)
# @unittest._expectedFailureInRpmBuild
WITHIN_PYTHON_RPM_BUILD= EXTRATESTOPTS=" $ E X T R A T E S T O P T S " make test
2010-08-18 17:35:32 +00:00
popd
echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
}
2017-08-31 09:11:41 +00:00
%if %{with tests}
2011-09-14 03:55:20 +00:00
2018-05-01 11:03:41 +00:00
# no locale coercion in python2
# test_ssl:test_load_dh_params shutil.copies into unicode filename
export LC_ALL=C.utf-8
2010-08-18 17:35:32 +00:00
# Check each of the configurations:
2017-08-31 09:11:41 +00:00
%if %{with debug_build}
2010-08-18 17:35:32 +00:00
CheckPython \
debug \
python%{pybasever} -debug
2017-08-31 09:11:41 +00:00
%endif # with debug_build
2010-08-18 17:35:32 +00:00
CheckPython \
optimized \
python%{pybasever}
2017-08-31 09:11:41 +00:00
%endif # with tests
2011-09-14 03:55:20 +00:00
2011-07-08 16:36:16 +00:00
# ======================================================
# Cleaning up
# ======================================================
2010-01-25 21:41:09 +00:00
%files
2014-07-31 13:48:10 +00:00
%{!?_licensedir:%global license %%doc }
%license LICENSE
%doc README
2006-06-12 20:52:12 +00:00
%{_bindir} /pydoc*
2009-11-12 19:36:14 +00:00
%{_bindir} /%{python}
%{_bindir} /python%{pybasever}
2018-06-14 12:15:03 +00:00
%{_mandir} /*/python2*
%files -n python-unversioned-command
%{_bindir} /python
%{_mandir} /*/python.1.*
2004-09-09 11:01:34 +00:00
2010-09-09 18:44:48 +00:00
%files libs
2014-07-31 13:48:10 +00:00
%{!?_licensedir:%global license %%doc }
%license LICENSE
%doc README
2010-01-25 21:41:09 +00:00
%dir %{pylibdir}
%dir %{dynload_dir}
2016-10-12 12:55:04 +00:00
%{dynload_dir} /_md5module.so
%{dynload_dir} /_sha256module.so
%{dynload_dir} /_sha512module.so
%{dynload_dir} /_shamodule.so
2010-01-25 21:41:09 +00:00
%{dynload_dir} /Python-%{version} -py%{pybasever} .egg-info
%{dynload_dir} /_bisectmodule.so
%{dynload_dir} /_bsddb.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} /_functoolsmodule.so
%{dynload_dir} /_hashlib.so
%{dynload_dir} /_heapq.so
%{dynload_dir} /_hotshot.so
2010-07-21 20:48:17 +00:00
%{dynload_dir} /_io.so
2010-01-25 21:41:09 +00:00
%{dynload_dir} /_json.so
%{dynload_dir} /_localemodule.so
%{dynload_dir} /_lsprof.so
%{dynload_dir} /_multibytecodecmodule.so
%{dynload_dir} /_multiprocessing.so
%{dynload_dir} /_randommodule.so
%{dynload_dir} /_socketmodule.so
%{dynload_dir} /_sqlite3.so
%{dynload_dir} /_ssl.so
%{dynload_dir} /_struct.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
2013-02-20 01:52:54 +00:00
%{dynload_dir} /_cryptmodule.so
2010-01-25 21:41:09 +00:00
%{dynload_dir} /datetime.so
%{dynload_dir} /dbm.so
%{dynload_dir} /dlmodule.so
%{dynload_dir} /fcntlmodule.so
%{dynload_dir} /future_builtins.so
2011-09-13 18:37:20 +00:00
%if %{with_gdbm}
2010-01-25 21:41:09 +00:00
%{dynload_dir} /gdbmmodule.so
2011-09-13 18:37:20 +00:00
%endif
2010-01-25 21:41:09 +00:00
%{dynload_dir} /grpmodule.so
%{dynload_dir} /imageop.so
%{dynload_dir} /itertoolsmodule.so
%{dynload_dir} /linuxaudiodev.so
2010-07-21 20:48:17 +00:00
%{dynload_dir} /math.so
2010-01-25 21:41:09 +00:00
%{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
2010-05-04 19:45:07 +00:00
%{pylibdir} /wsgiref.egg-info
2010-01-25 21:41:09 +00:00
%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
2010-04-12 15:54:48 +00:00
%exclude %{pylibdir} /distutils/command/wininst-*.exe
2010-01-25 21:41:09 +00:00
%dir %{pylibdir} /email
%{pylibdir} /email/*.py*
%{pylibdir} /email/mime
%{pylibdir} /encodings
%{pylibdir} /hotshot
2015-09-23 06:53:54 +00:00
%{pylibdir} /idlelib
2010-07-21 20:48:17 +00:00
%{pylibdir} /importlib
2010-01-25 21:41:09 +00:00
%dir %{pylibdir} /json
%{pylibdir} /json/*.py*
2015-09-23 06:53:54 +00:00
%{pylibdir} /lib2to3
%exclude %{pylibdir} /lib2to3/tests
2010-01-25 21:41:09 +00:00
%{pylibdir} /logging
%{pylibdir} /multiprocessing
%{pylibdir} /plat-linux2
2010-07-21 20:48:17 +00:00
%{pylibdir} /pydoc_data
2010-01-25 21:41:09 +00:00
%dir %{pylibdir} /sqlite3
%{pylibdir} /sqlite3/*.py*
2018-02-15 16:01:53 +00:00
# Some bits of test are used for actual testing of stuff, not just python itself:
# See also https://bugzilla.redhat.com/show_bug.cgi?id=1528899
2010-01-25 21:41:09 +00:00
%dir %{pylibdir} /test
%{pylibdir} /test/__init__.py*
2018-02-15 16:01:53 +00:00
%{pylibdir} /test/support/
%{pylibdir} /test/script_helper.py*
%{pylibdir} /test/test_support.py*
2010-07-21 20:48:17 +00:00
%{pylibdir} /unittest
2010-01-25 21:41:09 +00:00
%{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
2010-09-09 18:44:48 +00:00
# distutils/sysconfig.py:_init_posix(), so we include them in the libs
2009-10-30 03:14:04 +00:00
# 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
2010-05-20 19:16:46 +00:00
%{_libdir} /%{py_INSTSONAME_optimized}
2010-02-09 22:46:34 +00:00
%if 0%{?with_systemtap}
2015-02-17 19:29:42 +00:00
%dir %(dirname %{tapsetdir} )
%dir %{tapsetdir}
2010-05-20 19:16:46 +00:00
%{tapsetdir} /%{libpython_stp_optimized}
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
2014-12-11 09:37:25 +00:00
%dir %{pylibdir} /ensurepip/
%{pylibdir} /ensurepip/*.py*
2018-08-21 13:58:19 +00:00
%if %{with rpmwheels}
2014-12-11 09:37:25 +00:00
%exclude %{pylibdir} /ensurepip/_bundled
2018-08-21 13:58:19 +00:00
%else
%dir %{pylibdir} /ensurepip/_bundled
%{pylibdir} /ensurepip/_bundled/*.whl
2014-12-11 09:37:25 +00:00
%endif
2004-09-09 10:57:31 +00:00
%files devel
2010-07-21 20:48:17 +00:00
%{_libdir} /pkgconfig/python-%{pybasever} .pc
%{_libdir} /pkgconfig/python.pc
2012-04-13 14:36:12 +00:00
%{_libdir} /pkgconfig/python2.pc
2010-01-25 21:41:09 +00:00
%{pylibdir} /config/*
%exclude %{pylibdir} /config/Makefile
2010-04-12 15:54:48 +00:00
%{pylibdir} /distutils/command/wininst-*.exe
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
2009-07-04 21:27:56 +00:00
%{_bindir} /python-config
2012-04-19 00:19:10 +00:00
%{_bindir} /python2-config
2009-11-12 19:36:14 +00:00
%{_bindir} /python%{pybasever} -config
2006-12-11 17:40:03 +00:00
%{_libdir} /libpython%{pybasever} .so
2015-06-25 16:59:04 +00:00
2004-09-09 11:01:34 +00:00
%files tools
2004-09-09 10:57:31 +00:00
%doc Tools/pynche/README.pynche
2010-01-25 21:41:09 +00:00
%{site_packages} /pynche
2005-09-20 13:21:16 +00:00
%{_bindir} /smtpd*.py*
2017-08-16 12:31:44 +00:00
# https://bugzilla.redhat.com/show_bug.cgi?id=1111275
%exclude %{_bindir} /2to3*
2004-11-04 22:42:22 +00:00
%{_bindir} /idle*
%{_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
2016-11-07 13:23:37 +00:00
%files tkinter
2010-01-25 21:41:09 +00:00
%{pylibdir} /lib-tk
2017-04-21 18:48:53 +00:00
%if ! 0%{?_module_build}
2010-01-25 21:41:09 +00:00
%{dynload_dir} /_tkinter.so
2017-04-21 18:48:53 +00:00
%endif
2004-09-09 10:57:31 +00:00
2007-12-07 22:50:04 +00:00
%files test
2010-01-25 21:41:09 +00:00
%{pylibdir} /bsddb/test
%{pylibdir} /ctypes/test
%{pylibdir} /distutils/tests
%{pylibdir} /email/test
%{pylibdir} /json/tests
2013-02-20 20:50:47 +00:00
%{pylibdir} /lib2to3/tests
2010-01-25 21:41:09 +00:00
%{pylibdir} /sqlite3/test
2010-02-11 20:53:12 +00:00
%{pylibdir} /test/*
2018-02-15 16:01:53 +00:00
# Some bits of test are used for actual testing of stuff, not just python itself:
# See also https://bugzilla.redhat.com/show_bug.cgi?id=1528899
2010-02-11 20:53:12 +00:00
%exclude %{pylibdir} /test/__init__.py*
2018-02-15 16:01:53 +00:00
%exclude %{pylibdir} /test/support/
%exclude %{pylibdir} /test/script_helper.py*
%exclude %{pylibdir} /test/test_support.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-05-20 19:16:46 +00:00
# We don't bother splitting the debug build out into further subpackages:
# if you need it, you're probably a developer.
# Hence the manifest is the combination of analogous files in the manifests of
# all of the other subpackages
2017-08-31 09:11:41 +00:00
%if %{with debug_build}
2010-05-20 19:16:46 +00:00
%files debug
# Analog of the core subpackage's files:
2016-11-07 13:23:37 +00:00
%{_bindir} /python-debug
2010-05-20 19:16:46 +00:00
%{_bindir} /%{python} -debug
%{_bindir} /python%{pybasever} -debug
2010-09-09 18:44:48 +00:00
# Analog of the -libs subpackage's files, with debug builds of the built-in
# "extension" modules:
2016-10-12 12:55:04 +00:00
%{dynload_dir} /_md5module_d.so
%{dynload_dir} /_sha256module_d.so
%{dynload_dir} /_sha512module_d.so
%{dynload_dir} /_shamodule_d.so
2010-05-20 19:16:46 +00:00
%{dynload_dir} /_bisectmodule_d.so
%{dynload_dir} /_bsddb_d.so
%{dynload_dir} /_codecs_cn_d.so
%{dynload_dir} /_codecs_hk_d.so
%{dynload_dir} /_codecs_iso2022_d.so
%{dynload_dir} /_codecs_jp_d.so
%{dynload_dir} /_codecs_kr_d.so
%{dynload_dir} /_codecs_tw_d.so
%{dynload_dir} /_collectionsmodule_d.so
%{dynload_dir} /_csv_d.so
%{dynload_dir} /_ctypes_d.so
%{dynload_dir} /_curses_d.so
%{dynload_dir} /_curses_panel_d.so
%{dynload_dir} /_elementtree_d.so
%{dynload_dir} /_functoolsmodule_d.so
%{dynload_dir} /_hashlib_d.so
%{dynload_dir} /_heapq_d.so
%{dynload_dir} /_hotshot_d.so
2010-07-21 20:48:17 +00:00
%{dynload_dir} /_io_d.so
2010-05-20 19:16:46 +00:00
%{dynload_dir} /_json_d.so
%{dynload_dir} /_localemodule_d.so
%{dynload_dir} /_lsprof_d.so
%{dynload_dir} /_multibytecodecmodule_d.so
%{dynload_dir} /_multiprocessing_d.so
%{dynload_dir} /_randommodule_d.so
%{dynload_dir} /_socketmodule_d.so
%{dynload_dir} /_sqlite3_d.so
%{dynload_dir} /_ssl_d.so
%{dynload_dir} /_struct_d.so
%{dynload_dir} /arraymodule_d.so
%{dynload_dir} /audioop_d.so
%{dynload_dir} /binascii_d.so
%{dynload_dir} /bz2_d.so
%{dynload_dir} /cPickle_d.so
%{dynload_dir} /cStringIO_d.so
%{dynload_dir} /cmathmodule_d.so
2013-02-20 01:52:54 +00:00
%{dynload_dir} /_cryptmodule_d.so
2010-05-20 19:16:46 +00:00
%{dynload_dir} /datetime_d.so
%{dynload_dir} /dbm_d.so
%{dynload_dir} /dlmodule_d.so
%{dynload_dir} /fcntlmodule_d.so
%{dynload_dir} /future_builtins_d.so
2011-09-13 18:37:20 +00:00
%if %{with_gdbm}
2010-05-20 19:16:46 +00:00
%{dynload_dir} /gdbmmodule_d.so
2011-09-13 18:37:20 +00:00
%endif
2010-05-20 19:16:46 +00:00
%{dynload_dir} /grpmodule_d.so
%{dynload_dir} /imageop_d.so
%{dynload_dir} /itertoolsmodule_d.so
%{dynload_dir} /linuxaudiodev_d.so
2010-07-21 20:48:17 +00:00
%{dynload_dir} /math_d.so
2010-05-20 19:16:46 +00:00
%{dynload_dir} /mmapmodule_d.so
%{dynload_dir} /nismodule_d.so
%{dynload_dir} /operator_d.so
%{dynload_dir} /ossaudiodev_d.so
%{dynload_dir} /parsermodule_d.so
%{dynload_dir} /pyexpat_d.so
%{dynload_dir} /readline_d.so
%{dynload_dir} /resource_d.so
%{dynload_dir} /selectmodule_d.so
%{dynload_dir} /spwdmodule_d.so
%{dynload_dir} /stropmodule_d.so
%{dynload_dir} /syslog_d.so
%{dynload_dir} /termios_d.so
%{dynload_dir} /timemodule_d.so
%{dynload_dir} /timingmodule_d.so
%{dynload_dir} /unicodedata_d.so
%{dynload_dir} /xxsubtype_d.so
%{dynload_dir} /zlibmodule_d.so
# No need to split things out the "Makefile" and the config-32/64.h file as we
# do for the regular build above (bug 531901), since they're all in one package
# now; they're listed below, under "-devel":
%{_libdir} /%{py_INSTSONAME_debug}
%if 0%{?with_systemtap}
2015-02-17 19:29:42 +00:00
%dir %(dirname %{tapsetdir} )
%dir %{tapsetdir}
2010-05-20 19:16:46 +00:00
%{tapsetdir} /%{libpython_stp_debug}
%endif
# Analog of the -devel subpackage's files:
%dir %{pylibdir} /config-debug
2012-04-19 00:19:10 +00:00
%{_libdir} /pkgconfig/python-%{pybasever} -debug.pc
%{_libdir} /pkgconfig/python-debug.pc
%{_libdir} /pkgconfig/python2-debug.pc
2010-05-20 19:16:46 +00:00
%{pylibdir} /config-debug/*
%{_includedir} /python%{pybasever} -debug/*.h
%{_bindir} /python-debug-config
2012-04-19 00:19:10 +00:00
%{_bindir} /python2-debug-config
2010-05-20 19:16:46 +00:00
%{_bindir} /python%{pybasever} -debug-config
%{_libdir} /libpython%{pybasever} _d.so
# Analog of the -tools subpackage's files:
# None for now; we could build precanned versions that have the appropriate
# shebang if needed
2017-04-21 18:48:53 +00:00
%if ! 0%{?_module_build}
2010-05-20 19:16:46 +00:00
# Analog of the tkinter subpackage's files:
%{dynload_dir} /_tkinter_d.so
2017-04-21 18:48:53 +00:00
%endif
2010-05-20 19:16:46 +00:00
# Analog of the -test subpackage's files:
%{dynload_dir} /_ctypes_test_d.so
%{dynload_dir} /_testcapimodule_d.so
2017-08-31 09:11:41 +00:00
%endif # with debug_build
2010-06-08 15:25:02 +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).
2013-11-12 12:53:47 +00:00
#
2013-02-22 18:36:34 +00:00
# The /usr/lib/rpm/redhat/macros defines the __debug_package macro to use
2010-02-09 03:00:11 +00:00
# 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
2013-11-12 12:53:47 +00:00
#
2010-02-09 03:00:11 +00:00
# Hence by installing it below /usr/lib/debug we ensure it is added to the
# -debuginfo subpackage
2013-11-12 12:53:47 +00:00
# (if it doesn't, then the rpmbuild ought to fail since the debug-gdb.py
2010-02-09 03:00:11 +00:00
# payload file would be unpackaged)
2017-08-14 14:00:35 +00:00
# Workaround for rhbz#1476593
%undefine _debuginfo_subpackages
2011-07-08 16:36:16 +00:00
# ======================================================
# Finally, the changelog:
# ======================================================
2004-09-09 10:57:31 +00:00
%changelog
2018-10-16 15:20:47 +00:00
* Tue Oct 16 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 2.7.15-11.0.riscv64
- Add support for RISC-V (riscv64)
2018-09-24 11:08:08 +00:00
* Mon Sep 24 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-11
- Security fix for CVE-2018-14647 (#1631822)
2018-09-20 18:54:32 +00:00
* Thu Sep 20 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-10
- Security fix for CVE-2018-1000802 (#1631662)
2018-09-06 11:27:15 +00:00
* Thu Sep 06 2018 Petr Viktorin <pviktori@redhat.com> - 2.7.15-9
- Deprecate python2 and all subpackages in Fedora 30+ (#1625773)
2018-08-30 13:46:34 +00:00
* Thu Aug 30 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-8
- Require python2-setuptools from python2-devel to prevent packaging errors (#1623922)
2018-08-21 13:58:19 +00:00
* Tue Aug 21 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-7
- Use RPM built wheels of pip and setuptools in ensurepip instead of our rewheel patch
2018-07-17 18:58:44 +00:00
2018-07-14 02:48:28 +00:00
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.15-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2018-05-07 12:37:17 +00:00
2018-06-14 12:15:03 +00:00
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-5
- Move /usr/bin/python into a separate package
https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package
- Revert https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
2018-06-13 16:34:16 +00:00
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-4
- Rebuilt for Python 3.7
2018-06-13 13:40:42 +00:00
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-3
- Bootstrap for Python 3.7
2018-05-15 12:28:59 +00:00
* Tue May 15 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.15-2
- Fix loading of the gdb python plugin (rhbz#1578001)
Update to version 2.7.15
- Rebased patches: 165, 170, 198
- Refactored patches: 289
- Removed patches (included upstream): 280, 283, 284, 285, 287,
293, 297, 298, 299
2018-05-01 10:01:16 +00:00
* Tue May 01 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.15-1
- Update to version 2.7.15
2018-04-26 08:35:56 +00:00
* Wed Apr 25 2018 Tomas Orsava <torsava@redhat.com> - 2.7.14-17
- Change shebangs to the proper versioned binary
2018-04-28 15:12:13 +00:00
- Bytecompile files manually, disbale brp-python-bytecompile
Resolves: rhbz#1572171
2018-04-26 08:35:56 +00:00
2018-04-13 20:58:24 +00:00
* Fri Apr 13 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-16
- Remove Obsoletes tag from when python was renamed to python2 (Fedora 25 was last)
2018-03-14 10:33:05 +00:00
* Wed Mar 14 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-15
- Fix broken SSL module
Resolves: rhbz#1555081
2018-03-13 16:09:14 +00:00
* Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.14-14
- Do not send IP addresses in SNI TLS extension
2018-02-23 12:48:07 +00:00
* Mon Feb 26 2018 Petr Viktorin <pviktori@redhat.com> - 2.7.14-13
- Fix -Wint-in-bool-context warnings
Resolves: rhbz#1473425
2018-02-24 17:25:24 +00:00
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 2.7.14-12
- Rebuild with new LDFLAGS from redhat-rpm-config
2018-02-15 16:01:53 +00:00
* Thu Feb 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-11
- Move test.support and test.script_helper to python2-libs
Resolves: rhbz#1528899
2018-02-09 11:53:31 +00:00
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.14-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2018-01-30 09:10:31 +00:00
* Tue Jan 30 2018 Petr Viktorin <pviktori@redhat.com> - 2.7.14-9
- Add patch 288: warn/fail if Python 2 is called as /usr/bin/python and
PYTHON_DISALLOW_AMBIGUOUS_VERSION is set
2018-01-31 10:23:10 +00:00
- Add patch 289: Fix for over-aligned GC info
2018-01-30 09:10:31 +00:00
2018-01-20 22:07:40 +00:00
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 2.7.14-8
- Rebuilt for switch to libxcrypt
2018-01-17 12:58:28 +00:00
* Wed Jan 17 2018 Petr Viktorin <pviktori@redhat.com> - 2.7.14-7
- Build the nis module with tirpc
2018-01-16 15:39:38 +00:00
* Tue Jan 16 2018 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-6
- Rebuild for reverted gdbm 1.13 on Fedora 27
2018-01-11 14:10:39 +00:00
* Thu Jan 11 2018 Charalampos Stratakis <cstratak@redhat.com> - 2.7.14-5
- Rebuild for gdbm 1.14
2017-12-11 12:35:09 +00:00
* Mon Dec 11 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.14-4
- Fix hanging of all threads when trying to access an inaccessible NFS server.
2017-11-09 11:44:53 +00:00
* Thu Nov 09 2017 Miro Hrončok <mhroncok@redhat.com> - 2.7.14-3
- Make the -devel package require redhat-rpm-config
Resolves: rhbz#1496757
2017-11-02 15:33:52 +00:00
* Thu Nov 02 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.14-2
- Add a new PYTHONSHOWREFCOUNT environment variable for printing the reference
count in debug builds.
2017-11-02 15:44:28 +00:00
- Fix nondeterministic read in test_pty.
2017-11-02 15:33:52 +00:00
2017-09-27 13:53:44 +00:00
* Mon Oct 09 2017 Iryna Shcherbina <ishcherb@redhat.com> - 2.7.14-1
- Update to version 2.7.14
2017-08-31 09:11:41 +00:00
* Thu Aug 31 2017 Tomas Orsava <torsava@redhat.com> - 2.7.13-18
- Switch some macros into bconds to facilitate modularity
2017-08-16 12:31:44 +00:00
* Wed Aug 16 2017 Miro Hrončok <mhroncok@redhat.com> - 2.7.13-17
- Exclude /usr/bin/2to3 (rhbz#1111275)
2017-08-14 14:00:35 +00:00
* Mon Aug 14 2017 David " S a n q u i " Labský <dlabsky@redhat.com> - 2.7.13-16
- Do not generate debuginfo subpackages (#1476593)
2017-08-09 11:49:30 +00:00
* Wed Aug 09 2017 Michal Cyprian <mcyprian@redhat.com> - 2.7.13-15
- Revert " A d d - - e x e c u t a b l e o p t i o n t o i n s t a l l . p y c o m m a n d "
This enhancement is currently not needed and it can possibly
collide with `pip --editable`option
2017-08-03 07:04:34 +00:00
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.13-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2017-07-27 12:25:01 +00:00
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.13-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-06-26 09:50:49 +00:00
* Mon Jun 26 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-11
- Fix test_alpn_protocols from test_ssl
2017-05-31 16:01:14 +00:00
* Wed May 31 2017 Miro Hrončok <mhroncok@redhat.com> - 2.7.13-11
- Change fixed Obsoletes version with a dynamic one (rhbz#1457336)
2017-05-18 12:19:19 +00:00
* Thu May 18 2017 Karsten Hopp <karsten@redhat.com> - 2.7.13-10
- revert logic for modularity patch and enable gdbm for modularity
2017-05-16 11:10:05 +00:00
* Tue May 16 2017 Tomas Orsava <torsava@redhat.com> - 2.7.13-9
- Added a dependency to the devel subpackage on python3-rpm-generators which
have been excised out of rpm-build
- There is no Python 2 package containing Python RPM generators, therefore
Python 3 is needed when Python 2 package is to be built, but this was
decided not to be a problem due to nearing EOL of Python 2
- Involves: rhbz#1410631, rhbz#1444925
2017-05-10 14:41:09 +00:00
* Wed May 10 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-8
- Enable profile guided optimizations for x86_64 and i686 architectures
- Update description to reflect that Python 2 is not the default Python
2017-04-25 12:51:26 +00:00
* Tue Apr 25 2017 Karsten Hopp <karsten@redhat.com> - 2.7.13-7
- apply modularity patch only during module builds
2017-04-22 22:49:12 +00:00
* Sun Apr 23 2017 Karsten Hopp <karsten@redhat.com> - 2.7.13-6
- add missing patch
2017-04-21 18:48:53 +00:00
* Fri Apr 21 2017 Karsten Hopp <karsten@redhat.com> - 2.7.13-5
- drop a couple of dependencies for Modularity builds
2017-02-21 11:54:47 +00:00
* Tue Feb 21 2017 Michal Cyprian <mcyprian@redhat.com> - 2.7.13-5
- Add --executable option to install.py command
2017-02-17 14:13:13 +00:00
* Fri Feb 17 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-4
- Fix the upgrade path to F26 due to renaming the package to python2 (rhbz#1420332)
2017-02-11 11:03:10 +00:00
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.13-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-01-12 16:30:37 +00:00
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.7.13-2
- Rebuild for readline 7.x
2017-01-11 19:20:31 +00:00
* Wed Jan 11 2017 Charalampos Stratakis <cstratak@redhat.com> - 2.7.13-1
- Update to 2.7.13
2017-01-11 19:39:50 +00:00
- Don't blow up on EL7 kernel (random generator) (rhbz#1410175, rhbz#1410187)
2017-01-11 19:42:17 +00:00
- Require glibc >= 2.24.90-26 (rhbz#1410644)
2017-01-11 19:20:31 +00:00
2016-11-07 13:23:37 +00:00
* Thu Oct 27 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-9
- Rename package to python2 and also rename the subpackages accordingly
- Provide and obsolete python and the respective subpackages to ensure a clean
upgrade path
- Remove old provides for packages that got into stdlib
2016-12-05 14:27:30 +00:00
- Implement PEP 394
2016-11-07 13:23:37 +00:00
2016-10-12 12:55:04 +00:00
* Wed Oct 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-8
- Port ssl and hashlib modules to OpenSSL 1.1.0
- Drop hashlib patch for now
- Add riscv64 arch to 64bit and no-valgrind arches
2016-09-29 12:42:42 +00:00
* Thu Sep 29 2016 Miro Hrončok <mhroncok@redhat.com> - 2.7.12-7
- Provide python27
2016-09-02 14:33:52 +00:00
* Fri Sep 02 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-6
- Remove unversioned Obsoletes
2016-09-01 13:39:11 +00:00
* Thu Sep 01 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-5
- Rebase rewheel patch so it applies properly (rhbz#1372183)
2016-08-16 16:45:23 +00:00
* Tue Aug 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-4
- SPEC file cleanup
- Removal of unapplied patches
2016-08-09 13:27:04 +00:00
* Tue Aug 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-3
- Fix for CVE-2016-1000110 HTTPoxy attack
- SPEC file cleanup
2016-08-01 18:23:04 +00:00
* Mon Aug 01 2016 Michal Toman <mtoman@fedoraproject.org> - 2.7.12-2
- Build properly on MIPS
2016-07-17 20:28:26 +00:00
* Fri Jul 15 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.12-1
- Update to 2.7.12
- Refactored patches: 10, 102, 112, 134, 153
- Dropped patches: 166, 209, 210
2016-07-08 19:27:11 +00:00
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.11-8
- Refactor patch for properly fixing CVE-2016-5636
2016-07-08 15:48:51 +00:00
* Fri Jul 08 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.11-7
- Fix test_pyexpat failure with Expat version of 2.2.0
2016-06-16 17:39:34 +00:00
* Thu Jun 16 2016 Tomas Orsava <torsava@redhat.com> - 2.7.11-6
- Fix for: CVE-2016-0772 python: smtplib StartTLS stripping attack
- Raise an error when STARTTLS fails
- rhbz#1303647: https://bugzilla.redhat.com/show_bug.cgi?id=1303647
- rhbz#1346344: https://bugzilla.redhat.com/show_bug.cgi?id=1346344
- Fixed upstream: https://hg.python.org/cpython/rev/b3ce713fb9be
2016-06-13 12:21:38 +00:00
* Mon Jun 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.7.11-5
- Added patch for fixing possible integer overflow and heap corruption in zipimporter.get_data()
2016-02-04 18:50:13 +00:00
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-01-13 19:02:55 +00:00
* Wed Jan 13 2016 Orion Poplawski <orion@cora.nwra.com> - 2.7.11-3
- Drop macros, require python/python2-rpm-macros
2015-12-30 21:48:46 +00:00
* Wed Dec 30 2015 Orion Poplawski <orion@cora.nwra.com> - 2.7.11-2
- Get ready for separate python-macros package
2015-12-24 19:53:12 +00:00
* Tue Dec 15 2015 Robert Kuska <rkuska@redhat.com> - 2.7.11-1
- Update to 2.7.11
2015-10-15 20:27:31 +00:00
* Thu Oct 15 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-11
- provide/obsolete _isa packages in python_provide (#1271776)
2015-09-23 06:53:54 +00:00
* Wed Sep 23 2015 Robert Kuska <rkuska@redhat.com> - 2.7.10-10
- Revert the moving modules to python-tools because distutils uses lib2to3
2015-09-22 10:50:41 +00:00
* Tue Sep 22 2015 Robert Kuska <rkuska@redhat.com> - 2.7.10-9
- Move idlelib and lib2to3 modules to pythont-tools
2015-09-03 20:05:21 +00:00
* Thu Sep 3 2015 Orion Poplawski <orion@cora.nwra.com> - 2.7.10-8
- Fix quoting in %%python_provide macro
2015-09-03 17:44:33 +00:00
* Thu Sep 3 2015 Orion Poplawski <orion@cora.nwra.com> - 2.7.10-7
- Add obsoletes to %%python_provide macro to fix upgrade path
- Fix python2- provides for python- packages in %%python_provide
2015-07-23 16:30:50 +00:00
* Thu Jul 23 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-6
- python-macros: remove R on python (#1246036)
2015-07-22 15:42:55 +00:00
* Wed Jul 22 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-5
- Include epoch in the python_provide macro fpc#534 (Slavek Kabrda)
2015-06-29 15:52:58 +00:00
* Mon Jun 29 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-4
- correct python_provide macro to include version only when emiting provides
2015-06-25 16:59:04 +00:00
* Thu Jun 25 2015 Thomas Spura <tomspur@fedoraproject.org> - 2.7.10-3
2015-06-29 09:11:25 +00:00
- Add unversioned python-macros from fpc#281 and fpc#534
2015-06-25 16:59:04 +00:00
and require it from python-devel
2015-06-29 09:11:25 +00:00
- Make python-macros noarch
2015-06-25 16:59:04 +00:00
2015-06-17 09:52:33 +00:00
* Wed Jun 17 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.7.10-2
- Make relocating Python by changing _prefix actually work
Resolves: rhbz#1231801
2015-05-25 15:07:23 +00:00
* Mon May 25 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.7.10-1
- Update to 2.7.10
2015-05-05 11:32:59 +00:00
* Tue May 5 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.7.9-11
- Disable test_gdb on aarch64 (rhbz#1196181), it joins all other non x86 arches
2015-04-15 09:22:46 +00:00
* Wed Apr 15 2015 Robert Kuska <rkuska@redhat.com> - 2.7.9-10
- Remove provides/obsolates for unittest2
2015-04-15 12:01:04 +00:00
- Skip test_gdb on arm until rhbz#1196181 is resolved
2015-04-15 09:22:46 +00:00
2015-03-05 10:48:47 +00:00
* Thu Mar 05 2015 Matej Stuchlik <mstuchli@redhat.com> - 2.7.9-9
- Add proper rewheel Requires
2015-02-21 21:16:41 +00:00
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.7.9-8
- Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 20:28:14 +00:00
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.7.9-7
- Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-17 19:29:42 +00:00
* Tue Feb 17 2015 Ville Skyttä <ville.skytta@iki.fi> - 2.7.9-6
- Own systemtap dirs (#710733)
2015-02-06 14:34:10 +00:00
* Fri Feb 06 2015 Karsten Hopp <karsten@redhat.com> 2.7.9-5
- disable test_gdb on ppc64* until rhbz#1132488 is really resolved
2015-01-20 16:05:27 +00:00
* Tue Jan 20 2015 Slavek Kabrda <bkabrda@redhat.com> - 2.7.9-4
- We need to provide both arch specific and noarch Provide for python2-devel
in order not to break noarch builds.
2015-01-20 13:33:33 +00:00
* Tue Jan 20 2015 Slavek Kabrda <bkabrda@redhat.com> - 2.7.9-3
- Make python2-devel provide arch specific.
Resolves: rhbz#1183530
2015-01-12 12:46:45 +00:00
* Mon Jan 12 2015 Dan Horák <dan[at]danny.cz> - 2.7.9-2
- build with valgrind on ppc64le
- disable test_gdb on s390(x) until rhbz#1181034 is resolved
2014-12-11 09:37:25 +00:00
* Thu Dec 11 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.9-1
- Update to 2.7.9
- Refreshed patches: #55, #137, #146, #153, #156, #198
- Dropped patches: #196, #197
2014-12-11 11:18:08 +00:00
- New patch: #199
2014-12-11 09:37:25 +00:00
- Added the rewheel module
2014-11-24 08:35:13 +00:00
* Mon Nov 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.8-10
- Improve python2_version macros
2014-11-13 14:04:28 +00:00
* Thu Nov 13 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.8-9
- Add python2_version_nodots macro
2014-11-10 08:08:21 +00:00
* Mon Nov 10 2014 Slavek Kabrda <bkabrda@redhat.com> - 2.7.8-8
- Revert previous change, see rhbz#1161166#c6.
2014-11-07 08:55:37 +00:00
* Fri Nov 07 2014 Slavek Kabrda <bkabrda@redhat.com> - 2.7.8-7
- Provide importable unittest2
Resolves: rhbz#1161166
2014-08-21 06:59:02 +00:00
* Thu Aug 21 2014 Robert Kuska <rkuska@redhat.com> - 2.7.8-6
- Update patch 196 (ssl backport)
2014-08-19 08:59:43 +00:00
* Tue Aug 19 2014 Robert Kuska <rkuska@redhat.com> - 2.7.8-5
- Backport ssl module from python3
2014-08-17 20:46:03 +00:00
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-07-31 13:48:10 +00:00
* Thu Jul 31 2014 Tom Callaway <spot@fedoraproject.org> - 2.7.8-3
- fix license handling
2014-07-18 14:44:10 +00:00
* Fri Jul 18 2014 Robert Kuska <rkuska@redhat.com> - 2.7.8-2
- Enable SSLv2 and SSLv3 when SSLv23_method is used in ssl
2014-07-18 14:26:31 +00:00
* Mon Jul 14 2014 Robert Kuska <rkuska@redhat.com> - 2.7.8-1
- Update to 2.7.8
2014-07-11 19:45:47 +00:00
* Fri Jul 11 2014 Dan Horák <dan[at]danny.cz> - 2.7.7-3
- rebuilt for updated libffi ABI on ppc64le
2014-06-07 08:16:29 +00:00
* Sat Jun 7 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.7.7-2
- aarch64 has valgrind, just list those that don't support it
2014-06-04 13:11:57 +00:00
* Wed Jun 04 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.7-1
- Update to 2.7.7
- Refreshed patches: #16, #112, #138, #147, #157, #166, #173, #5000
- Dropped patches: #190, #192, #194
2014-06-03 21:05:50 +00:00
* Tue Jun 03 2014 Dan Horák <dan[at]danny.cz> - 2.7.6-9
- update the arch list where valgrind exists - %%power64 includes also
ppc64le which is not supported yet
2014-05-21 10:34:52 +00:00
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 2.7.6-8
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
2014-05-09 07:22:35 +00:00
* Fri May 09 2014 Tomas Radej <tradej@redhat.com> - 2.7.6-7
- Fixed obsoletes on ordereddict (bz #1095434)
2014-04-14 08:02:43 +00:00
* Mon Apr 14 2014 Tomas Radej <tradej@redhat.com> - 2.7.6-6
- Obsoletes python-ordereddict (bz #1085593, not precisely 1:1 replacement)
2014-04-07 11:48:16 +00:00
* Mon Apr 07 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.6-5
- Fix test failure with SQLite > 3.8.4.
- Obsolete/Provide python-unittest2
Related: rhbz#1060426
2014-02-19 13:29:31 +00:00
* Wed Feb 19 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.6-4
- Enable loading sqlite extensions.
Resolves: rhbz#1066708
2014-02-10 12:54:05 +00:00
* Mon Feb 10 2014 Tomas Radej <tradej@redhat.com> - 2.7.6-3
- Fixed buffer overflow (upstream patch)
Resolves: rhbz#1062375
2014-02-04 12:32:10 +00:00
* Tue Feb 04 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.6-2
- Install macros in _rpmconfigdir.
2014-01-29 10:16:53 +00:00
* Wed Jan 29 2014 Tomas Radej <tradej@redhat.com> - 2.7.6-1
- Updated to v2.7.6
2014-01-29 14:32:33 +00:00
- Freshened patches 102, 111, 112, 136, and 142
- Dropped patches 186, 188 (both fixed upstream)
2014-01-29 10:16:53 +00:00
2014-01-15 12:27:43 +00:00
* Wed Jan 15 2014 Matej Stuchlik <mstuchli@redhat.com> - 2.7.5-11
- Make library-files user writable to get rid of
Permission Denied in buildlog from debuginfo-packaging
2014-01-14 15:31:55 +00:00
* Tue Jan 14 2014 Dennis Gilmore <dennis@ausil.us> - 2.7.5-10
- enable valgrind support on 32 bit arm
2013-11-12 13:17:30 +00:00
* Tue Nov 12 2013 Tomas Radej <tradej@redhat.com> - 2.7.5-9
- Import get_python_version in bdist_rpm
Resolves: rhbz#1029082
2013-10-08 12:04:54 +00:00
* Tue Oct 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-8
- Fix processing gdb py-bt command in eval calls.
Resolves: rhbz#1008154
2013-09-03 08:45:32 +00:00
* Tue Sep 03 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-7
- Removed ancient Obsolete: python-sqlite2.
2013-08-26 07:39:29 +00:00
* Mon Aug 26 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-6
2013-08-26 07:37:19 +00:00
- Sync back/renumber patches to stay consistent with rhel.
2013-08-21 18:05:58 +00:00
* Mon Aug 19 2013 Matej Stuchlik <mstuchli@redhat.com> - 2.7.5-5
- Added fix for CVE-2013-4238 (rhbz#998430)
2013-08-04 06:10:51 +00:00
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-07-08 08:36:47 +00:00
* Mon Jul 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-3
- Fix build with libffi containing multilib wrapper for ffi.h (rhbz#979696).
2013-07-08 07:48:59 +00:00
* Mon Jul 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-2
- Obsolete PyXML as requested in rhbz#981137.
2013-05-16 13:15:46 +00:00
* Thu May 16 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.5-1
- Updated to Python 2.7.5.
- Refreshed patches: 0 (config), 102 (lib64), 121 (add Modules to build path),
153 (gdb test noise)
- Dropped patches: 126, 127 (big endian issues, both fixed upstream),
175 (configure -Wformat, fixed upstream)
- Synced patch numbers with python3.spec.
2013-05-14 19:49:20 +00:00
* Tue May 14 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.4-5
- fix multilib issue in python-tools due to /usr/bin/pynche (source 7;
rhbz#831437)
2013-05-02 07:12:06 +00:00
* Thu May 02 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-4
- Add patch that enables building on ppc64p7.
2013-04-22 07:09:16 +00:00
* Mon Apr 22 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-3
- Allow arbitrary timeout in Condition.wait (rhbz#917709).
2013-04-11 11:20:13 +00:00
* Thu Apr 11 2013 Kalev Lember <kalevlember@gmail.com> - 2.7.4-2
- Build with libdb 5.3 instead of libdb4
- Refreshed patches: 0 (config), 102 (lib64)
- Dropped patches: 54 (db4 version), 159 (db4 include path adjustment)
Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-04-09 08:54:58 +00:00
* Mon Apr 08 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.4-1
- Updated to Python 2.7.4.
- Refreshed patches: 0 (config), 7 (sqlite encoding), 16 (rpath in config),
55 (systemtap), 111 (no static lib), 112 (debug build), 113 (more
configuration flags), 130 (add extension to python config), 134 (fix
COUNT_ALLOCS in test_sys), 146 (haslib FIPS), 147 (add debug malloc stats),
153 (fix gdb test noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests), 165 (crypt module salt backport),
175 (fix configure Wformat), 5000 (regenerated autotooling patch)
- Dropped patches: 101 (lib64 regex; merged upstream), 171 (exception on
missing /dev/urandom; merged upstream), 172 (poll for multiprocessing socket
connection; merged upstream)
2013-03-25 19:40:44 +00:00
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-35
- fix gcc 4.8 incompatibility (rhbz#927358); regenerate autotool intermediates
2013-03-06 21:38:05 +00:00
* Wed Mar 6 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-34
- restrict scope of workaround for cmpi-bindings issue to avoid breaking
in-tree running of test_sys and test_subprocess (rhbz#817554)
2013-03-06 20:03:56 +00:00
* Wed Mar 6 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-33
- add workaround for cmpi-bindings issue (rhbz#817554)
2013-03-04 21:18:16 +00:00
* Mon Mar 4 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-32
- add workaround for ENOPROTOOPT seen running selftests in Koji
(rhbz#913732)
2013-03-04 01:01:53 +00:00
* Mon Mar 4 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-31
- remove config flag from /etc/rpm/macros.python2
2013-02-22 18:36:34 +00:00
* Fri Feb 22 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-30
- remove __debug_package macro from comment
2013-02-22 18:03:09 +00:00
* Fri Feb 22 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-29
- drop -b from application of patch 157 (uid/gid overflows)
2013-02-22 17:10:58 +00:00
* Fri Feb 22 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-28
- fix bogus dates in changelog
2013-02-21 22:11:13 +00:00
* Thu Feb 21 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-27
- port _multiprocessing.Connection.poll() to use the " p o l l " syscall, rather
than " s e l e c t " , allowing large numbers of subprocesses (patch 172;
rhbz#849992)
2013-02-21 19:44:28 +00:00
* Thu Feb 21 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-26
- raise correct exception in os.urandom() when /dev/urandom is missing
(patch 171; rhbz#907383)
2013-02-20 21:45:56 +00:00
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-25
- in debug builds, try to print repr() when a C-level assert fails in the
garbage collector (typically indicating a reference-counting error somewhere
else e.g in an extension module) (patch 170; rhbz#850013)
2013-02-20 20:50:47 +00:00
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-24
- move lib2to3/tests from python-libs to python-test (rhbz#850056)
2013-02-20 20:25:17 +00:00
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-23
- use SHA-256 rather than implicitly using MD5 within the challenge handling
in multiprocessing.connection (patch 169; rhbz#879695)
2013-02-20 18:57:29 +00:00
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-22
- fix a problem with distutils.sysconfig when CFLAGS is defined in the
environment (patch 168; rhbz#849994)
2013-02-20 17:33:39 +00:00
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-21
- don't run any stack navigation tests in test_gdb for optimized builds
(patch 167; rhbz#912025)
2013-02-20 01:52:54 +00:00
* Wed Feb 20 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-20
- s/cryptmodule/_cryptmodule/ in package payload (rhbz#835021)
2013-02-19 22:22:57 +00:00
* Tue Feb 19 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-19
- bulletproof the gdb debugging hooks against a failure seen in ARM builds
(patch 166; rhbz#912025)
- re-enable make check on ARM (rhbz#912025)
2013-02-19 22:05:23 +00:00
* Tue Feb 19 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-18
- backport pre-canned ways of salting a password to the " c r y p t " module from 3.3
(rhbz#835021)
2013-02-19 20:19:54 +00:00
* Tue Feb 19 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-17
- remove " _ d e f a u l t _ p a t c h _ f u z z " directive to avoid patches being silently
misapplied (refresh patch 1, patch 101, patch 102, patch 111, patch 121,
patch 158; rename patch 1, patch 101, patch 121; apply patch 54 before the
lib64 patches to avoid fuzz problems caused by the conditional application
of the lib64 patches)
2013-02-18 13:27:21 +00:00
* Mon Feb 18 2013 Peter Robinson <pbrobinson@fedoraproject.org> 2.7.3-16
- disable make check on ARM for the moment until 912025 is fixed
2013-02-11 04:28:21 +00:00
* Mon Feb 11 2013 David Malcolm <dmalcolm@redhat.com> - 2.7.3-15
- add aarch64 (rhbz#909783)
2012-12-11 20:38:01 +00:00
* Thu Nov 29 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-14
- add BR on bluez-libs-devel (rhbz#879720)
2012-08-09 14:57:09 +00:00
* Thu Aug 9 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-13
- remove f18 conditional from patch 159
2012-07-27 06:12:15 +00:00
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-07-24 06:51:00 +00:00
* Tue Jul 17 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.7.3-11
- fix memory leak in module _hashlib (patch 158, rhbz#836285)
2012-07-24 06:51:48 +00:00
- fix db4 include path for libdb4 package (f18 and above) (patch 159)
2012-07-24 06:51:00 +00:00
2012-06-26 18:53:28 +00:00
* Tue Jun 26 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-10
- fix missing include in uid/gid handling patch (patch 157; rhbz#830405)
2012-06-22 17:30:17 +00:00
* Fri Jun 22 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-9
- use rpm macro for power64 (rhbz#834653)
2012-05-18 18:53:34 +00:00
* Tue May 15 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-8
- update uid/gid handling to avoid int overflows seen with uid/gid
values >= 2^31 on 32-bit architectures (patch 157; rhbz#697470)
2012-05-04 19:42:02 +00:00
* Fri May 4 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-7
- renumber autotools patch from 300 to 5000
- specfile cleanups
2012-04-30 20:20:26 +00:00
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-6
- try again to fix test_gdb.py (patch 156; rhbz#817072)
2012-04-30 17:04:36 +00:00
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-5
- fix test_gdb.py (patch 156; rhbz#817072)
2012-04-20 19:02:19 +00:00
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-4
- avoid allocating thunks in ctypes unless absolutely necessary, to avoid
generating SELinux denials on " i m p o r t c t y p e s " and " i m p o r t u u i d " when embedding
Python within httpd (patch 155; rhbz#814391)
2012-04-19 18:09:01 +00:00
* Thu Apr 19 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-3
- add explicit version requirements on expat to avoid linkage problems with
XML_SetHashSalt
2012-04-19 00:19:10 +00:00
* Wed Apr 18 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-2
- fix -config symlinks (patch 112; rhbz#813836)
2012-04-13 14:36:12 +00:00
* Wed Apr 11 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-1
- 2.7.3: refresh patch 102 (lib64); drop upstream patches 11 (ascii-to-lower),
115 (pydoc robustness), 145 (linux2), 148 (gdbm magic values), 151 (deadlock
in fork); refresh patch 112 (debug build); revise patch 127
(test_structmember); fix test_gdb (patch 153); refresh patch 137 (distutils
tests); add python2.pc to python-devel; regenerate the autotool intermediates
patch (patch 300)
2012-02-25 20:34:30 +00:00
* Sat Feb 25 2012 Thomas Spura <tomspur@fedoraproject.org> - 2.7.2-20
- fix deadlock issue (#787712)
2012-02-18 02:43:27 +00:00
* Fri Feb 17 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7.2-19
- Obsolete python-sqlite2
2011-11-24 21:59:22 +00:00
* Thu Nov 24 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.7.2-18
- Build with $RPM_LD_FLAGS (#756862).
- Use xz-compressed source tarball.
2011-10-27 00:19:42 +00:00
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.2-17
- Rebuilt for glibc bug#747377
2011-09-30 20:45:14 +00:00
* Fri Sep 30 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-16
- re-enable gdbm (patch 148; rhbz#742242)
2011-09-16 22:41:28 +00:00
* Fri Sep 16 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-15
- add a sys._debugmallocstats() function (patch 147)
2011-09-14 05:26:38 +00:00
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-14
- support OpenSSL FIPS mode in _hashlib and hashlib; don't build the _md5 and
_sha* modules, relying on _hashlib in hashlib, and thus within md5 etc
(rhbz#563986; patch 146)
2011-09-14 03:55:20 +00:00
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-13
- force sys.platform to be " l i n u x 2 " (patch 145)
2011-09-13 18:37:20 +00:00
* Tue Sep 13 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-12
- disable gdbm module to prepare for gdbm soname bump
2011-09-12 21:38:37 +00:00
* Mon Sep 12 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-11
- rename and renumber patches for consistency with python3.spec (55, 111, 113,
114, 125, 131, 129 to 143)
2011-09-10 11:55:07 +00:00
* Sat Sep 10 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-10
- rewrite of " c h e c k " , introducing downstream-only hooks for skipping specific
cases in an rpmbuild (patch 132), and fixing/skipping failing tests in a more
fine-grained manner than before (patches 104, 133-142)
2011-09-01 20:46:48 +00:00
* Thu Sep 1 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-9
- run selftests with " - - v e r b o s e "
- disable parts of test_io on ppc (rhbz#732998)
2011-08-23 22:28:07 +00:00
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-8
- add --extension-suffix option to python-config (patch 130; rhbz#732808)
2011-08-23 20:44:23 +00:00
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-7
- re-enable and fix the --with-tsc option on ppc64, and rework it on 32-bit
ppc to avoid aliasing violations (patch 129; rhbz#698726)
2011-08-23 18:23:31 +00:00
* Tue Aug 23 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-6
- don't use --with-tsc on ppc64 debug builds (rhbz#698726)
2011-08-18 19:25:42 +00:00
* Thu Aug 18 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-5
- add rpm macros file (rhbz#731800)
2011-07-08 16:36:16 +00:00
* Fri Jul 8 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-4
- cleanup of BuildRequires; add comment headings to specfile sections
2011-06-22 18:57:53 +00:00
* Wed Jun 22 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-3
- reorganize test exclusions (test_openpty and test_pty seem to be failing on
every arch, not just the explicitly-listed ones)
2011-06-13 22:01:28 +00:00
* Mon Jun 13 2011 Dan Horák <dan[at]danny.cz> - 2.7.2-2
- add s390(x) excluded tests
2011-06-13 21:19:37 +00:00
* Mon Jun 13 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-1
- 2.7.2; drop upstreamed patches: patch 122 (parallel make fix), patch 124
(test_commands and SELinux), patch 130 (ppc preprocessor macro in debug
build); patch 131 (decimal in Turkish locale); regenerate the autotool
intermediates patch (patch 300)
2011-06-07 20:00:01 +00:00
* Tue Jun 07 2011 Dennis Gilmore <dennis@ausil.us> - 2.7.1-9
- fix sparc building by excluding failing tests RHBZ#711584
2011-05-23 09:16:50 +00:00
* Mon May 23 2011 Peter Robinson <pbrobinson@gmail.com> - 2.7.1-8
2011-06-13 22:01:28 +00:00
- fix compile on ARM by excluding failing tests on arm - RHBZ #706253
2011-05-23 09:16:50 +00:00
2011-04-12 15:32:15 +00:00
* Tue Apr 12 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-7
- fix " i m p o r t d e c i m a l " in the Turkish locale (patch 131; rhbz#694928)
2011-02-09 17:47:45 +00:00
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-01-21 19:59:02 +00:00
* Fri Jan 21 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7.1-5
- Switch from setting OPT to setting EXTRA_CFLAGS so we don't overwrite the
DNDEBUG flag
2011-01-07 20:42:22 +00:00
* Fri Jan 7 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-4
- for now, drop " o b s o l e t e s " of python-argparse, since it interracts badly with
multilib (rhbz#667984)
2011-01-07 00:02:26 +00:00
* Fri Jan 7 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.7.1-3
- obsolete/provide python-argparse (new in 2.7)
2011-01-06 16:29:20 +00:00
* Thu Jan 6 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-2
- fix the ppc build of the debug configuration (patch 130; rhbz#661510)
2010-12-29 03:46:51 +00:00
* Thu Dec 23 2010 David Malcolm <dmalcolm@redhat.com> - 2.7.1-1
- 2.7.1, reworking patch 0 (config), patch 102 (lib64); drop upstream
patch 56 (cfgparse), patch 110 (ctypes/SELinux/noexecmem), patch 119 (expat
compat), patch 123 (2to3 on " f r o m i t e r t o o l s i m p o r t * " )
- fix test_abc's test_cache_leak in the debug build (patch 128)
- drop _weakref.so from manifest (_weakref became a core module in r84230)
2010-09-29 22:08:20 +00:00
* Wed Sep 29 2010 jkeating - 2.7-13
- Rebuilt for gcc bug 634757
2010-09-27 17:44:59 +00:00
* Mon Sep 27 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-12
- fix test_structmember on 64bit-bigendian (patch 127)
2010-09-24 23:09:23 +00:00
* Fri Sep 24 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-11
- fix dbm_contains on 64bit-bigendian (patch 126; rhbz#626756)
2010-09-16 17:42:05 +00:00
* Thu Sep 16 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 2.7-10
- backport a patch to fix a change in behaviour in configparse.
2010-09-09 18:44:48 +00:00
* Thu Sep 9 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-9
- move most of the payload of the core package to the libs subpackage, given
that the libs aren't meaningfully usable without the standard libraries
2010-08-18 17:35:32 +00:00
* Wed Aug 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-8
- add %%check section
- update lib64 patch (patch 102) to fix expected output in test_site.py on
64-bit systems
- patch test_commands.py to work with SELinux (patch 124)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
2010-07-26 18:12:31 +00:00
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-7
- fixup missing -lcrypt to " c r y p t " module in config patch (patch 0)
2010-07-26 13:04:32 +00:00
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-6
- re-enable systemtap
- cherrypick upstream patch to 2to3 for " f r o m i t e r t o o l s i m p o r t * "
traceback (patch 123)
2010-07-22 20:04:43 +00:00
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-5
- disable systemtap for now (dtrace is failing on startup due to the bug
mentioned in 2.7-4)
- provide relative path to python binary when running pathfix.py
- fix parallel make (patch 122)
2010-07-22 17:38:16 +00:00
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-4
- fix reference to pyconfig.h in sysconfig that led to failure on startup if
python-devel was not installed
2010-07-21 20:48:17 +00:00
* Thu Jul 8 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-3
- add patch to fixup the new sysconfig.py for our multilib support on
64-bit (patch 103)
* Thu Jul 8 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-2
- add machinery for regenerating the " c o n f i g u r e " script in the face of
mismatching autoconf versions (patch 300)
* Tue Jul 6 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-1
- 2.7 final; drop alphatag
- drop patch 117 (upstream), patch 120 (upstreamed)
- fix the commented-out __python_ver from 26 to 27
* Tue Jun 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-0.1.rc2
- 2.7rc2
- revert r79310 (patch 121)
- remove modulator: upstream removed it in r78338
- rename mathmodule(_d).so to math(_d).so in manifests (appears to be changed
by r76861)
- _bytesio(_d).so and _filesio(_d).so were consolidated into _io(_d).so in
r73394 (upstream issue 6215)
- use the gdb hooks from the upstream tarball, rather than keeping our own
copy. The upstream version has some whitespace changes, a new write_repr for
unicode objects, and various bulletproofings for being run on older gdbs
* Tue Jun 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.7-0.1.rc1
- 2.7rc1:
- rework patches to apply against 2.7 (which among other changes has had a
whitespace cleanup of the .c code): .rhconfig (patch0), .binutils-no-dep
(patch10), .ascii-tolower (patch11), .socketmodule (patch13), .socketmodule2
(patch14), .systemtap (patch55), .lib64 (patch102), .selinux (patch110),
.no-static-lib (patch111), .debug-build (patch112), .statvfs-f-flag-constants
(patch114), ..CVE-2010-2089 (patch117)
- drop upstream patches: .expat (patch3), .brprpm (patch51), .valgrind
(patch52), .db48 (patch53), .CVE-2010-1634 (patch 116), .CVE-2008-5983 (patch
118)
2010-06-22 18:40:57 +00:00
* Tue Jun 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-17
- Stop python bailing out with an assertion failure when UnicodeDecodeErrors
occur on very large buffers (patch 120, upstream issue 9058)
2010-06-21 22:36:03 +00:00
* Mon Jun 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-16
- Fix an incompatibility between pyexpat and the system expat-2.0.1 that led to
a segfault running test_pyexpat.py (patch 119; upstream issue 9054)
2010-06-08 15:25:02 +00:00
* Tue Jun 8 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-15
- add a flag to make it easy to turn off the debug build when troubleshooting
the rpm build
2010-06-05 08:11:11 +00:00
* Sat Jun 5 2010 Dan Horák <dan[at]danny.cz> - 2.6.5-14
- reading the timestamp counter is available only on some arches (see Python/ceval.c)
- disable --with-valgrind on s390(x) arches
2010-06-04 18:05:41 +00:00
* Fri Jun 4 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-13
- ensure that the compiler is invoked with " - f w r a p v " (rhbz#594819)
- CVE-2010-1634: fix various integer overflow checks in the audioop
2010-06-04 21:11:42 +00:00
module (patch 116)
- CVE-2010-2089: further checks within the audioop module (patch 117)
- CVE-2008-5983: the new PySys_SetArgvEx entry point from r81399 (patch 118)
2010-06-04 18:05:41 +00:00
2010-05-27 15:37:54 +00:00
* Thu May 27 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-12
- make " p y d o c - k " more robust in the face of broken modules (rhbz:461419, patch115)
2010-05-26 10:28:54 +00:00
* Wed May 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-11
- add flags for statvfs.f_flag to the constant list in posixmodule (i.e. " o s " )
(patch 114)
2010-05-25 16:13:29 +00:00
* Tue May 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-10
- add configure-time support for COUNT_ALLOCS and CALL_PROFILE debug options
(patch 113); enable them and the WITH_TSC option within the debug build
2010-05-20 19:16:46 +00:00
* Tue May 18 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-9
- build and install two different configurations of Python: debug and standard,
packaging the debug build in a new " p y t h o n - d e b u g " subpackage (patch 112)
2010-05-04 19:45:07 +00:00
* Tue May 4 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-8
- don't delete wsgiref.egg-info (rhbz:588426)
2010-04-26 19:15:58 +00:00
* Mon Apr 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-7
- disable --with-valgrind on sparc arches
2010-04-12 15:54:48 +00:00
* Mon Apr 12 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-6
- move the " b d i s t _ w i n i n s t " command's template .exe files from the core package
to the devel subpackage, to save space (rhbz:525469)
- fix stray doublelisting of config directory wildcard in devel subpackage
2010-04-01 02:45:00 +00:00
* Wed Mar 31 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-5
- update python-gdb.py from v4 to v5 (improving performance and stability,
adding commands)
2010-03-25 20:35:17 +00:00
* Thu Mar 25 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-4
- update python-gdb.py from v3 to v4 (fixing infinite recursion on reference
cycles and tracebacks on bytes 0x80-0xff in strings, adding handlers for sets
and exceptions)
2010-03-24 18:30:06 +00:00
* Wed Mar 24 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-3
- refresh gdb hooks to v3 (reworking how they are packaged)
2010-03-24 16:04:07 +00:00
* Mon Mar 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.6.5-2
- remove unnecessary arch-conditionality for patch 101
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 " t e s t " 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 " p y t h o n . f u n c t i o n . e n t r y " and
" p y t h o n . f u n c t i o n . r e t u r n " 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 " / u s r / b i n / f i n d " requirement to " f i n d u t i l s "
- 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 " c o n f i g u r e " invocation
- remove embedded copy of expat from source tree during " p r e p "
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 " c o n f i g u r e " 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
- " M a k e f i l e " 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 " s p o t " 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 " s p o t " 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 " s p o t " 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
2013-11-12 12:53:47 +00:00
- fix encoding of sqlite .py files to work around weird encoding problem
2007-09-14 14:44:14 +00:00
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)
2013-11-12 12:53:47 +00:00
- ensure that extension modules we expect are actually built rather than
2007-06-27 15:01:41 +00:00
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)
2013-11-12 12:53:47 +00:00
- split libpython into python-libs subpackage for multilib apps
2006-12-11 17:40:03 +00:00
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
2013-11-12 12:53:47 +00:00
- obsolete python-elementtree; since it requires some code tweaks, don't
2006-12-05 21:44:25 +00:00
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
2013-11-12 12:53:47 +00:00
- no longer provide the old shm module; if this is still needed, let's
2006-12-05 21:34:32 +00:00
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
2013-11-12 12:53:47 +00:00
- Fixed bug #169046 (realpath is unsafe); thanks to
2005-09-22 15:11:13 +00:00
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
2013-02-22 17:10:58 +00:00
* Sat Jun 7 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-2
2004-09-09 11:03:21 +00:00
- Rebuilt
2013-02-22 17:10:58 +00:00
* Fri Jun 6 2003 Mihai Ibanescu <misa@redhat.com> 2.2.3-1
2004-09-09 11:03:21 +00:00
- 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
2013-11-12 12:53:47 +00:00
- ftp uri's should be able to specify being rooted at the root instead of
2004-09-09 11:02:53 +00:00
where you login via ftp (#84692)
* Mon Feb 10 2003 Mihai Ibanescu <misa@redhat.com> 2.2.2-22
2013-11-12 12:53:47 +00:00
- Using newer Japanese codecs (1.4.9). Thanks to
2004-09-09 11:02:53 +00:00
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
2013-11-12 12:53:47 +00:00
- urllib2 didn't support non-anonymous ftp. add support based on how
2004-09-09 11:02:53 +00:00
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
2013-11-12 12:53:47 +00:00
- Spec file change from Matt Wilson <msw@redhat.com> to disable linking
2004-09-09 11:02:27 +00:00
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
2013-11-12 12:53:47 +00:00
- the same, but in builddirs - this will remove them from the
2004-09-09 11:01:34 +00:00
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
2013-11-12 12:53:47 +00:00
- Get rid of temporary files and .cvsignores included
2004-09-09 11:01:34 +00:00
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
2013-11-12 12:53:47 +00:00
- Obsolete subpackages if necesarry
2004-09-09 11:01:34 +00:00
- 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
2013-11-12 12:53:47 +00:00
- Don't include the _tkinter module in the main package - it' s
2004-09-09 11:01:34 +00:00
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 " r e q u i r e s " 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 " p y t h o n 2 . 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.