diff --git a/python38.changes b/python38.changes index 06f27ae..07bdbdc 100644 --- a/python38.changes +++ b/python38.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 17 06:39:45 UTC 2020 - Tomáš Chvátal + +- Few minor fixes for the non-primary-interpreter option found + in py3.9 + ------------------------------------------------------------------- Wed Jul 15 10:05:28 UTC 2020 - Callum Farmer diff --git a/python38.spec b/python38.spec index 40e5d72..89a4805 100644 --- a/python38.spec +++ b/python38.spec @@ -653,7 +653,7 @@ ln -sf python%{python_version} %{buildroot}%{_bindir}/python3 %if !%{primary_interpreter} # base rm %{buildroot}%{_bindir}/python3 -rm %{buildroot}%{_bindir}/pydocs3 +rm %{buildroot}%{_bindir}/pydoc3 rm %{buildroot}%{_mandir}/man1/python3.1 # devel rm %{buildroot}%{_bindir}/python3-config @@ -669,7 +669,7 @@ rm %{buildroot}%{_bindir}/idle3* # delete the generic 2to3 binary if we are not primary %if !%{primary_interpreter} -rm %{buildroot}%{_bindir}2to3 +rm %{buildroot}%{_bindir}/2to3 %endif # replace duplicate .pyo/.pyc with hardlinks @@ -960,8 +960,10 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo %{sitedir}/_import_failed %{sitedir}/site-packages/zzzz-import-failed-hooks.pth # symlinks +%if %{primary_interpreter} %{_bindir}/python3 %{_bindir}/pydoc3 +%endif # executables %attr(755, root, root) %{_bindir}/pydoc%{python_version} # %%attr(755, root, root) %%{_bindir}/python%%{python_abi}