Commit Graph

221 Commits

Author SHA1 Message Date
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
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
Tomáš Mráz
ea2454b814 - rebuild with new openssl 2009-01-16 15:33:31 +00:00
James Antill
5e852d7236 - Fix distutils generated rpms.
- Resolves: bug#236535
2009-01-06 20:05:07 +00:00
Ignacio Vazquez-Abrams
1e29b88416 Enable -lcrypt for cryptmodule 2008-12-10 20:16:00 +00:00
Ignacio Vazquez-Abrams
a7ef9c1067 Update to 2.6 2008-11-29 02:03:47 +00:00
James Antill
feaea240e3 - Move to 2.5.2
- Fix CVE-2008-2316 hashlib overflow.
2008-09-30 19:36:58 +00:00
Jeremy Katz
0d7f755544 bump the release as koji seems confused into thinking a -29 already exists 2008-07-17 17:09:22 +00:00
Jeremy Katz
64354453ee - Fix up the build for new rpm 2008-07-17 14:23:34 +00:00
Jeremy Katz
0495debe93 - And actually build against db4-4.7 (#455170) 2008-07-17 13:39:58 +00:00
Tom Callaway
2d954f71f2 fix license tag, enable support for db4-4.7 (based on PLD patch) 2008-07-10 14:42:32 +00:00
James Antill
55f2717a1a - Rebuild to re-gen autoconf file due to glibc change.
- Resolves: bug#441003
2008-04-08 05:14:21 +00:00
James Antill
1146d2adee - Add more constants to socketmodule 2008-03-25 14:15:20 +00:00
James Antill
b7ef3faff5 - Add constants to socketmodule
- Resolves: bug#436560
2008-03-08 04:29:13 +00:00
Jesse Keating
cd233e5b70 - Autorebuild for GCC 4.3 2008-02-19 05:51:37 +00:00
Tom Callaway
2c97c55e4e rebuild for new tk 2008-01-13 17:06:17 +00:00
James Antill
267e1ad96e - 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-07 17:39:04 +00:00
Tom Callaway
ab3e7504f5 2008 typo, first one I've actually committed to CVS, not likely to be the
last.
2008-01-04 15:29:24 +00:00
Tom Callaway
accb85a76c Rebuild for new tcl/tk in rawhide 2008-01-04 15:28:07 +00:00
James Antill
860ed4856c - 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-07 22:50:04 +00:00
Jeremy Katz
da14e7e07e - rebuild for new libssl 2007-12-03 18:36:45 +00:00
James Antill
85670aac8c - Fix pyconfig.h comment typo.
- Add back test_support.py and the __init__.py file.
- Resolves: rhbz#387401
2007-11-30 13:42:33 +00:00
James Antill
59062c044b - Fix pyconfig.h comment typo.
- Add back test_support.py and the __init__.py file.
- Resolves: rhbz#387401
2007-11-30 05:31:41 +00:00
Mike Bonnet
3939a12371 fix marshalling of objects in xmlrpclib (python bug #1739842) 2007-10-16 17:03:22 +00:00
Jeremy Katz
e574c7ed96 - fix encoding of sqlite .py files to work around weird encoding problem in
Turkish (#283331)
2007-09-14 14:44:14 +00:00
Jeremy Katz
b7dfd0ae4c - work around problems with multi-line plural specification (#252136) 2007-09-10 15:42:58 +00:00
Jeremy Katz
ce994f2961 - rebuild against new expat 2007-08-28 13:50:29 +00:00
Jeremy Katz
c4c08b1926 make sure we're not ending up with just compat-db fulfilling the
requirement
2007-08-14 14:45:03 +00:00
Jeremy Katz
50ca1838b0 - build against db4.6 2007-08-14 14:38:32 +00:00
Dennis Gilmore
8cf5a31273 add sparc64 to the list of archs with _pyconfig64_h 2007-08-14 14:20:58 +00:00
Jeremy Katz
7e007c79d1 right file name 2007-08-10 14:18:01 +00:00
Jeremy Katz
5ee001f5b1 - fix ctypes again on some arches (Hans de Goede, #251637) 2007-08-10 14:13:15 +00:00
Jeremy Katz
7c4cd75d21 - link curses modules with ncursesw (#246385) 2007-07-06 20:32:38 +00:00
Jeremy Katz
27b03943d0 - fix _elementtree.so build (#245703)
- ensure that extension modules we expect are actually built rather than
    having them silently fall out of the package
2007-06-27 15:01:41 +00:00
Jeremy Katz
787d525940 - link with system expat (#245703) 2007-06-26 23:22:09 +00:00
Jeremy Katz
64142ef5c6 - rebuild to take advantage of hardlinking between identical pyc/pyo files 2007-06-21 12:16:20 +00:00
Jeremy Katz
440a06e890 - update to python 2.5.1 2007-05-31 20:09:48 +00:00
Jeremy Katz
920a5e3f5e - fix alpha build (#231961) 2007-04-10 14:23:41 +00:00
Jeremy Katz
53b3a204d2 - tcl/tk was reverted; rebuild again 2007-02-13 14:09:26 +00:00
Jeremy Katz
759563caf1 - rebuild for new tcl/tk 2007-02-01 14:14:11 +00:00
Miroslav Lichvar
15bc50a505 - link with ncurses 2007-01-16 17:27:02 +00:00
Jeremy Katz
6520c8583b - fix extensions to use shared libpython (#219564)
- all 64bit platforms need the regex fix (#122304)
2007-01-06 21:43:04 +00:00
Jeremy Katz
d7072525be - fix ctypes to not require execstack (#220669) 2007-01-03 17:56:11 +00:00
Jeremy Katz
68ac77b214 - don't link against compat-db (Robert Scheck) 2006-12-15 16:04:04 +00:00
Jarod Wilson
2fe2afdc32 fix invalid assert in debug mode (upstream changeset 52622) -- required for
numpy build against python 2.5
2006-12-13 18:16:04 +00:00
Jeremy Katz
7b22577247 - obsolete/provide python-ctypes (#219256) 2006-12-12 15:54:31 +00:00
Jeremy Katz
5b28df5dc6 - fix atexit traceback with failed syslog logger (#218214)
- split libpython into python-libs subpackage for multilib apps embedding
    python interpreters
2006-12-11 17:46:26 +00:00
Jeremy Katz
87c8da2374 - fix atexit traceback with failed syslog logger (#218214)
- split libpython into python-libs subpackage for multilib apps embedding
    python interpreters
2006-12-11 17:40:03 +00:00
Jeremy Katz
12cb76fad1 - disable installation of .egg-info files for now 2006-12-06 22:15:01 +00:00
Jeremy Katz
bca2575b8b bump version add some more provides/obsoletes 2006-12-05 21:44:25 +00:00
Jeremy Katz
60b7a5f84f auto-import python-2.5-0 on branch devel from python-2.5-0.src.rpm 2006-12-05 21:34:32 +00:00
Jeremy Katz
d0fd1b0b3c - rebuild against new db 2006-11-10 19:35:09 +00:00
Jeremy Katz
1a78970430 - update to 2.4.4 2006-10-23 17:54:54 +00:00
Jesse Keating
043f5702eb bump for gcc bug 2006-10-01 21:18:20 +00:00
Mihai Ibanescu
a74bf7b843 Fixing changelog message 2006-09-26 20:37:04 +00:00
Mihai Ibanescu
faf70c1fa2 Fixed bug #208166 / CVE-2006-4980: repr unicode buffer overflow 2006-09-26 20:05:56 +00:00
Mihai Ibanescu
3af5a6059a Fixed bug #201434 2006-08-17 21:43:38 +00:00
Mihai Ibanescu
6af7b35796 Fixed bug #198971 (case conversion not locale safe in logging library) 2006-07-21 12:41:54 +00:00
Mihai Ibanescu
4d8ff39217 Fixed bug #199373 (on some platforms CFLAGS is needed when linking) 2006-07-20 17:02:51 +00:00
Mihai Ibanescu
e9210a2ee0 added dist tag back 2006-07-17 13:14:06 +00:00
Jesse Keating
bfb71df671 bumped for rebuild 2006-07-12 07:56:21 +00:00
Jeremy Katz
0d8e7a55cc - and fix it for real 2006-06-13 18:18:32 +00:00
Jeremy Katz
441dd7e8fb - fix python-devel on ia64 2006-06-13 17:11:28 +00:00
Mihai Ibanescu
00d689b44e Fixing typo in pyconfig macros 2006-06-13 14:34:38 +00:00
Mihai Ibanescu
80076c065e Stray SOURCE8 reference removed 2006-06-13 14:26:43 +00:00
Mihai Ibanescu
b50c49caac Fixing date for changelog entry 2006-06-13 14:18:36 +00:00
Mihai Ibanescu
f1d2531859 Fixed python-devel to be multilib friendly (bug #192747, #139911) 2006-06-13 13:47:45 +00:00
Mihai Ibanescu
88549951ff Only copying mkhowto from the Docs - we don't need perl dependencies from
python-tools.
2006-06-13 12:14:02 +00:00
Mihai Ibanescu
9599189c76 Fixed bug #121198 2006-06-12 22:21:15 +00:00
Mihai Ibanescu
d6509bbe59 pydoc was already part of the -tools package, moving into main python
package
2006-06-12 20:52:12 +00:00
Mihai Ibanescu
1307d4fdc0 Fixing stray % 2006-06-12 20:29:58 +00:00
Mihai Ibanescu
44819ff56c Fixed #192592 and #167468 2006-06-12 19:36:01 +00:00