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

View File

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