Commit Graph

250 Commits

Author SHA1 Message Date
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
Bill Nottingham
b56c884cb8 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:31:54 +00:00
dmalcolm
1df0c9ef00 - fixup the build when __python_ver is set (Zach Sadecki; bug 533989); use
pybasever in the files section
2009-11-12 19:36:14 +00:00
dmalcolm
8274ac04f1 "Makefile" and the config-32/64.h file are needed by distutils/sysconfig.py
_init_posix(), so we include them in the core package, along with their
    parent directories (bug 531901)
2009-10-30 03:14:04 +00:00
dmalcolm
c1f3234d44 2.6.4 2009-10-27 07:57:25 +00:00
Tomáš Mráz
0a675ff2bc - rebuilt with new openssl 2009-08-21 15:34:49 +00:00
James Antill
59ba18a89d - Update to 2.6.2 2009-07-30 21:03:26 +00:00
Jesse Keating
d62d1afef6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-26 20:00:18 +00:00
Jonathan Steffan
f3e7a450c3 Move python-config to the development package. (BZ#506153) 2009-07-04 21:27:56 +00:00
Jonathan Steffan
902d91a5cc Fix #448940 - python-tools description. 2009-06-28 18:43:28 +00:00
Ignacio Vazquez-Abrams
70aee9fc39 Replace python-hashlib and python-uuid (#484715) 2009-04-15 19:37:04 +00:00
James Antill
46f141e104 - Use system libffi
- Resolves: bug#490573
- Fix SELinux execmem problems
- Resolves: bug#488396
2009-03-17 15:38:27 +00:00
James Antill
bf04731dee - Use system libffi
- Resolves: bug#490573
- Fix SELinux execmem problems
- Resolves: bug#488396
2009-03-17 15:18:18 +00:00
James Antill
5832745d38 - Use system libffi
- Resolves: bug#490573
2009-03-17 14:05:09 +00:00
James Antill
881934a207 - Use system libffi
- Resolves: bug#490573
2009-03-17 14:04:03 +00:00
Jesse Keating
9b39cdbf03 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-26 20:29:13 +00:00