Really provide the /usr/libexec/platform-python symlink

This commit is contained in:
Petr Viktorin 2017-10-31 16:35:15 +01:00
parent 05314861fb
commit 04fef6f955
1 changed files with 8 additions and 1 deletions

View File

@ -14,7 +14,7 @@ URL: https://www.python.org/
# WARNING When rebasing to a new Python version,
# remember to update the python3-docs package as well
Version: %{pybasever}.3
Release: 3%{?dist}
Release: 4%{?dist}
License: Python
@ -988,6 +988,9 @@ ln -s \
mkdir -p %{buildroot}%{_libexecdir}
ln -s %{_bindir}/python%{pybasever} %{buildroot}%{_libexecdir}/system-python
# Platform Python: Link the executable to libexec
ln -s %{_bindir}/python%{pybasever} %{buildroot}%{_libexecdir}/platform-python
# ======================================================
# Checks for packaging issues
@ -1113,6 +1116,7 @@ fi
%{_bindir}/pyvenv
%{_bindir}/pyvenv-%{pybasever}
%{_mandir}/*/*
%{_libexecdir}/platform-python
# Remove in Fedora 29:
%{_libexecdir}/system-python
@ -1540,6 +1544,9 @@ fi
# ======================================================
%changelog
* Tue Oct 31 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.3-4
- Really provide the /usr/libexec/platform-python symlink
* Tue Oct 31 2017 Petr Viktorin <pviktori@redhat.com> - 3.6.3-3
- Provide the /usr/libexec/platform-python symlink
- Obsolete platform-python