Commit Graph

586 Commits

Author SHA1 Message Date
Petr Viktorin
1151a3e1a4 Remove commented-out prep code for hashlib OpenSSL/FIPS patch
A task is open in Bugzilla for adding this back:
https://bugzilla.redhat.com/show_bug.cgi?id=1486212
2017-08-31 14:26:42 +02:00
Petr Viktorin
3a884e4af3 Make module removal (unbundling) more strict
Failures from removing bundled expat or zlib should not be silent;
if they occur they should be investigated.

Also, reword the comments for conciseness
2017-08-31 14:26:42 +02:00
Petr Viktorin
9faeaef40a Remove fix for version-specific documentation URLs in pydoc
This was fixed upstream some time ago. The removed sed invocation
did nothing.
2017-08-31 14:26:42 +02:00
Petr Viktorin
28aab8e5db Remove the BuildRoot tag
According to current guidelines, this SHOULD NOT be used.
2017-08-31 14:26:42 +02:00
Petr Viktorin
9423d36fb4 Consolidate architecture-naming patches in one
Patches 180, 206, 243 and 5001 all changed architecture names
from Debian style (which upstream uses) to what Fedora uses.
Consolidate them into a single patch, 274.

Delete changes to `configure` from patch 243 without replacement;
that file is generated from `configure.ac`.
2017-08-31 14:26:42 +02:00
Petr Viktorin
ac06deac65 Remove patch 188, a temporary workaround for hashlib tests 2017-08-31 14:26:42 +02:00
Petr Viktorin
d8970d7383 Remove patch 186, which added a duplicate test
The actual change is upstream; the patch as it was just added an
inferior version of upstream's test_bad_coding.
2017-08-31 14:26:42 +02:00
Petr Viktorin
720c2ade20 Update comment for patch 170 2017-08-31 14:26:42 +02:00
Petr Viktorin
61c2d437a2 Remove patch 157, which contained test changes left over after upstreaming 2017-08-31 14:26:42 +02:00
Petr Viktorin
c4a5733df6 Use full URLs for bugzilla bugs
Seasoned packagers have pattern-matching circuits for "rhbz"
embedded in their brains, but for newcomers it's one more
opaque, non-googlable string.

The original comment for patch 00111 had a wrong bug number.
Correct it.
2017-08-31 14:26:42 +02:00
Petr Viktorin
bbf2225353 Skip test_bdist_rpm using test config rather than a patch
Remove patch 137
2017-08-31 14:26:42 +02:00
Petr Viktorin
2c6abcc9a3 Merge lib64 patches into one (104 into 102)
It doean't make sense for these to be separate.
2017-08-31 14:26:42 +02:00
Petr Viktorin
96a7bd540e Run autotools to generate the configure script before building
Partially fixes https://bugzilla.redhat.com/show_bug.cgi?id=1377240
2017-08-31 14:26:42 +02:00
Petr Viktorin
d27ccf6033 Rename patch files to start with the number
A consistent naming scheme makes managing patch files easier.
2017-08-31 14:26:42 +02:00
Michal Cyprian
eef42fd7ea Use python3 style of calling super() without arguments in rpath patch 2017-08-31 14:22:22 +02:00
Tomas Orsava
b7855d3644 Add a warning about updating python3-docs 2017-08-28 15:20:28 +02:00
Petr Viktorin
37ed19d2c9 Add forgotten patch file 2017-08-28 13:39:39 +02:00
Petr Viktorin
74f6a3d59e Skip failing test_float_with_comma
I am unable to reproduce this bug outside of a build environment.
Skip the test to make Python build again.
Bug filed: https://bugzilla.redhat.com/show_bug.cgi?id=1484497
2017-08-23 23:42:09 +02:00
Petr Viktorin
094ccc055a Reword comments for descriptions and subpackage metadata 2017-08-23 12:01:07 +02:00
Petr Viktorin
44bb068a8e Top-level metadata: move URL, reword Summary 2017-08-23 12:01:07 +02:00
Petr Viktorin
737c23e807 Remove unused patches 2017-08-23 12:01:07 +02:00
Petr Viktorin
f50a7d31c3 Reword and expand comment on Provides/Obsoletes of pythonXY 2017-08-22 15:53:24 +02:00
Petr Viktorin
1824b3ec27 Use configuration macro instead of workaround to disable byte-compilation 2017-08-22 15:32:48 +02:00
Petr Viktorin
66c621f01a Re-alphabetize the BuidRequires section 2017-08-22 14:33:54 +02:00
Petr Viktorin
88b30e0657 Remove duplicate globals 2017-08-22 14:21:01 +02:00
Petr Viktorin
c2f8719035 Reword package summaries and descriptions
Also, remove Group tags
2017-08-22 00:02:34 +02:00
Petr Viktorin
59c11e6706 Revise the bootstrapping notes 2017-08-22 00:02:34 +02:00
Petr Viktorin
0c74e11532 Remove historical information from the global macros section 2017-08-22 00:02:34 +02:00
Petr Viktorin
f63e273cfd Document configuration options 2017-08-22 00:02:33 +02:00
Petr Viktorin
a7a170bba6 Add bcond for --without optimizations 2017-08-22 00:02:06 +02:00
Miro Hrončok
11efc8ea59 Remove system-python 2017-08-21 13:36:10 +02:00
Petr Viktorin
043c57400a Use bconds for configuring the build
This makes configuring the build much easier, at least with
rpmbuild and mock.

Also, reorganize the initial sections, where the config options
were scattered.
2017-08-16 17:05:00 +02:00
Miro Hrončok
b0aea52b40 2to3 fixes
* Have /usr/bin/2to3 (rhbz#1111275)
 * Provide 2to3 and idle3, list them in summary and description (rhbz#1076401)
2017-08-16 15:36:09 +02:00
Michal Cyprian
58f92d897b 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 ef5c6fe479.
2017-08-11 13:02:07 +02:00
Iryna Shcherbina
2c3b2229eb Fix the "urllib FTP protocol stream injection" vulnerability (rhbz#1478916) 2017-08-07 18:26:47 +02:00
Tomas Orsava
7ce2b35305 Dropped BuildRequires on db4-devel
- it was useful for Python 2 (module bsddb), however, no longer needod for
  Python 3
- Tested building Python 3 with and without the dependency, all tests pass and
  filelists of resulting RPMs are identical
2017-08-01 16:59:32 +02:00
Charalampos Stratakis
e49a729d35 Make debuginfo packages parallel installable 2017-07-31 14:02:39 +02:00
Florian Weimer
c6fe5c680b Do not generate debuginfo subpackages (#1476593)
Rebuild with binutils fix for ppc64le (#1475636)
2017-07-30 17:13:49 +02:00
Fedora Release Engineering
4cc9b2e33c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 12:26:00 +00:00
Charalampos Stratakis
3a226ae7d7 Make sure that we get the default signal handler for test_asyncio,
The parent process may have decided to ignore SIGHUP, and signal handlers
are inherited which can cause the test to hang in koji.
2017-07-25 18:03:55 +02:00
Charalampos Stratakis
5b6a3e0e34 Replace the "--verbose" flag with "-wW" when invoking the test suite, so that the tests are run in non-verbose mode by default and failed tests are rerun in verbose mode.
Also add the "--slowest" flag when invoking the test suite to
list the ten slowest tests at the end of the test run.
2017-07-20 17:50:38 +02:00
Charalampos Stratakis
a94422417a Remove unused patches 2017-07-19 14:25:35 +02:00
Charalampos Stratakis
f13050e2f3 Update the PEP 538 backport 2017-07-18 16:48:45 +02:00
Charalampos Stratakis
4ff21139d7 Update to Python 3.6.2
Rebased patch 180.

Dropped patches 249, 258, 269 as they have been upstreamed.
2017-07-18 16:40:02 +02:00
Charalampos Stratakis
46034c8139 Provide additional references for patches 251 and 252 2017-06-28 15:47:26 +02:00
Tomas Orsava
7e7918aadd Fix for a build failure when with_debug_build=0 2017-06-27 18:02:44 +02:00
Charalampos Stratakis
252962389c Update to the latest implementation of PEP 538.
Remove patch 261 as it was only required for the previous implementation
of PEP 538.
2017-06-27 15:38:30 +02:00
Michal Cyprian
332b947dfc Make pip and distutils in user environment install into separate location 2017-06-26 16:32:56 +02:00
Charalampos Stratakis
b5403ba5eb Fix test_alpn_protocols from test_ssl 2017-06-24 17:24:42 +02:00
Charalampos Stratakis
3f280d64ad setuptools from version 36.0.0 rebundled its dependencies so we don't have to
require them in order for rewheel to work, so dropping patch 260 as well.
2017-06-19 11:14:11 +02:00