From 2a85eb23ea704d210ab77910ce82ea18c6c0c7ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 10 Jan 2024 15:05:35 +0100 Subject: [PATCH] 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. --- python3.12-wheel.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}