Commit Graph

389 Commits

Author SHA1 Message Date
Dan Horák
70025c7217 - build with valgrind on ppc64le
- disable test_gdb on s390(x) until rhbz#1181034 is resolved
2015-01-12 07:02:47 -05:00
Robert Kuska
86a9a20d91 Backport patches from other pythons versions 2014-12-16 13:41:03 +01:00
Robert Kuska
6afc2ff1f8 Update tests to reflect latest changes in OpenSSL SSLv23 method 2014-12-11 14:39:08 +01:00
Matej Stuchlik
a8e96a15a3 Update to Python 3.4.2 2014-11-13 14:39:20 +01:00
Slavek Kabrda
e0539fb2e7 Fix CVE-2014-4650 - CGIHTTPServer URL handling
Resolves: rhbz#1113529
2014-11-03 15:03:12 +01:00
Karsten Hopp
8d54999cc4 exclude test_gdb on ppc* (rhbz#1132488) 2014-09-07 12:29:29 +02:00
Slavek Kabrda
ed631dfc76 Update rewheel patch with fix from https://github.com/bkabrda/rewheel/pull/1 2014-08-21 16:40:42 +02:00
Peter Robinson
2d77c4da1b - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 22:05:56 +00:00
Miro Hrončok
8430e60b7b Back to Bash wrapper, as upstream in 3.4 also uses Bash for some reasons
This reverts commit 95a55939d7.
This reverts commit 41a68301c7.
2014-07-01 12:17:09 +02:00
Miro Hrončok
95a55939d7 Rewrite the config wrapper from Bash to Python, so it can be interpreted with Python 2014-06-30 18:53:45 +02:00
Peter Robinson
9012997174 aarch64 has valgrind, just list those that don't support it with a ifnarch 2014-06-08 16:27:22 +01:00
Dennis Gilmore
a292e5b212 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 19:38:08 -05:00
Karsten Hopp
cb99f9f0e5 bump release and rebuild to link with the correct tcl/tk libs on ppcle 2014-06-04 23:16:38 +02:00
Matej Stuchlik
1014fca077 Change paths to bundled projects in rewheel patch 2014-06-03 22:28:46 +02:00
Matej Stuchlik
95668bdbb2 Add explanation of the bootstraping process 2014-05-30 11:54:32 +02:00
Miro Hrončok
f188880d6c In config script, use uname -m to write the arch 2014-05-30 11:41:17 +02:00
Dan Horák
2a2186c470 - update the arch list where valgrind exists - %power64 includes also
ppc64le which is not supported yet
2014-05-29 18:10:59 +02:00
Miro Hrončok
567c9678be Forward arguments to the arch specific config script
Resolves: rhbz#1102683
2014-05-29 15:17:39 +02:00
Miro Hrončok
3d53dceca1 Rename python3.Xm-config script to arch specific.
Resolves: rhbz#1091815
2014-05-28 15:08:24 +02:00
Slavek Kabrda
29b96892f1 Also exclude test_faulthandler on aarch64 2014-05-28 09:27:08 +02:00
Dennis Gilmore
aeae72b51c add message about building for tcl-8.6 2014-05-27 13:17:25 -05:00
Slavek Kabrda
f30edc5e6d Use python3-*, not python-* runtime requires on setuptools and pip 2014-05-27 17:33:00 +02:00
Slavek Kabrda
bea65b85a1 Merge branch 'python3.4'
Conflicts:
	python3.spec
2014-05-27 17:15:10 +02:00
Matej Stuchlik
cfa9e5212d Update rewheel module 2014-05-27 12:42:42 +02:00
Miro Hrončok
c75d3be7c8 Fix multilib dependencies.
Resolves: rhbz#1091815
2014-05-26 19:38:24 +02:00
Matej Stuchlik
e602f7a288 Update to Python 3.4.1 2014-05-26 00:23:55 +02:00
Matej Stuchlik
da5702456f Fix test_gdb failure on ppc64le (rhbz#1095355) 2014-05-25 23:35:06 +02:00
Miro Hrončok
8ab4c2d31f Add macro %python3_version_nodots 2014-05-22 13:25:18 +02:00
Miro Hrončok
c21eb4aa37 Add macro %python3_version_nodots 2014-05-22 13:23:29 +02:00
Jaroslav Škarvada
3a3febacac - Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 2014-05-21 12:35:44 +02:00
Matej Stuchlik
1746188b35 Disable test_faulthandler, test_gdb on aarch64 (rhbz#1045193) 2014-05-18 23:39:35 +02:00
Matej Stuchlik
06247262fe Don't add declaration-after-statement for extension modules 2014-05-16 15:12:11 +02:00
Matej Stuchlik
f498010aff Add setuptools and pip to Requires 2014-05-12 12:22:48 +02:00
Matej Stuchlik
86b7a9ddd9 Build with rewheel 2014-04-29 14:30:05 +02:00
Matej Stuchlik
516eb7a233 Point __os_install_post to correct brp-* files
New version of redhat-rpm-cofig no longer contains them in
/usr/lib/rpm/redhat
2014-04-29 11:32:55 +02:00
Matej Stuchlik
7d579ea103 Temporarily disable tests requiring SIGHUP (rhbz#1088233) 2014-04-18 09:50:21 +02:00
Matej Stuchlik
11fb599edb Update to Python 3.4 final
Also merge patches from master and add the rewheel module
2014-04-15 10:45:35 +02:00
Matej Stuchlik
e9b7bf0d4b Update to Python 3.4 RC2 2014-03-07 10:59:27 +01:00
Slavek Kabrda
bdf58d653f Fix loading of pyc files by ModuleFinder.load_module.
Resolves: rhbz#1060338
2014-03-05 09:02:54 +01:00
Slavek Kabrda
b8daf7369b Enable loading sqlite extensions.
Resolves: rhbz#1066938
2014-02-19 14:30:28 +01:00
Tomas Radej
c8f16f3941 Fixed buffer overflow (upstream patch)
Resolves: rhbz#1062374
2014-02-10 14:42:12 +01:00
Slavek Kabrda
a39396d0b5 Install RPM macro files to proper directory. 2014-02-04 13:36:22 +01:00
Slavek Kabrda
db2025edc1 Fix tests introduced in beta 2 failing because of COUNT_ALLOCS 2014-01-10 10:40:16 +01:00
Slavek Kabrda
de14a01ddc Temporarily add BR: net-tools to workaround upstream reported test issue 2014-01-08 10:37:25 +01:00
Slavek Kabrda
61fd48d1a4 Update to Python 3.4 beta 2.
- Refreshed patches: 55 (systemtap), 146 (hashlib-fips), 154 (test_gdb noise)
- Dropped patches: 114 (statvfs constants), 177 (platform unicode)
2014-01-08 10:01:56 +01:00
Slavek Kabrda
3aee76e8b6 Add opcode module to %files 2013-11-28 10:43:42 +01:00
Slavek Kabrda
cb97d29166 Use --without-ensurepip configuration option for now. 2013-11-28 10:27:48 +01:00
Slavek Kabrda
bf35167937 Update to Python 3.4 beta 1.
- Refreshed patches: 102 (lib64), 111 (no static lib), 125 (less verbose COUNT
ALLOCS), 141 (fix COUNT_ALLOCS in test_module), 146 (hashlib fips),
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port)
- Removed patch 00187 (remove pthread atfork; upstreamed)
2013-11-27 13:03:43 +01:00
Bohuslav Kabrda
b282179093 Add asyncio, _sha3 and _testimportmultiple to files. 2013-11-08 15:04:01 +01:00
Bohuslav Kabrda
e5c246c5f5 Change test/support in files to match upstream 2013-11-08 14:32:40 +01:00
Bohuslav Kabrda
671e4bf0ee atexit now gets linked into libpython3.X.so 2013-11-08 14:08:24 +01:00
Bohuslav Kabrda
84c534ef77 Disable tests in debug build that are irrelevant and fail because of COUNT_ALLOCS 2013-11-08 13:33:44 +01:00
Bohuslav Kabrda
f2d9a8144b Don't hardode Python version in venv binary, use the pybasever macro there. 2013-11-08 08:09:40 +01:00
Bohuslav Kabrda
f0b0ffc86c Rebase the hashlib patch + adapt it to _sha3 being used from stdlib 2013-11-07 15:59:40 +01:00
Bohuslav Kabrda
0153564bb6 Add a temporary workaround for lib2to3 tests failure (to be removed when we figure out things about hashlib+fips patch) 2013-11-06 14:58:05 +01:00
Matej Stuchlik
54afb027bd Change behavior of ssl.match_hostname() to follow RFC 6125 (rhbz#1023742) 2013-11-06 10:40:32 +01:00
Bohuslav Kabrda
dfb79526a3 Temporarily turn of multicore build differently, using -J1 broke test_distutils 2013-11-05 15:39:12 +01:00
Bohuslav Kabrda
f5250ecae7 Update to Python 3.4 alpha 4.
- Refreshed patches: 55 (systemtap), 102 (lib64), 111 (no static lib),
114 (statvfs flags), 132 (unittest rpmbuild hooks), 134 (fix COUNT_ALLOCS in
test_sys), 143 (tsc on ppc64), 146 (hashlib fips), 153 (test gdb noise),
157 (UID+GID overflows), 173 (ENOPROTOOPT in bind_port), 186 (dont raise
from py_compile)
- Removed patches: 129 (test_subprocess nonreadable dir - no longer fails in
Koji), 142 (the mock issue that caused this is fixed)
- Added patch 187 (remove thread atfork) - will be in next version
- Refreshed script for checking pyc and pyo timestamps with new ignored files.
- The fips patch is disabled for now until upstream makes a final decision
what to do with sha3 implementation for 3.4.0.
2013-11-05 12:40:00 +01:00
Bohuslav Kabrda
3dbbc14e76 Bytecompile all *.py files properly during build (rhbz#1023607) 2013-10-30 11:42:57 +01:00
Matej Stuchlik
8aaa11c1b0 Added fix for CVE-2013-4238 (rhbz#996399) 2013-08-23 10:12:43 +02:00
Dennis Gilmore
fbccd698d3 fix up indentation in arm patch 2013-07-26 15:09:54 -05:00
Dennis Gilmore
486eb43517 disable a test that fails on arm
- enable valgrind support on arm arches
2013-07-26 12:13:47 -05:00
Bohuslav Kabrda
001a27780c Fix build with libffi containing multilib wrapper for ffi.h (rhbz#979696). 2013-07-02 08:21:42 +02:00
Bohuslav Kabrda
22e1cc9fb8 Add patch for CVE-2013-2099 (rhbz#963261). 2013-05-20 08:04:03 +02:00
Bohuslav Kabrda
d4ea6cd725 Drop the forgotten gdb test patch that was merged upstream 2013-05-16 16:49:09 +02:00
Bohuslav Kabrda
a60a842ced Updated to Python 3.3.2.
- Refreshed patches: 153 (gdb test noise)
- Dropped patches: 175 (configure -Wformat, fixed upstream)
- Synced patch numbers with python.spec.
2013-05-16 16:36:38 +02:00
David Malcolm
9d658b4031 3.3.1-4: fix test.test_gdb.PyBtTests.test_threads on ppc64 (rhbz#960010)
* Thu May  9 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.1-4
- fix test.test_gdb.PyBtTests.test_threads on ppc64 (patch 181; rhbz#960010)
2013-05-09 12:19:36 -04:00
Bohuslav Kabrda
f9db6e6f65 Add patch that enables building on ppc64p7 (replace the sed, so that
we get consistent with python2 spec and it's more obvious that we're doing it.
2013-05-02 09:42:03 +02:00
Bohuslav Kabrda
b935d25938 Add fix for gdb tests failing on arm, rhbz#951802. 2013-04-24 11:47:45 +02:00
Bohuslav Kabrda
50232369f6 Updated to Python 3.3.1.
- Refreshed patches: 55 (systemtap), 111 (no static lib), 146 (hashlib fips),
153 (fix test_gdb noise), 157 (uid, gid overflow - fixed upstream, just
keeping few more downstream tests)
- Removed patches: 3 (audiotest.au made it to upstream tarball)
- Removed workaround for http://bugs.python.org/issue14774, discussed in
http://bugs.python.org/issue15298 and fixed in revision 24d52d3060e8.
2013-04-11 10:24:30 +02:00
David Malcolm
b4d586e100 3.3.0-10: fix gcc 4.8 incompatibility (rhbz#927358)
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-10
- fix gcc 4.8 incompatibility (rhbz#927358); regenerate autotool intermediates
2013-03-25 16:12:35 -04:00
David Malcolm
ff7dfb66f1 3.3.0-9: renumber patches to keep them in sync with python.spec
* Mon Mar 25 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-9
- renumber patches to keep them in sync with python.spec

Specifically, renumber:
  00174 -> 00176
  00175 -> 00177
2013-03-25 16:01:59 -04:00
Toshio Kuratomi
76e9a6b729 Bump release and build 2013-03-15 14:26:38 -07:00
Toshio Kuratomi
7c28d2c61c Fix error in platform.platform() when non-ascii byte strings are decoded to
unicode (rhbz#922149)
2013-03-15 14:25:57 -07:00
Toshio Kuratomi
e7214707e2 Fix up shared library extension (rhbz#889784) 2013-03-14 08:18:03 -07:00
Karsten Hopp
42e503c07a add ppc64p7 build target, optimized for Power7 2013-03-07 15:45:58 +01:00
David Malcolm
260ceea047 3.3.0-5: add workaround for ENOPROTOOPT seen running selftests in Koji (rhbz#913732)
* Mon Mar  4 2013 David Malcolm <dmalcolm@redhat.com> - 3.3.0-5
- add workaround for ENOPROTOOPT seen running selftests in Koji
(rhbz#913732)
2013-03-04 16:30:51 -05:00
David Malcolm
19e1adc11e 3.3.0-4: remove config flag from /etc/rpm/macros.{python3|pybytecompile}
https://fedorahosted.org/fpc/ticket/259
2013-03-03 20:05:58 -05:00
David Malcolm
a2f645393c 3.3.0-3: add aarch64 (rhbz#909783) 2013-02-10 23:30:34 -05:00
David Malcolm
81ac8c85fc 3.3.0-2: add BR on bluez-libs-devel (rhbz#879720) 2012-12-11 15:42:13 -05:00
David Malcolm
513a269422 3.3.0
3.3.0rc3 -> 3.3.0; drop alphatag
2012-09-29 17:54:42 -04:00
David Malcolm
3705b6491b 3.3.0-0.6.rc3
3.3.0rc2 -> 3.3.0rc3
2012-09-24 16:36:40 -04:00
David Malcolm
78727dec4a 3.3.0-0.5.rc2
3.3.0rc1 -> 3.3.0rc2; refresh patch 55
2012-09-10 10:48:19 -04:00
David Malcolm
92d712a0d8 3.3.0-0.4.rc1
3.3.0b2 -> 3.3.0rc1; refresh patches 3, 55
2012-08-27 12:54:05 -04:00
David Malcolm
62d7207dd0 3.3.0-0.3.b2
* Mon Aug 13 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.3.b2
- 3.3b1 -> 3.3b2; drop upstreamed patch 152; refresh patches 3, 102, 111,
134, 153, 160; regenenerate autotools patch; rework systemtap patch to work
correctly when LANG=C (patch 55); importlib.test was moved to
test.test_importlib upstream
2012-08-13 21:11:12 -04:00
Karsten Hopp
d474ecc631 disable some failing checks on PPC* (rhbz#846849) 2012-08-14 01:05:00 +02:00
David Malcolm
6a38560c1b Merge branch 'python3.3'
Conflicts:
	python3.spec
2012-08-03 18:01:03 -04:00
David Malcolm
48d20485db skip some tests within test_socket (patch 163) 2012-07-24 15:59:17 -04:00
David Malcolm
f2b86e2170 add BuildRequires: xz-devel (for _lzma module) 2012-07-24 14:59:47 -04:00
David Malcolm
08ca53faca fix distutils.sysconfig traceback (patch 162) 2012-07-24 12:06:07 -04:00
David Malcolm
823581e851 renumber patches (158->160, 159->161) for consistency with python.spec 2012-07-24 11:21:34 -04:00
David Malcolm
8d03cf22c7 workaround erroneously shared _sysconfigdata.py upstream issue #14774 2012-07-24 06:12:06 -04:00
David Malcolm
6616179565 fix test_tools (patch 159) 2012-07-23 14:43:43 -04:00
David Malcolm
3b4dd24c42 fix test_posix (patch 158) 2012-07-23 14:05:53 -04:00
Dennis Gilmore
99240249b9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-21 06:37:12 -05:00
David Malcolm
1c94c1ae4e 3.3.0-0.1.b1: 3.2 -> 3.3
* Fri Jul 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.0-0.1.b1
- 3.2 -> 3.3: https://fedoraproject.org/wiki/Features/Python_3.3
- 3.3.0b1: refresh patches 3, 55, 102, 111, 113, 114, 134, 157; drop upstream
patch 147; regenenerate autotools patch; drop "--with-wide-unicode" from
configure (PEP 393); "plat-linux2" -> "plat-linux" (upstream issue 12326);
"bz2" -> "_bz2" and "crypt" -> "_crypt"; egg-info files are no longer shipped
for stdlib (upstream issues 10645 and 12218); email/test moved to
test/test_email; add /usr/bin/pyvenv[-3.3] and venv module (PEP 405); add
_decimal and _lzma modules; make collections modules explicit in payload again
(upstream issue 11085); add _testbuffer module to tests subpackage (added in
upstream commit 3f9b3b6f7ff0)
2012-07-20 16:34:09 -04:00
David Malcolm
cc2383541f 3.2.3-10: use macro for power64 (rhbz#834653) 2012-06-22 13:43:37 -04:00
David Malcolm
a25ec0b524 3.2.3-9: fix missing include in uid/gid handling patch (patch 157; rhbz#830405) 2012-06-19 12:01:07 -04:00
Bohuslav Kabrda
f011cdc3fa fix tapset for debug build 2012-06-07 10:35:31 +02:00
David Malcolm
7989368053 3.2.3-7: update uid/gid handling (patch 157; rhbz#697470)
* Tue May 15 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-7
- 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:57:53 -04:00
David Malcolm
bbb50840b1 add notes on upstream status of various patches 2012-05-11 19:35:32 -04:00
David Malcolm
c04f314ee5 add link to upstream report for patch 147 2012-05-11 18:42:30 -04:00
David Malcolm
ecc5705ec8 reorder the %configure arguments (alphabetically) to help with python vs python3 diffs 2012-05-04 15:53:42 -04:00
David Malcolm
8cb91f09ce 3.2.3-6: renumber autotools patch from 300 to 5000 2012-05-04 15:42:31 -04:00
David Malcolm
6b34963600 add markers to make it easier to diff python.spec and python3.spec 2012-05-04 15:24:50 -04:00
David Malcolm
938d1d78ce 3.2.3-5: fix test_gdb.py (patch 156; rhbz#817072)
* Mon Apr 30 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-5
- fix test_gdb.py (patch 156; rhbz#817072)
2012-05-01 11:40:48 -04:00
David Malcolm
8a28107df1 3.2.3-4: avoid allocating thunks in ctypes unless absolutely necessary (patch 155; rhbz#814391)
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.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:28:39 -04:00
David Malcolm
5974f19981 3.2.3-3: add explicit version requirements on expat to avoid linkage problems with XML_SetHashSalt
* Fri Apr 20 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-3
- add explicit version requirements on expat to avoid linkage problems with
XML_SetHashSalt
2012-04-20 15:24:24 -04:00
David Malcolm
3170c05485 3.2.3-2
* Thu Apr 12 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-2
- fix test_gdb (patch 153)
2012-04-12 11:18:08 -04:00
David Malcolm
28856627bf 3.2.3-1
* Wed Apr 11 2012 David Malcolm <dmalcolm@redhat.com> - 3.2.3-1
- 3.2.3; refresh patch 102 (lib64); drop upstream patches 148 (gdbm magic
values), 149 (__pycache__ fix); add patch 152 (test_gdb regex)
2012-04-11 20:20:08 -04:00
Thomas Spura
ae2fc1c043 use newly installed python for byte compiling (#787498) the macros.pybytecompile way
Signed-off-by: Thomas Spura <thomas.spura@gmail.com>
2012-02-09 22:21:07 +01:00
Thomas Spura
e6314e68e1 use newly installed python for byte compiling (#787498) the macros.pybytecompile way
Signed-off-by: Thomas Spura <thomas.spura@gmail.com>
2012-02-06 11:28:14 +01:00
Thomas Spura
1c26b68ffe use newly installed python for byte compiling (#787498)
Signed-off-by: Thomas Spura <thomas.spura@gmail.com>
2012-02-05 20:32:34 +01:00
Ville Skyttä
8a69a67643 Build with $RPM_LD_FLAGS (#756863).
Use xz-compressed source tarball.
2012-01-04 22:15:40 +02:00
Karsten Hopp
1af13838fd disable rAssertAlmostEqual in test_cmath on PPC (#750811) 2011-12-08 01:44:05 +01:00
Rex Dieter
8c9e381740 python3-devel missing autogenerated pkgconfig() provides (#746751)
In short, use
/usr/lib/rpm/redhat/find-provides
intead of
/usr/lib/rpm/find-provides
2011-10-17 13:48:14 -05:00
David Malcolm
e2a3db4ded 3.2.2-8: cherrypick fix for distutils not using __pycache__ when byte-compiling (rhbz#722578)
* Mon Oct 10 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-8
- cherrypick fix for distutils not using __pycache__ when byte-compiling
files (rhbz#722578)
2011-10-10 17:14:54 -04:00
David Malcolm
9b8d221300 re-enable gdbm (patch 148; rhbz#742242)
* Fri Sep 30 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-7
- re-enable gdbm (patch 148; rhbz#742242)
2011-09-30 16:46:26 -04:00
David Malcolm
ab415c6cdd add a sys._debugmallocstats() function (patch 147)
* Fri Sep 16 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-6
- add a sys._debugmallocstats() function (patch 147)
2011-09-16 19:28:20 -04:00
David Malcolm
b8f92b4cd5 support OpenSSL FIPS mode in _hashlib and hashlib
* Wed Sep 14 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-5
- support OpenSSL FIPS mode in _hashlib and hashlib; don't build the _md5 and
_sha* modules, relying on _hashlib in hashlib (rhbz#563986; patch 146)
2011-09-14 02:17:28 -04:00
David Malcolm
00fd884b35 fix builds that set with_debug_build to 0 2011-09-14 00:10:35 -04:00
David Malcolm
0d5c338c39 add note about python.spec's patch 145 2011-09-14 00:10:15 -04:00
David Malcolm
a5cef79f49 add a way to easily turn off the %check section 2011-09-14 00:09:45 -04:00
David Malcolm
5fe31d812a disable gdbm module to prepare for gdbm soname bump
* Tue Sep 13 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-4
- disable gdbm module to prepare for gdbm soname bump
2011-09-13 14:59:31 -04:00
David Malcolm
c923b51771 renumber and rename patches for consistency with python.spec
* Mon Sep 12 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-3
- renumber and rename patches for consistency with python.spec (8 to 55, 106
to 104, 6 to 111, 104 to 113, 105 to 114, 125, 131, 130 to 143)
2011-09-12 17:39:27 -04:00
David Malcolm
5a4896796b minor fixes to reduce python/python3 delta 2011-09-10 08:23:40 -04:00
David Malcolm
0c8875f3f6 rewrite of %check: fine-grained test exclusions
* Sat Sep 10 2011 David Malcolm <dmalcolm@redhat.com> - 3.2.2-2
- 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 106, 133-142 sparsely, moving
patches for consistency with python.spec: 128 to 134, 126 to 135, 127 to 141)
2011-09-10 07:59:22 -04:00
David Malcolm
06b3c5b484 3.2.2 2011-09-06 12:44:03 -04:00
David Malcolm
28391cb8f7 run selftests with "--verbose"; disable parts of test_io on ppc (rhbz#732998) 2011-09-01 18:43:09 -04:00
David Malcolm
d0528e355d patch 130 now reported upstream 2011-08-31 17:57:50 -04:00
David Malcolm
9a778ac8c7 use "--findleaks --verbose3" when running test suite 2011-08-31 15:08:01 -04:00
David Malcolm
ceb359a69b 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:48:59 -04:00
David Malcolm
4763ff864f don't use --with-tsc on ppc64 debug builds (rhbz#698726) 2011-08-23 14:24:14 -04:00
David Malcolm
bd4f5e9a13 Fix comments within specfile (rhbz#732475) 2011-08-22 15:38:24 -04:00
David Malcolm
65e90f617b add %python3_version to the rpm macros (rhbz#719082) 2011-08-18 14:17:41 -04:00
Dennis Gilmore
cdc1710678 disable failing tests on sparc 2011-07-11 21:18:56 -05:00
David Malcolm
cce760d4ac 3.2.1
3.2.1; refresh lib64 patch (102), subprocess unit test patch (129), disabling
of static library build (due to Modules/_testembed; patch 6), autotool
intermediates (patch 300)
2011-07-11 12:04:52 -04:00
David Malcolm
cfd3e15f77 use the gdb hooks from the upstream tarball, rather than keeping our own copy 2011-07-08 14:10:58 -04:00
David Malcolm
5db81fb1d8 don't run test_openpty and test_pty in %%check 2011-07-08 13:47:40 -04:00
David Malcolm
c769a6b550 cleanup of BuildRequires; add comment headings to specfile sections 2011-07-08 12:54:16 -04:00
David Malcolm
b0ba5d44f6 fix the libpython.stp systemtap tapset (rhbz#697730) 2011-04-19 12:12:57 -04:00
David Malcolm
e516bd5cb9 3.2 2011-02-21 11:28:42 -05:00
David Malcolm
9640a7e460 Add a /usr/bin/python3-debug symlink within the debug subpackage 2011-02-14 19:13:27 -05:00
David Malcolm
3f75b3e893 3.2rc3 2011-02-14 13:55:48 -05:00
Dennis Gilmore
fef240e443 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-09 01:42:58 -06:00
David Malcolm
fc9ba51d30 3.2rc2 2011-02-08 19:35:54 -05:00
David Malcolm
34c15c7789 3.2rc1
* Mon Jan 17 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.9.rc1
- 3.2rc1
- rework patch 6 (static lib removal)
- remove upstreamed patch 130 (ppc debug build)
- regenerate patch 300 (autotool intermediates)
- updated packaging to reflect upstream rewrite of "Demo" (issue 7962)
- added libpython3.so and 2to3-3.2
2011-01-17 16:25:14 -05:00
David Malcolm
5659c63442 * Wed Jan 5 2011 David Malcolm <dmalcolm@redhat.com> - 3.2-0.8.b2
- set EXTRA_CFLAGS to our CFLAGS, rather than overriding OPT, fixing a linker
error with dynamic annotations (when configured using --with-valgrind)
- fix the ppc build of the debug configuration (patch 130; rhbz#661510)
2011-01-05 18:34:21 -05:00
David Malcolm
31a06df0c4 add --with-valgrind to configuration (on architectures that support this) 2011-01-04 10:53:01 -05:00
David Malcolm
c23ee7db9f work around test_subprocess failure seen in koji (patch 129) 2010-12-29 16:33:14 -05:00
David Malcolm
5080ffc5d3 * Tue Dec 28 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.5.b2
- 3.2b2
- rework patch 3 (removal of mimeaudio tests), patch 6 (no static libs),
patch 8 (systemtap), patch 102 (lib64)
- remove patch 4 (rendered redundant by upstream r85537), patch 103 (PEP 3149),
patch 110 (upstreamed expat fix), patch 111 (parallel build fix for grammar
fixed upstream)
- regenerate patch 300 (autotool intermediates)
- workaround COUNT_ALLOCS weakref issues in test suite (patch 126, patch 127,
patch 128)
- stop using runtest.sh in %%check (dropped by upstream), replacing with
regrtest; fixup list of failing tests
- introduce "pyshortver", "SOABI_optimized" and "SOABI_debug" macros
- rework manifests of shared libraries to use "SOABI_" macros, reflecting
PEP 3149
- drop itertools, operator and _collections modules from the manifests as py3k
commit r84058 moved these inside libpython; json/tests moved to test/json_tests
- move turtle code into the tkinter subpackage
2010-12-29 13:26:29 -05:00
David Malcolm
824c34b61e fix sysconfig to not rely on the -devel subpackage (rhbz#653058) 2010-11-17 15:03:29 -05:00
David Malcolm
26c1be588d * Thu Sep 9 2010 David Malcolm <dmalcolm@redhat.com> - 3.2-0.4.a1
- move most of the content of the core package to the libs subpackage, given
that the libs aren't meaningfully usable without the standard libraries
2010-09-09 14:52:31 -04:00
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
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
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
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