Commit Graph

33 Commits

Author SHA1 Message Date
Charalampos Stratakis
d61f8be0ea Enable profile guided optimizations.
Enable link time optimizations.

Enable the test suite.
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
74f3d1a95b Disable test_resource due to uid issues inside the new
minimal buildroot by mock which uses systemd-nspawn
instead of chroot.
2017-08-14 17:43:18 +02:00
Iryna Shcherbina
d859daf94c Fix the "urllib FTP protocol stream injection" vulnerability (rhbz#1478916) 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
0b6284d2da Add versioned symlinks to platform-python binary 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
344a4d6857 Keep the bundled setuptools and virtually provide it 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
cc68c99458 Remove rewheel patch and do not require setuptools and pip,
instead keep the bundled ones during build and exclude
them later from the resulting rpm.
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
fc17b8e18d Change the location for user installed modules to the same
location as the python installation
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
6f2bbd2c8b Disable the test_suite again 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
4054bf3421 Enable the test suite and disable test_site 2017-08-14 17:43:18 +02:00
Petr Viktorin
9d4b595bf4 Move the platform-python patch to be the first
This makes the platform-python patch not depend on whether the
patches for lib64 are applied or not.

Change the lib64 patches accordingly.
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
e05f2277f7 Disable gdb hooks
Exclude the main binaries from the resulting rpms as well as
the .pc files
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
dd25db59cb Remove scriplets that were used for idle3 icons.
Remove unneeded Conflicts tag.
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
00a87f100c Bytecompile the .py files with the platform-python binary
Change the timestamp check to use the platfrom-python binary

Change shebangs from the stdlib to point to usr/libexec/platform-python
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
e5fc776587 Own the pycache directory in /usr/lib 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
0d56e9844f Add the version suffix for the pycache directory in libs 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
e4ea7bc0a0 Change the libplatformpython.so name to libplatform-python.so 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
0db64d265e Update the platform-python patch
extension modules now build successfully
2017-08-14 17:43:18 +02:00
Charalampos Stratakis
b6626aac95 Change the library directory to include the version 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
7de59070d6 Preserve the buildroot 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
51824ac6ad Set rewheel to 0 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
d012e63b08 Remove systemtap, and dtrace and lto flags 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
ac2f39a42f Remove idle3 desktop and appdata files 2017-08-14 17:43:18 +02:00
Petr Viktorin
deb805687a Add dashes to platform-python 2017-08-14 17:42:55 +02:00
Charalampos Stratakis
0ea301770d Move the platform python changes to a different patch
Add the version number after the platform python directory names

Disable the test_suite
2017-08-14 17:35:23 +02:00
Charalampos Stratakis
7355e7a62e Disable profile guided optimizations for now to speed up the build time 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
dcd7ae00e8 Remove macros.platformpython 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
967ee1d097 Remove debug subpackage and macros 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
feff9dd6cc Change the post and postun scriplets to reflect the rename to platform python 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
c4081e9371 Change installation paths to platform-python 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
3ead622043 Renamed system-python-libs subpackage to platform-python-libs
and files under the python3-libs were moved to platform-python-libs-devel
subpackage

Provide platform-python abi
2017-08-14 17:34:02 +02:00
Charalampos Stratakis
71c29e993a Provide platform-python macros and binary which replace the
system-python ones
2017-08-14 17:34:02 +02:00
Charalampos Stratakis
94f7e5a2fa Disable debug build 2017-08-14 17:34:02 +02:00
Charalampos Stratakis
a5cfa92551 Rename package to platform-python 2017-08-14 17:34:02 +02:00