Commit Graph

305 Commits

Author SHA1 Message Date
David Malcolm
7e989460de 2.7.3-10: fix missing include in uid/gid handling patch (patch 157; rhbz#830405) 2012-06-26 14:53:28 -04:00
David Malcolm
663654f40f 2.7.3-9: use rpm macro for power64 (rhbz#834653) 2012-06-22 13:30:17 -04:00
David Malcolm
a96f75325b 2.7.3-8: update uid/gid handling (patch 157; rhbz#697470)
* 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-18 14:53:34 -04:00
David Malcolm
48617b34b7 add notes on upstream status of various patches 2012-05-11 19:35:48 -04:00
David Malcolm
e85703c5dd add link to upstream report for patch 147 2012-05-11 18:42:11 -04:00
David Malcolm
f522dd7cec reorder the %configure arguments (alphabetically) to help with python vs python3 diffs 2012-05-04 15:52:41 -04:00
David Malcolm
4989575f9a 2.7.3-7: renumber autotools patch from 300 to 5000 2012-05-04 15:42:02 -04:00
David Malcolm
6ad7fbc57f add markers to make it easier to diff python.spec and python3.spec 2012-05-04 15:24:43 -04:00
David Malcolm
1fa9c84f23 2.7.3-6: try again to fix test_gdb.py (patch 156; rhbz#817072)
* 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 16:20:26 -04:00
David Malcolm
9261681cd0 2.7.3-5: fix test_gdb.py (patch 156; rhbz#817072)
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-5
- fix test_gdb.py (patch 156; rhbz#817072)
2012-04-30 13:04:36 -04:00
David Malcolm
7461fe5163 2.7.3-4: avoid allocating thunks in ctypes unless absolutely necessary (patch 155; rhbz#814391)
* 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 "import ctypes" and "import uuid" when embedding
Python within httpd (patch 155; rhbz#814391)
2012-04-20 15:02:19 -04:00
David Malcolm
067ca193f6 2.7.3-3: add explicit version requirements on expat
* 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 14:09:01 -04:00
David Malcolm
9345b0fcac 2.7.3-2: fix -config symlinks (patch 112; rhbz#813836)
* Wed Apr 18 2012 David Malcolm <dmalcolm@redhat.com> - 2.7.3-2
- fix -config symlinks (patch 112; rhbz#813836)
2012-04-18 20:19:10 -04:00
David Malcolm
b0a6ae18b3 2.7.3-1
* 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-04-13 10:36:12 -04:00
David Malcolm
cd507002d5 specfile cleanups
Put the patches in numerical order, and rename:
  python-3.2.2-fork-deadlock.patch -> 00151-fork-deadlock.patch
so that it contains the patch number
2012-03-22 14:55:25 -04:00
Thomas Spura
9bf1f8f3bb fix deadlock issue 2012-02-25 21:34:54 +01:00
Toshio Kuratomi
e36d6e7112 Obsolete python-sqlite2 2012-02-17 18:43:27 -08:00
Ville Skyttä
0473b081d8 Build with $RPM_LD_FLAGS (#756862).
Use xz-compressed source tarball.
2012-01-04 22:27:36 +02:00
Dennis Gilmore
efe08214a2 - Rebuilt for glibc bug#747377 2011-10-26 19:19:42 -05:00
David Malcolm
df914e1fa2 add note about patch 149 (python3 only) 2011-10-10 17:19:56 -04:00
David Malcolm
05e8316d54 re-enable gdbm (patch 148; rhbz#742242)
* Fri Sep 30 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-16
- re-enable gdbm (patch 148; rhbz#742242)
2011-09-30 16:45:14 -04:00
David Malcolm
a43d18ff33 add a sys._debugmallocstats() function (patch 147)
* Fri Sep 16 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-15
- add a sys._debugmallocstats() function (patch 147)
2011-09-16 18:41:28 -04:00
David Malcolm
99133297f3 support OpenSSL FIPS mode in _hashlib and hashlib
* 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 01:26:38 -04:00
David Malcolm
bc10ab792a force sys.platform to be "linux2" (patch 145)
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-13
- force sys.platform to be "linux2" (patch 145)
2011-09-13 23:55:20 -04:00
David Malcolm
5764ad1aee disable gdbm module to prepare for gdbm soname bump
* Tue Sep 13 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-12
- disable gdbm module to prepare for gdbm soname bump
2011-09-13 14:37:20 -04:00
David Malcolm
e165474d90 rename and renumber patches for consistency with python3.spec 2011-09-12 17:38:37 -04:00
David Malcolm
bbbca2ccff minor fixes to reduce python/python3 delta
Rename patch 300 to the name used in python3.spec
2011-09-10 08:24:34 -04:00
David Malcolm
866e929265 rewrite of %check: fine-grained test exclusions
* Sat Sep 10 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-10
- rewrite of "check", 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-10 07:55:07 -04:00
David Malcolm
e252525e39 run selftests with "--verbose"; disable parts of test_io on ppc (rhbz#732998) 2011-09-01 16:46:48 -04:00
David Malcolm
e958211a21 python-2.7.2-tsc-on-ppc.patch now reported upstream 2011-08-31 17:58:37 -04:00
David Malcolm
73e351dac1 add --extension-suffix option to python-config (patch 130; rhbz#732808) 2011-08-23 18:28:07 -04:00
David Malcolm
92ed49e1f9 ppc --with-tsc fixes
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 16:44:23 -04:00
David Malcolm
76e85fb773 don't use --with-tsc on ppc64 debug builds (rhbz#698726) 2011-08-23 14:23:31 -04:00
David Malcolm
7e7a694abb Remove stray comment header that was unintentionally within postun scriptlet (rhbz#732475) 2011-08-22 15:36:09 -04:00
David Malcolm
85867c0a81 add rpm macros file (rhbz#731800) 2011-08-18 15:25:42 -04:00
David Malcolm
4f38fe7b1b cleanup of BuildRequires; add comment headings to specfile sections 2011-07-08 12:36:16 -04:00
David Malcolm
c4cfb20f2c reorganize test exclusions (test_openpty and test_pty seem to be failing on every arch, not just the explicitly-listed ones) 2011-06-22 14:57:53 -04:00
Dan Horák
093a2cb27a add s390(x) excluded tests 2011-06-14 00:01:28 +02:00
David Malcolm
25640e30a2 2.7.2
* 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-13 17:19:37 -04:00
Dennis Gilmore
83e90d9c5b * Tue Jun 07 2011 Dennis Gilmore <dennis@ausil.us> - 2.7.1-9
- fix sparc building by excluding failing tests RHBZ#711584
2011-06-07 15:00:01 -05:00
Peter Robinson
599d1aa47d fix compile on ARM by exlcuding failing tests on arm - RHBZ #706253 2011-05-23 10:16:50 +01:00
David Malcolm
9472351948 fix "import decimal" in the Turkish locale (patch 131; rhbz#694928) 2011-04-12 11:32:15 -04:00
Dennis Gilmore
489369c26e - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 11:47:45 -06:00
Toshio Kuratomi
970523cf96 - Switch from setting OPT to setting EXTRA_CFLAGS so we don't overwrite the
DNDEBUG flag
2011-01-21 11:59:02 -08:00
David Malcolm
f81cc66821 for now, drop "obsoletes" of python-argparse, since it interracts badly with multilib (rhbz#667984) 2011-01-07 15:42:22 -05:00
Thomas Spura
6159c1e8c7 obsolete/provide python-argparse (new in 2.7) 2011-01-07 01:02:26 +01:00
David Malcolm
1b4e012f7f fix the ppc build of the debug configuration (patch 130; rhbz#661510) 2011-01-06 11:29:20 -05:00
Dan Horák
38234095e1 sync the architectures where valgrind is available with the valgrind package 2011-01-04 15:46:43 +01:00
David Malcolm
037535ac40 Merge branch 'master' of ssh://pkgs.fedoraproject.org/python
Conflicts:
	python.spec
2010-12-28 22:48:27 -05:00
David Malcolm
4b97eebe22 * 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 "from itertools import *")
- 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-12-28 22:46:51 -05:00
Jesse Keating
fdfb460a85 - Rebuilt for gcc bug 634757 2010-09-29 15:08:20 -07:00
David Malcolm
edea14de2e fix test_structmember on 64bit-bigendian (patch 127) 2010-09-27 13:44:59 -04:00
David Malcolm
e8c4a5d5d2 fix dbm_contains on 64bit-bigendian (patch 126; rhbz#626756) 2010-09-24 19:09:23 -04:00
Toshio Kuratomi
7211207a67 - backport a patch to fix a change in behaviour in configparse. 2010-09-16 13:42:05 -04:00
David Malcolm
2ec5b35c5f * 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-09-09 14:44:48 -04:00
David Malcolm
5810c5d8b1 2.7-8: add a %check
* 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-08-18 13:35:32 -04:00
dmalcolm
7eccae0478 - fixup missing -lcrypt to "crypt" module in config patch (patch 0) 2010-07-26 18:12:31 +00:00
dmalcolm
cff1b4f3d9 - re-enable systemtap
- cherrypick upstream patch to 2to3 for "from itertools import *" traceback
    (patch 123)
2010-07-26 13:04:32 +00:00
dmalcolm
b95f6cc2ca - 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 20:04:43 +00:00
dmalcolm
a8ca61b1fb - fix reference to pyconfig.h in sysconfig that led to failure on startup
if python-devel was not installed
2010-07-22 17:38:16 +00:00
dmalcolm
c6247fd398 - 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 "configure" 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
2010-07-21 20:48:17 +00:00
dmalcolm
468e2badf2 - Stop python bailing out with an assertion failure when
UnicodeDecodeErrors occur on very large buffers (patch 120, upstream
    issue 9058)
2010-06-22 18:40:57 +00:00
dmalcolm
908bb70bf7 - 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-21 22:36:03 +00:00
dmalcolm
f078d6094f - add a flag to make it easy to turn off the debug build when
troubleshooting the rpm build
2010-06-08 15:25:02 +00:00
Dan Horák
0c63f17a1d - reading the timestamp counter is available only on some arches (see
Python/ceval.c)
- disable --with-valgrind on s390(x) arches
2010-06-05 08:11:11 +00:00
dmalcolm
20184a0a2f fix patch numbers in %changelog 2010-06-04 21:11:42 +00:00
dmalcolm
94e8505fb9 - ensure that the compiler is invoked with "-fwrapv" (rhbz#594819)
- CVE-2010-1634: fix various integer overflow checks in the audioop module
    (patch 113)
- CVE-2010-2089: further checks within the audioop module (patch 114)
- CVE-2008-5983: the new PySys_SetArgvEx entry point from r81399 (patch
    115)
2010-06-04 18:05:41 +00:00
dmalcolm
96cf82c82f - make "pydoc -k" more robust in the face of broken modules (rhbz:461419,
patch115)
2010-05-27 15:37:54 +00:00
dmalcolm
1b84fe3118 - add flags for statvfs.f_flag to the constant list in posixmodule (i.e.
"os") (patch 114)
2010-05-26 10:28:54 +00:00
dmalcolm
ab11e4c10f - 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-25 16:13:29 +00:00
dmalcolm
f020abd359 - build and install two different configurations of Python: debug and
standard, packaging the debug build in a new "python-debug" subpackage
    (patch 112)
2010-05-20 19:16:46 +00:00
dmalcolm
66ec06a0ac don't delete wsgiref.egg-info (rhbz:588426) 2010-05-04 19:45:07 +00:00
dmalcolm
000d1758a5 disable --with-valgrind on sparc arches 2010-04-26 19:15:58 +00:00
dmalcolm
76814571d0 - move the "bdist_wininst" 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-12 15:54:48 +00:00
dmalcolm
01f3a7f78b update python-gdb.py from v4 to v5 (improving performance and stability,
adding commands)
2010-04-01 02:45:00 +00:00
dmalcolm
50d7a9abea 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-25 20:35:17 +00:00
dmalcolm
461494a51c - refresh gdb hooks to v3 (reworking how they are packaged) 2010-03-24 18:30:06 +00:00
dmalcolm
a95ca83c71 remove unnecessary arch-conditionality for patch 101 2010-03-24 16:04:07 +00:00
dmalcolm
71fe1b9eb3 Add reminder to rebase python-docs when rebasing python 2010-03-20 15:27:45 +00:00
dmalcolm
912b4112f7 - 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-20 04:12:53 +00:00
dmalcolm
f5df1f8343 - fixup distutils/unixccompiler.py to remove standard library path from
rpath (patch 17)
- delete DOS batch files
2010-03-16 19:33:57 +00:00
dmalcolm
c2224367aa - 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-13 00:06:34 +00:00
Marcela Mašláňová
c6af0d08e7 - rebuild with new gdbm 2010-03-11 13:48:50 +00:00
dmalcolm
c905a3af79 - avoid having the "test" subdirectory and the files within it that are in
the core subpackage also be owned by the test subpackage (rhbz:467588)
2010-02-11 20:53:12 +00:00
dmalcolm
bdbb341f6f - 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-10 23:04:04 +00:00
dmalcolm
3dde1c9650 - add a systemtap tapset defining "python.function.entry" and
"python.function.return" to make it easy to use the static probepoint
    within Python; add an example of using the tapset to the docs
2010-02-09 22:46:34 +00:00
dmalcolm
5ae15cdb9b - 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 18:53:26 +00:00
dmalcolm
32b70397e7 - 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-09 03:00:11 +00:00
dmalcolm
4bb3fe1878 - 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-08 19:58:25 +00:00
dmalcolm
b25d6022fc - add gdb hooks for easier debugging 2010-02-06 00:37:39 +00:00
dmalcolm
9b458a58b3 - document all patches, and remove the commented-out ones 2010-01-30 00:17:35 +00:00
dmalcolm
791e9f63b0 - Address some of the issues identified in package review (bug 226342):
- update libs requirement on base package to use %%{name} for consistency's
    sake
- convert from backticks to $() syntax throughout
- wrap value of LD_LIBRARY_PATH in quotes
- convert "/usr/bin/find" requirement to "findutils"
- remove trailing periods from summaries of -devel and -tools subpackages
- fix spelling mistake in description of -test subpackage
- convert usage of $$RPM_BUILD_ROOT to %%{buildroot} throughout, for
    stylistic consistency
- supply dirmode arguments to defattr directives
2010-01-26 23:45:54 +00:00
dmalcolm
94e658aa1a - update python-2.6.2-config.patch to remove downstream customization of
build of pyexpat and elementtree modules
- add patch adapted from upstream (patch 3) to add support for building
    against system expat; add --with-system-expat to "configure" invocation
- remove embedded copy of expat from source tree during "prep"
2010-01-26 21:46:40 +00:00
dmalcolm
05912b1cfa - 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 21:41:09 +00:00
dmalcolm
671ce7735d - 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-25 18:42:04 +00:00
dmalcolm
7870ff7eed - rebuild (bug 556975) 2010-01-22 15:49:15 +00:00
dmalcolm
ad186468ee - move lib2to3 from -tools subpackage to main package (bug 556667) 2010-01-20 15:57:40 +00:00
dmalcolm
3fdd6082f9 - patch Makefile.pre.in to avoid building static library (patch111, bug
556092)
- split up the "configure" invocation flags onto individual lines
2010-01-18 18:51:20 +00:00
dmalcolm
0626de5134 - 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}
2010-01-16 01:22:56 +00:00
dmalcolm
562f19e10d - 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-12-18 03:20:50 +00:00