For consistency with other Pythons, don't --keep-foreign when adding alternatives
Previously I was told to do this. Now we agreed we don't want to do this, we want to remain consistent.
This commit is contained in:
parent
4f6d836882
commit
2a85eb23ea
@ -141,7 +141,7 @@ install -p dist/%{python_wheel_name} -t %{buildroot}%{python_wheel_dir}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n python%{python3_pkgversion}-%{pypi_name}
|
%post -n python%{python3_pkgversion}-%{pypi_name}
|
||||||
alternatives --keep-foreign --add-slave python3 %{_bindir}/python%{python3_version} \
|
alternatives --add-slave python3 %{_bindir}/python%{python3_version} \
|
||||||
%{_bindir}/%{pypi_name}-3 \
|
%{_bindir}/%{pypi_name}-3 \
|
||||||
%{pypi_name}-3 \
|
%{pypi_name}-3 \
|
||||||
%{_bindir}/%{pypi_name}-%{python3_version}
|
%{_bindir}/%{pypi_name}-%{python3_version}
|
||||||
|
Loading…
Reference in New Issue
Block a user