Commit Graph

340 Commits

Author SHA1 Message Date
David Malcolm
e1c7be02b9 - Move test.support to core package (rhbz#596258)
- Add various missing __pycache__ directories to payload
2010-09-08 19:01:56 -04:00
Toshio Kuratomi
13c4a4f869 - Add __pycache__ directory for site-packages 2010-08-22 14:48:47 -04:00
Thomas Spura
762f268f6b forgot to bump the release 2010-08-22 15:11:59 +02:00
Thomas Spura
1559439d3f correct latest patch edit... 2010-08-22 14:42:27 +02:00
Thomas Spura
997d5a24f2 - on 64bit "stdlib" was still "/usr/lib/python*" (modify *lib64.patch)
- make find-provides-without-python-sonames.sh 64bit aware
2010-08-22 14:40:58 +02:00
David Malcolm
7eb10c8dbe 3.2a1
* Sat Aug 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.0.a1
- 3.2a1; add alphatag
- rework %%files in the light of PEP 3147 (__pycache__)
- drop our configuration patch to Setup.dist (patch 0): setup.py should do a
better job of things, and the %%files explicitly lists our modules (r82746
appears to break the old way of doing things).  This leads to various modules
changing from "foomodule.so" to "foo.so".  It also leads to the optimized build
dropping the _sha1, _sha256 and _sha512 modules, but these are provided by
_hashlib; _weakref becomes a builtin module; xxsubtype goes away (it's only for
testing/devel purposes)
- fixup patches 3, 4, 6, 8, 102, 103, 105, 111 for the rebase
- remove upstream patches: 7 (system expat), 106, 107, 108 (audioop reformat
plus CVE-2010-1634 and CVE-2010-2089), 109 (CVE-2008-5983)
- add machinery for rebuilding "configure" and friends, using the correct
version of autoconf (patch 300)
- patch the debug build's usage of COUNT_ALLOCS to be less verbose (patch 125)
- "modulator" was removed upstream
- drop "-b" from patch applications affecting .py files to avoid littering the
installation tree
2010-08-21 18:08:26 -04:00
David Malcolm
815994f42a Add with_debug_build conditional 2010-08-21 16:26:53 -04:00
Toshio Kuratomi
ab3441ad0d * Fri Aug 6 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-13
- Turn on computed-gotos.
- Fix for parallel make and graminit.c
2010-08-19 14:13:51 -04:00
Toshio Kuratomi
4c1f6daa7c * Fri Aug 6 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-13
- Turn on computed-gotos.
- Fix for parallel make and graminit.c
2010-08-19 14:12:57 -04:00
Toshio Kuratomi
91b78044d5 * Fri Aug 6 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-13
- Turn on computed-gotos.
2010-08-06 17:16:23 -04:00
Fedora Release Engineering
db6a64a5ec dist-git conversion 2010-07-29 10:53:57 +00:00
dmalcolm
9b81ebe91e rebuild 2010-07-02 20:32:10 +00:00
dmalcolm
03b7fb2d62 - Fix an incompatibility between pyexpat and the system expat-2.0.1 that
led to a segfault running test_pyexpat.py (patch 110; upstream issue
    9054; rhbz#610312)
2010-07-02 15:49:25 +00:00
dmalcolm
5c9590b543 - ensure that the compiler is invoked with "-fwrapv" (rhbz#594819)
- reformat whitespace in audioop.c (patch 106)
- CVE-2010-1634: fix various integer overflow checks in the audioop module
    (patch 107)
- CVE-2010-2089: further checks within the audioop module (patch 108)
- CVE-2008-5983: the new PySys_SetArgvEx entry point from r81399 (patch
    109)
2010-06-04 19:56:30 +00:00
Dan Horák
66cf571b61 - reading the timestamp counter is available only on some arches (see
Python/ceval.c)
2010-05-27 10:59:22 +00:00
dmalcolm
d73e38d70d - add flags for statvfs.f_flag to the constant list in posixmodule (i.e.
"os") (patch 105)
2010-05-26 10:34:27 +00:00
dmalcolm
021b2bcd4a - add configure-time support for COUNT_ALLOCS and CALL_PROFILE debug
options (patch 104); enable them and the WITH_TSC option within the
    debug build
2010-05-25 17:16:11 +00:00
dmalcolm
55cf58012d - build and install two different configurations of Python 3: debug and
standard, packaging the debug build in a new "python3-debug" subpackage
    (patch 103)
2010-05-24 23:45:40 +00:00
dmalcolm
bbd09cc947 - exclude test_http_cookies when running selftests, due to hang seen on
http://koji.fedoraproject.org/koji/taskinfo?taskID=2088463 (cancelled
    after
11 hours)
- update python-gdb.py from v5 to py3k version submitted upstream
2010-04-13 17:36:08 +00:00
dmalcolm
80325d9c24 update python-gdb.py from v4 to v5 (improving performance and stability,
adding commands)
2010-04-01 02:53:39 +00:00
dmalcolm
da0826ad3b - 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:38:13 +00:00
dmalcolm
485fd76f7f refresh gdb hooks to v3 (reworking how they are packaged) 2010-03-24 19:57:26 +00:00
dmalcolm
eeb0b9ba0c - update to 3.1.2: http://www.python.org/download/releases/3.1.2/
- drop upstreamed patch 2 (.pyc permissions handling)
- drop upstream patch 5 (fix for the test_tk and test_ttk_* selftests)
- drop upstreamed patch 200 (path-fixing script)
2010-03-21 21:07:31 +00:00
dmalcolm
536a207750 fix typo in libpython.stp (rhbz:575336) 2010-03-20 15:18:41 +00:00
dmalcolm
71040c91d3 - add pyfuntop.stp example (source 7)
- convert usage of $$RPM_BUILD_ROOT to %%{buildroot} throughout, for
    consistency with python.spec
2010-03-12 22:40:23 +00:00
tomspur
3d86c8fa80 rebuild for new version of redhat-rpm-config 2010-02-15 13:59:41 +00:00
dmalcolm
c969609dfe - split configure options into multiple lines for easy of editing
- add systemtap static markers (wcohen, mjw, dmalcolm; patch 8), a
    systemtap tapset defining "python.function.entry" and
    "python.function.return" to make the markers easy to use (dmalcolm;
    source 5), and an example of using the tapset to the docs (dmalcolm;
    source 6) (rhbz:545179)
2010-02-12 21:38:52 +00:00
dmalcolm
d5a5bf3c65 - 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:51:42 +00:00
dmalcolm
b2154fa79e - add gdb hooks for easier debugging (Source 4) 2010-02-08 20:41:07 +00:00
dmalcolm
1ae4dd3f5e - update python-3.1.1-config.patch to remove downstream customization of
build of pyexpat and elementtree modules
- add patch adapted from upstream (patch 7) to add support for building
    against system expat; add --with-system-expat to "configure" invocation
- remove embedded copies of expat and zlib from source tree during "prep"
2010-01-28 19:56:39 +00:00
dmalcolm
4aab458c04 - introduce %%{dynload_dir} macro
- 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
- introduce a macros.pybytecompile source file, to help with packaging
    python3 modules (Source3; written by Toshio)
- rename "2to3-3" to "python3-2to3" to better reflect python 3 module
    packaging plans
2010-01-28 19:09:18 +00:00
dmalcolm
113725aa70 - change python-3.1.1-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:44:42 +00:00
dmalcolm
d5d2307015 - add %%py3dir macro to macros.python3 (to be used during unified python
2/3 builds for setting up the python3 copy of the source tree)
2010-01-22 22:00:30 +00:00
dmalcolm
6a82c1949a - move lib2to3 from -tools subpackage to main package (bug 556667) 2010-01-20 16:01:25 +00:00
dmalcolm
aa4aef22cc - patch Makefile.pre.in to avoid building static library (patch 6, bug
556092)
2010-01-18 17:59:07 +00:00
dmalcolm
6859f23088 - 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
2010-01-16 01:20:39 +00:00
dmalcolm
a9e268f9c6 - fix the URLs output by pydoc so they point at python.org's 3.1 build of
the docs, rather than the 2.6 build
2010-01-15 21:08:54 +00:00
dmalcolm
37de6741fa - replace references to /usr with %%{_prefix}; replace references to
/usr/include with %%{_includedir} (Toshio)
2010-01-13 22:33:42 +00:00
dmalcolm
a3483f912e Initial import (from python3-3.1.1-13) 2010-01-13 21:25:18 +00:00
Jason ティビツ
533ae8c505 Setup of module python3 2010-01-13 20:39:58 +00:00