Commit Graph

398 Commits

Author SHA1 Message Date
Petr Viktorin
58a433d6ef Have /usr/libexec symlink point from generic to specific version binaries 2017-08-14 17:43:19 +02:00
Petr Viktorin
fcf2f93a53 Remove bundled setuptools, pip, ensurepip 2017-08-14 17:43:19 +02:00
Petr Viktorin
32e586eff7 Remove notes on bootstrapping
The notes don't apply for platform-python. Let's add new ones later if needed.
2017-08-14 17:43:19 +02:00
Petr Viktorin
42986b18c0 Adjust summaries and descriptions 2017-08-14 17:43:19 +02:00
Tomas Orsava
a0cd36ddc8 Re-add runtime dependency on python-rpm-macros 2017-08-14 17:43:19 +02:00
Charalampos Stratakis
5512ed134b Make platform-python-devel depend on platform-python-libs-devel 2017-08-14 17:43:19 +02:00
Charalampos Stratakis
5f6ab2390e Depend on platform-python-rpm-macros for platfrom-python-devel 2017-08-14 17:43:18 +02:00
Charalampos Stratakis
65713a25fe Add changelog entry and a link to the Fedora change
for platform python.

Bump release
2017-08-14 17:43:18 +02:00
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
Charalampos Stratakis
9ef064db22 skip test_user_similar from test_sysconfig since posix_prefix
and posix_user installation schemes are the same now so the
test doesn't make sense.

Remove patch number 252
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
f67b3664a4 Update the platform python patch 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
Charalampos Stratakis
3e0514b649 More directory fixes 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
f1a8d261ca Add platform-python patch 2017-08-14 17:35:27 +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
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