Commit Graph

521 Commits

Author SHA1 Message Date
Charalampos Stratakis 9a2e4be589 Update to 3.6.5
Rebased patches: 102, 111, 262

Removed patches due to being upstreamed:
264, 273, 289, 290, 291, 298

Update pip version to 9.0.3
2018-03-29 16:57:50 +02:00
Miro Hrončok 6c5992ec4e Fix shebangs of the GDB hooks
Also, use -p (preserve timestamp) and -n (don't create backup files)
with pathfix.py.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1560295
2018-03-25 20:51:42 +02:00
Miro Hrončok e8fa184158 Fix broken macro invocation and broken building of C Python extensions
Revert "Use %% for actual % in spec"

This reverts commit 90512a5a1b.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1560103
2018-03-24 08:04:21 +01:00
Miro Hrončok 90512a5a1b Use %% for actual % in spec
rpmlint reports this as macro in comment, however it was left here, because it
is not macro and not comment. On the other hand, % shall be escaped using %%.
All this needs to blow is somebody defining a macro called _pyconfig64_h.
2018-03-20 11:28:40 +01:00
Miro Hrončok 545e680253 Add -n option for pathfix.py (#1546990) 2018-03-20 11:13:09 +01:00
Miro Hrončok e5f4159f8f Fix the py_byte_compile macro to work on Python 2
See https://bugzilla.redhat.com/show_bug.cgi?id=1484993

Inspired by Terje Røsten's workaround from that bugzilla
2018-03-15 23:10:56 +01:00
Charalampos Stratakis c9bb114a1d Do not send IP addresses in SNI TLS extension 2018-03-13 16:58:18 +01:00
Charalampos Stratakis 6b9e1d1d7a Replace patch 291 with the upstream fix. 2018-02-26 17:28:35 +01:00
Florian Weimer 347e968f54 Rebuild with new LDFLAGS from redhat-rpm-config 2018-02-24 18:28:44 +01:00
Miro Hrončok 3f778c43e3 Filter out automatic /usr/bin/python3.X requirement...
...recommend the main package from libs instead.

Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1547131
2018-02-21 17:28:00 +01:00
Iryna Shcherbina ffaa0f3078 Remove unused Postfix argument from InstallPython
It was used for Systemtap hooks, which were removed recently:
dd3cb47629
2018-02-16 18:32:06 +01:00
Iryna Shcherbina 3bbc2a0bdf Fix rpmlint errors: spelling, tabs (bz#1535596) 2018-02-16 18:32:06 +01:00
Iryna Shcherbina d938460ea1 Remove the python3-tools package (bz#1312030)
For more details see https://bugzilla.redhat.com/show_bug.cgi?id=1312030

Scope:

- Remove the python3-tools package and `Tools/` library
- Move /usr/bin/2to3 to python3-devel
- Move /usr/bin/idle and idlelib to python3-idle
- Provide python3-tools from python3-idle to keep upgrades sane
- Remove tests for tools from python3-tests package

Backported from https://src.fedoraproject.org/rpms/python37/pull-request/4
2018-02-15 21:14:03 +01:00
Miro Hrončok 2bcebb2b16 Fix the name macro in the description 2 2018-02-15 14:35:08 +01:00
Igor Gnatenko 40b8f9ece2
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:05:39 +01:00
Charalampos Stratakis af1dc2628d Fix the name macro in the description 2018-02-08 14:54:08 +01:00
Michal Cyprian 08ffd081b5 Remove sys.executable check from change-user-install-location patch
Resolves: rhbz#1532287
2018-02-07 14:37:45 +01:00
Charalampos Stratakis 14deb52d02 Remove obsolete scriptlets that are now automatic. 2018-02-05 17:50:53 +01:00
Charalampos Stratakis 969d51434e Define TLS cipher suite on build time 2018-02-01 11:20:15 +01:00
Tomas Orsava be04920913 Disable test_gdb for all arches and test_buffer for ppc64le in anticipation of the F28 mass rebuild
- Re-enable these tests after the mass rebuild when they can be properly
  addressed
2018-01-31 18:55:27 +01:00
Charalampos Stratakis d623e929ca Restore the PyExc_RecursionErrorInst public symbol 2018-01-23 18:09:30 +01:00
Charalampos Stratakis 434d469259 Synced patch for libxcrypt with upstream 2018-01-23 18:09:27 +01:00
Björn Esser ce6ec4f16a
Add patch to explicitly link _ctypes module with -ldl (#1537489)
Refactored patch for libxcrypt
Re-enable strict symbol checks in the link editor
2018-01-23 15:39:07 +01:00
Charalampos Stratakis 5a8bf97593 Disable strict symbol checks in the link editor. 2018-01-23 13:22:12 +01:00
Björn Esser 5ea7bf417d
Add patch for libxcrypt 2018-01-22 21:10:32 +01:00
Björn Esser 085ae328d4
Rebuilt for switch to libxcrypt 2018-01-20 23:07:42 +01:00
Charalampos Stratakis 26024771df Fix localeconv() encoding for LC_NUMERIC 2018-01-19 17:36:05 +01:00
Igor Gnatenko 57ec20127d
R: gdbm-devel → R: gdbm for python3-libs
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-18 19:41:19 +01:00
Miro Hrončok 1a43a65185 Require large enough gdbm (fixup for previous commit) 2018-01-17 11:50:59 +01:00
Charalampos Stratakis 6e38667b8a Rebuild for reverted gdbm 1:1.13 on F27 2018-01-16 20:36:17 +01:00
Charalampos Stratakis 0077a19780 Update to version 3.6.4
Rebased patches: 189, 262

Dropped patches due to being upstreamed: 277, 279
2018-01-15 15:52:17 +01:00
Charalampos Stratakis 6ff303ee10 Fix the compilation of the nis module.
The headers required to build the nis module were removed
from glibc and they are now provided by the libtirpc and libnsl2
packages, thus adding their respective -devel subpackages as
BuildRequires and the upstream fix to search for the headers
and the shared libraries at the appropriate locations.
2018-01-15 15:31:28 +01:00
Charalampos Stratakis ec5f432a6e Remove a ppc64 segfault workaround which provided a larger stack for that
arch, as it doesn't seem to affect the build anymore.
2017-12-04 17:53:50 +01:00
Charalampos Stratakis 15a050eb4b Masc two macros in comments that were expanded.
Remove the commented out file for the time shared library.
2017-12-04 14:41:46 +01:00
Charalampos Stratakis dd3cb47629 Remove our downstream systemtap instrumentation as now upstream provides us
with dtrace hooks.
2017-12-04 14:40:33 +01:00
Miro Hrončok 1da74de71e Rename the specfile to fit package name 2017-12-01 13:52:53 +01:00
Miro Hrončok 08796195b5 Remove /usr/bin/2to3-3.7 2017-11-30 16:47:53 +01:00
Miro Hrončok 63459d7d2a Add flatpackage conditional for python37 2017-11-30 16:40:32 +01:00
Miro Hrončok d668c1e89c Python 3.7 (fedpkg prep ok, builds ok without debug) 2017-11-30 09:25:27 +01:00
Miro Hrončok 1f528dac57 Raise the release of platform-python obsoletes for better maintainability 2017-11-21 11:04:48 +01:00
Miro Hrončok e522c84bc5 Obsolete platform-python and it's subpackages 2017-11-15 16:05:21 +01:00
Charalampos Stratakis a8c86d3aed Apply the patch 279 correctly. 2017-10-09 13:21:53 +02:00
Charalampos Stratakis 22b8f2b10b Fix memory corruption due to allocator mix (rhbz#1498207) 2017-10-09 13:10:17 +02:00
Charalampos Stratakis 47069ff417 Update to Python 3.6.3
Patches 270, 271, 272 were removed as they have been upstreamed.

Patch 277 was added to fix two hanging tests from test_subprocess.

Added gdb at the build dependencies, since gdb is not anymore in the
buildroot, and that made test_gdb to be skipped.
2017-10-06 13:30:25 +02:00
Miro Hrončok 71718b673e Make the -devel package require redhat-rpm-config
https://bugzilla.redhat.com/show_bug.cgi?id=1217376
https://bugzilla.redhat.com/show_bug.cgi?id=1496757
https://bugzilla.redhat.com/show_bug.cgi?id=1218294

Later should be changed to a specific subpackage.
2017-09-29 12:30:12 +02:00
Miro Hrončok 0652b06063 Move pathfix.py to bindir
See https://github.com/fedora-python/python-rpm-porting/issues/24
2017-09-20 14:16:59 +02:00
Iryna Shcherbina 685fb7bc99 Fix /usr/bin/env dependency from python3-tools (rhbz#1482118) 2017-09-14 15:30:27 +02:00
Iryna Shcherbina 87e35ed7a5 Include -g in LDFLAGS sent to the linker (rhbz#1483222)
Include -g flag for both compilation and linking so that the debugging
information is correctly generated.
2017-09-06 17:19:02 +02:00
Petr Viktorin 7d6b083b83 Add changelog entry for this round of cleanups 2017-09-05 17:31:28 +02:00
Petr Viktorin 15a5ab1694 Make the main description also applicable to the SRPM
Also, add a comment to highlight its dual purpose
2017-09-05 11:54:13 +02:00
Petr Viktorin 7c72174fbd Snipe a typo 2017-09-05 11:54:06 +02:00
Petr Viktorin 4ced9a188e Check %{_lib} rather than hardcode all 64-bit arches
Checking %{lib} isn't guaranteed to determine the word size
correctly, but it works for current arches and is more likely
to stay correct when a new arch are added.
2017-09-05 11:43:32 +02:00
Petr Viktorin 4f6b427d2e Include audiotest.au again
These files were removed because historically they included
a short sound clip from Monty Python shows, which might fall
under copyright.
In 2010 this was replaced upstream by a recording of Guido
van Rossum saying something silly in Dutch. So, there's no
reason to exclude the file anymore.

The bug mentioned in the removed comment is private due to
corporate policy from 2004. Sorry for that!
The problem itself is discussed at: http://bugs.python.org/issue7755
2017-09-05 11:33:00 +02:00
Petr Viktorin 39c4234d48 Remove the %clean section 2017-09-04 16:06:13 +02:00
Petr Viktorin 64593af0dd Move systemtap tapfile installation into the per-build function 2017-09-04 16:06:13 +02:00
Petr Viktorin 6c5169565e Move multilib support for pyconfig.h to the per-build section 2017-09-04 16:06:13 +02:00
Petr Viktorin 474cc9f637 install: Move renaming -devel scripts to the per-build function 2017-09-04 16:06:13 +02:00
Petr Viktorin ec8375ccf7 Move packaging checks from %install to %check 2017-09-04 16:06:13 +02:00
Petr Viktorin d54a775b46 Remove some unneeded old cleanups in %install 2017-09-04 16:06:13 +02:00
Petr Viktorin f86b3d1707 Move creation of site-packages/__pycache__ dirs together 2017-09-04 16:06:13 +02:00
Petr Viktorin 208332b1c9 Clean up the start of the %install section
- Rewrite comments
- Move common part of GDB hook install out of the per-build function
2017-09-04 16:06:13 +02:00
Petr Viktorin b3fc51be32 Replace ${RPM_BUILD_ROOT} by %{buildroot} 2017-09-04 16:06:13 +02:00
Petr Viktorin db2797c8b7 Clean up the %build section
- Add more explanatory comments, remove historical notes
- Put configuration options in %%global
- Shell: use $() instead of backticks
- Remove unused aruments to BuildPython()! (fun fact: most were *never* used!)
2017-09-04 16:06:13 +02:00
Petr Viktorin e441743e28 Don't remove the buildroot in %install 2017-09-04 16:06:13 +02:00
Miro Hrončok 1acd7dfa33 Remove %{pylibdir}/Tools/scripts/2to3
* the file has wrong shebang (#!/usr/bin/env python)
    * it is not covered by the shebang correction because it is not
      named with .py extension
    * a note has been added to the shebang correction code about this
 * ignoring shebang, the file is identical to /usr/bin/2to3
   * thus redundant
2017-09-04 10:54:33 +02:00
Miro Hrončok 5f24f39d01 For consistency, require /usr/sbin/ifconfig instead of net-tools 2017-09-01 11:49:17 +02:00
Miro Hrončok 51501f9a0b Conditionalize systemtap-devel BuildRequires 2017-09-01 11:45:01 +02:00
Miro Hrončok 33e1101626 Expat >= 2.1.0 is everywhere, remove explicit requires
(Except EL6)
2017-09-01 11:04:02 +02:00
Miro Hrončok 357f40b6c4 Move python2-tools conflicts to tools subpackage
They were previously wrongly placed in tkinter subpackage
2017-09-01 10:43:39 +02:00
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 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 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
Tomas Orsava bb9ca6b393 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 11:15:05 +02:00
Tomas Orsava afb0016f9d Polishing the Notes on bootstrapping Python 2017-05-16 11:10:00 +02:00
Charalampos Stratakis 2287f0c54b Fix conditional macro 2017-05-09 17:05:44 +02:00
Charalampos Stratakis 27c558eb66 Added patch for fixing recompilation of Python when using common
build commands and the --enable-optimizations flag.

Enable profile guided optimizations for x86_64 and i686 architectures
2017-05-09 16:57:18 +02:00
Charalampos Stratakis 6245861480 Change description, to reflect that python3 is now the default Python
Also enhance verbosity for the descriptions of subpackages
2017-05-09 16:38:49 +02:00
Charalampos Stratakis 31fe33b583 Update PEP 538 to the latest upstream implementation 2017-05-06 23:27:11 +02:00
Charalampos Stratakis bbbc440d2c system-python-libs subpackage was shipping some windows executables
which are used as templates, for creating windows installers for python
modules. These executables are moved to the devel subpackage.

Resolves: rhbz#1426257
2017-04-18 13:51:54 +02:00
Charalampos Stratakis 3f69bcd628 Enable link time optimizations 2017-04-18 13:48:56 +02:00
Tomas Orsava 3a35e0ba67 Rename python3.Xdm-config script from -debug to be arch specific (rhbz#1179073) 2017-04-13 16:20:52 +02:00
Charalampos Stratakis bea97d96d2 Since upstream issue 23968, the platform directory changed to include the architectures,
however patch205 was not updated to reflect that and as a result the Makefile and various
other files were installed at another directory (rhbz#1438219).

This commit updates the patch205 so the files are installed at the correct locations.
2017-04-05 18:08:56 +02:00
Iryna Shcherbina b603b2d8f9 Update to version 3.6.1 final 2017-03-22 11:28:22 +01:00
Tomas Orsava 628b06df1b Fix syntax error in %py_byte_compile macro (rhbz#1433569) 2017-03-21 11:56:03 +01:00
Iryna Shcherbina aba719b9fe Update to Python 3.6.1 release candidate 1
- Remove patches 250, 253, 254 as the changes are already in Python 3.6.1rc1
- Update patch 157 to work with the new Python codebase
- Remove README file from site-packages (upstream issue24633)
- Rename README to README.rst according to upstream change (upstream PR#2)
- Add patch 264 to skip a known test failure on aarch64 (upstream issue29804)
2017-03-16 16:12:55 +01:00
Charalampos Stratakis 3b36b495e5 Backport of PEP 538: Coercing the legacy C locale to a UTF-8 based locale
Fedora self-contained change: https://fedoraproject.org/wiki/Changes/python3_c.utf-8_locale

Since the backport is based on some changes done for the bpo-24932, these changes were backported as well
with the 261 patch, which will be removed when python3 is rebased to 3.6.1
2017-03-13 14:53:53 +01:00
Charalampos Stratakis 860f392aef Add AppData and desktop file for IDLE 3 (rhbz#1392049) 2017-02-28 14:33:44 +01:00
Michal Cyprian bbccd649ab Revert "Set values of prefix and exec_prefix to /usr/local for..."
- Prevent build failures of packages using alternate build tools
- This reverts commit 24515db173
2017-02-24 14:57:15 +01:00
Michal Cyprian 24515db173 Set values of prefix and exec_prefix to /usr/local for
/usr/bin/python* executables to make pip and distutils
install to the separate location
- Use new %%_module_build macro
2017-02-21 11:17:54 +01:00
Michal Cyprian ef5c6fe479 Add --executable option to install.py command 2017-02-21 10:38:18 +01:00
Charalampos Stratakis 7973de8b00 BuildRequire the new dependencies of python-setuptools when rewheel mode is enabled
and add a patch to adjust the upstream test suite to account for these dependencies,
since without them, the virtualenv's would not install anything in their site-packages
directory thus making pip unusable inside virtualenv's.
2017-02-17 10:26:59 +01:00
Fedora Release Engineering 45bc6145e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:04:03 +00:00
Stephen Gallagher ea14453e6c Add missing %license macro 2017-02-02 11:14:00 +01:00
Tomas Orsava d80b542352 Modify differently the runtime dependency of python3-libs on system-python-libs
because previous attempt didn't work properly with dnf resolving mechanism
2017-01-26 14:06:38 +01:00
Igor Gnatenko adf44e0285 Revert "Modify the runtime dependency of python3-libs on system-python-libs"
This broke everything, rpm/dnf/libsolv/etc. doesn't know what is *partial*
dependency. Either you specify full release, or you don't specify it at all.

This reverts commit 738f034638.

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-25 21:12:31 +01:00
Tomas Orsava 738f034638 Modify the runtime dependency of python3-libs on system-python-libs
to use just the version and release number, but not the dist tag due to Modularity
2017-01-25 14:15:32 +01:00
Charalampos Stratakis ae3f901913 Skip test_aead_aes_gcm during rpmbuild 2017-01-19 20:56:23 +01:00
Charalampos Stratakis 79728f702e Fix error check, so that Random.seed actually uses OS randomness (rhbz#1412275) 2017-01-16 14:28:13 +01:00
Igor Gnatenko 2294d6496c Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:38 +01:00
Charalampos Stratakis ae0e9fd8d2 Require arch specific glibc 2017-01-12 11:15:34 +01:00
Charalampos Stratakis 69d3bbb6fe Always include the rewheel patch at the SRPM 2017-01-10 22:12:21 +01:00
Charalampos Stratakis a5e3562540 Require glibc >= 2.24.90-26 for system-python-libs (rhbz#1410644) 2017-01-10 17:01:29 +01:00
Charalampos Stratakis f75890a6e8 Fix wrong patch name 2017-01-09 13:25:30 +01:00
Charalampos Stratakis 0da740b7bc Define HAVE_LONG_LONG as 1 for backwards compatibility. 2017-01-09 13:19:57 +01:00
Miro Hrončok 1abbc727d4 Fix bogus release in %changelog 2017-01-06 11:08:15 +01:00
Miro Hrončok 6bb1189ded Don't blow up on EL7 kernel (random generator) (rhbz#1410175) 2017-01-05 18:52:42 +01:00