diff --git a/python3.12-wheel.spec b/python3.12-wheel.spec index 8b4d589..930979e 100644 --- a/python3.12-wheel.spec +++ b/python3.12-wheel.spec @@ -141,7 +141,7 @@ install -p dist/%{python_wheel_name} -t %{buildroot}%{python_wheel_dir} %endif %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 \ %{pypi_name}-3 \ %{_bindir}/%{pypi_name}-%{python3_version}