Commit Graph

485 Commits

Author SHA1 Message Date
ca4beea3f2
Disable gdbm for gdbm rebuild
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-07-17 20:58:44 +02:00
369d7c18a0
Merge commit '08290bc9c39a293634a5fc649ca27b6468f9c6d3' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-07-16 14:26:07 +02:00
Miro Hrončok
08290bc9c3 Add a workaround for broken %undefine __brp_python_bytecompile
See https://bugzilla.redhat.com/show_bug.cgi?id=1597664
2018-07-03 14:02:51 +02:00
Miro Hrončok
002eb7557e Move /usr/bin/python into a separate package
See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package

Reverts https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build
2018-07-03 11:31:07 +02:00
Miro Hrončok
692623a0b9 pynche: Do not execute just python, but python2 2018-06-21 16:35:28 +02:00
Miro Hrončok
5ee9c1ec45 Rebuilt for Python 3.7 2018-06-13 18:34:16 +02:00
Miro Hrončok
2b53e7ec9b Bootstrap for Python 3.7 2018-06-13 15:40:42 +02:00
Charalampos Stratakis
4922a4e974 Fix loading of the gdb python plugin (rhbz#1578001)
Conditionalize permissions changes for the debug
shared library.
2018-05-15 14:28:59 +02:00
Miro Hrončok
ba2118865d Add a Python 3 bootstrapping bcond 2018-05-12 00:53:31 +02:00
71d7c26871 Disable gdb_hooks for riscv64
We do not build debug* packages due to not available GDB in upstream.
With gdb_hooks we would have installed, but unpackaged files.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-07 14:37:17 +02:00
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