Compare commits

...

2 Commits

Author SHA1 Message Date
Petr Viktorin 04fef6f955 Really provide the /usr/libexec/platform-python symlink 2017-10-31 16:35:15 +01:00
Petr Viktorin 05314861fb Provide the /usr/libexec/platform-python symlink 2017-10-31 14:46:18 +01:00
1 changed files with 14 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: 2%{?dist}
Release: 4%{?dist}
License: Python
@ -413,6 +413,8 @@ Provides: system-python(abi) = %{pybasever}
Provides: system-python = %{version}-%{release}
Provides: system-python%{?_isa} = %{version}-%{release}
Obsoletes: system-python < %{version}-%{release}
Obsoletes: platform-python < 3.6.2-13
Obsoletes: platform-python%{isa} < 3.6.2-13
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -986,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
@ -1111,6 +1116,7 @@ fi
%{_bindir}/pyvenv
%{_bindir}/pyvenv-%{pybasever}
%{_mandir}/*/*
%{_libexecdir}/platform-python
# Remove in Fedora 29:
%{_libexecdir}/system-python
@ -1538,6 +1544,13 @@ 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
* Mon Oct 09 2017 Charalampos Stratakis <cstratak@redhat.com> - 3.6.3-2
- Fix memory corruption due to allocator mix
Resolves: rhbz#1498207