Commit Graph

475 Commits

Author SHA1 Message Date
Miro Hrončok 080ef9bdfb Coerce locale to UTF-8 encoding when running tests
Since 2.7.15, there is a test that shutil.copies to unicode filename.
2018-05-02 12:02:18 +02:00
Miro Hrončok 066c258587 Update to version 2.7.15
- Rebased patches: 165, 170, 198
- Refactored patches: 289
- Removed patches (included upstream): 280, 283, 284, 285, 287,
                                       293, 297, 298, 299
2018-05-02 12:02:18 +02:00
Miro Hrončok 3be16be9fa Bytecompile files manually, disable brp-python-bytecompile
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1572171
2018-04-28 17:12:13 +02:00
Tomas Orsava b1a24b465f Change shebangs to the proper versioned binary 2018-04-26 10:35:56 +02:00
Miro Hrončok 4856e50ce1 Update the docs comment to mention python2-docs 2018-04-13 23:01:00 +02:00
Miro Hrončok 8545792aae Remove Obsoletes tag from when python was renamed to python2
Fedora 25 was last Fedora that had python, N+3 upgrades are not
supported, this can be merged to Fedora 28+.
2018-04-13 22:58:24 +02:00
Miro Hrončok cc58e7d338 Fix broken SSL module (#1555081) 2018-03-14 11:33:05 +01:00
Charalampos Stratakis e1abe5a026 Do not send IP addresses in SNI TLS extension 2018-03-13 17:09:14 +01:00
Petr Viktorin 5316098666 Fix -Wint-in-bool-context warnings 2018-02-27 11:07:57 +01:00
Florian Weimer 528a444ab6 Rebuild with new LDFLAGS from redhat-rpm-config 2018-02-24 18:25:24 +01:00
Miro Hrončok b02c01e554 Move test.support and test.script_helper to python2-libs
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1528899

When moving files around, explicit conflicts should be added, however
the dependency chain here (python2-test requires exact version-release of
python2, python2 requires exact version-release of python2-libs) prevents
instalation of python2-libs with greater version-release than python2-test.
2018-02-15 17:04:45 +01:00
Igor Gnatenko 71264cf847
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 09:28:24 +01:00
Igor Gnatenko 1bdc5fed8a Remove BuildRoot definition
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 00:53:42 +01:00
Fedora Release Engineering 9c47bee6d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 11:53:31 +00:00
Charalampos Stratakis 11b080bc3c Remove obsolete scriptlets that are now automatic. 2018-02-05 17:55:07 +01:00
Petr Viktorin 96b18273ae Add patch 289: Fix for over-aligned GC info 2018-01-31 13:40:48 +01:00
Petr Viktorin 7143d8af3a Warn/fail if /usr/bin/python is called with PYTHON_DISALLOW_AMBIGUOUS_VERSION
See https://fedoraproject.org/wiki/User:Pviktori/Avoid_usr_bin_python_in_RPM_Build
2018-01-30 13:48:45 +01:00
Björn Esser 9c6e188db0
Rebuilt for switch to libxcrypt 2018-01-20 23:07:40 +01:00
Petr Viktorin 3056bfd92a Build the nis module with tirpc 2018-01-17 14:56:25 +01:00
Miro Hrončok 75ba8b986c Rebuild for reverted gdbm 1:1.13 on F27 2018-01-17 13:41:09 +01:00
Charalampos Stratakis f2b472093a Rebuild for gdbm 1.14 2018-01-11 15:10:39 +01:00
Charalampos Stratakis cf221a53b1 Fix hanging of all threads when trying to access an inaccessible NFS server.
Also mask some macros in comments.
2017-12-11 13:35:09 +01:00
Miro Hrončok 3bebf16e16 Make the -devel package require redhat-rpm-config
Resolves: rhbz#1496757
2017-11-09 12:44:53 +01:00
Charalampos Stratakis 9d3ac306c1 Fix nondeterministic read in test_pty 2017-11-02 16:44:28 +01:00
Charalampos Stratakis f948d41aff Add a new PYTHONSHOWREFCOUNT environment variable which when set
prints the number of references when using the debug build.
2017-11-02 16:42:42 +01:00
Troy Dawson 349b2233cb Require python2-setuptools even in modules 2017-10-23 10:20:54 -05:00
Iryna Shcherbina 6bc3f63023 Add patches for failing tests
- Replace COUNT_ALLOCS patches with upstreamed one
  (patches added: 283; patches removed: 125, 134, 135, 141)
  https://bugs.python.org/issue31692
- Add a patch to skip a failing test on s390x: 280
  https://bugs.python.org/issue31719
2017-10-18 17:53:55 +02:00
Iryna Shcherbina 9db4c321af Update to 2.7.14
- Refactored patches: 55, 112, 153
- Upstreamed patches: 250, 269, 270
2017-10-09 14:07:09 +02:00
Carl George 57e494a406 drop patch 173
This was resolved upstream in 3.3/3.4.  The fix was later backported to 2.7.7rc1.

https://bugs.python.org/issue19901
d82634d606
https://github.com/python/cpython/blob/2.7/Misc/NEWS.d/2.7.7rc1.rst
2017-09-20 13:43:54 -05:00
Tomas Orsava e4e4dbbeea Switch some macros into bconds to facilitate modularity
Bconds can be switched on/off in modulemd whereas normal macros cannot be
redefined there.
2017-08-31 13:45:11 +02:00
Miro Hrončok d2afb4596f Exclude /usr/bin/2to3 (rhbz#1111275) 2017-08-16 14:31:44 +02:00
Sanqui db65c52e5c Do not generate debuginfo subpackages (#1476593) 2017-08-15 10:42:43 +02:00
Michal Cyprian d99160d4df Revert "Add --executable option to install.py command"
This enhancement is currently not needed and it can possibly
collide with `pip --editable`option

Reverts commit 8043ae7719.
2017-08-09 13:49:30 +02:00
Fedora Release Engineering f9d5f4b78d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 07:04:34 +00:00
Fedora Release Engineering f33a487469 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:25:01 +00:00
Charalampos Stratakis b096dc5eb0 Provide additional reference for patch 252 2017-06-28 15:49:57 +02:00
Charalampos Stratakis 916477c6e6 Fix test_alpn_protocols from test_ssl 2017-06-26 11:50:49 +02:00
Miro Hrončok 2ee453130c Change fixed Obsoletes version with a dynamic one (rhbz#1457336) 2017-05-31 18:01:14 +02:00
Karsten Hopp 32febd6043 revert logic for modularity patch and enable gdbm for modularity 2017-05-18 14:19:19 +02:00
Tomas Orsava 4485b86f0d Add dependency to the devel subpackage on python3-rpm-generators
... which have been excised out of rpm-build.

Involves: rhbz#1410631, rhbz#1444925
2017-05-16 13:10:05 +02:00
Charalampos Stratakis 1554ebbaa5 Enable profile guided optimizations for x86_64 and i686 architectures.
Added patch for fixing recompilation of Python when using common
build commands and the --enable-optimizations flag.
2017-05-10 16:42:46 +02:00
Charalampos Stratakis 890215f627 Change description, to reflect that python2 is obsoleted by Python 3 as
the default Python interpreter.

Also reduce verbosity for the descriptions of subpackages.

Use https sources URL.
2017-05-10 15:26:35 +02:00
Karsten Hopp bd0f7dde03 apply modularity patch only during module builds 2017-04-25 14:51:26 +02:00
Karsten Hopp 280de3dba0 add missing patch 2017-04-23 00:49:12 +02:00
Karsten Hopp 7a7d98401a drop a couple of dependencies for Modularity builds 2017-04-21 20:48:53 +02:00
Michal Cyprian 8043ae7719 Add --executable option to install.py command 2017-02-21 12:54:47 +01:00
Charalampos Stratakis f6f7300380 Ensure that the F24 and F25 python package will always
be obsoleted by the F26 python2 package (rhbz#1420332)
2017-02-17 15:13:13 +01:00
Fedora Release Engineering be651f8123 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:03:10 +00:00
Igor Gnatenko 2c2cb4d85b Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:37 +01:00
Charalampos Stratakis e82e344346 Upload sources for 2.7.13 2017-01-11 22:07:44 +01:00