forked from pool/python38
- Few minor fixes for the non-primary-interpreter option found
in py3.9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=20
This commit is contained in:
parent
245640d1a0
commit
ec8e13b00e
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 17 06:39:45 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Few minor fixes for the non-primary-interpreter option found
|
||||||
|
in py3.9
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jul 15 10:05:28 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
|
Wed Jul 15 10:05:28 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
|
||||||
|
|
||||||
|
@ -653,7 +653,7 @@ ln -sf python%{python_version} %{buildroot}%{_bindir}/python3
|
|||||||
%if !%{primary_interpreter}
|
%if !%{primary_interpreter}
|
||||||
# base
|
# base
|
||||||
rm %{buildroot}%{_bindir}/python3
|
rm %{buildroot}%{_bindir}/python3
|
||||||
rm %{buildroot}%{_bindir}/pydocs3
|
rm %{buildroot}%{_bindir}/pydoc3
|
||||||
rm %{buildroot}%{_mandir}/man1/python3.1
|
rm %{buildroot}%{_mandir}/man1/python3.1
|
||||||
# devel
|
# devel
|
||||||
rm %{buildroot}%{_bindir}/python3-config
|
rm %{buildroot}%{_bindir}/python3-config
|
||||||
@ -669,7 +669,7 @@ rm %{buildroot}%{_bindir}/idle3*
|
|||||||
|
|
||||||
# delete the generic 2to3 binary if we are not primary
|
# delete the generic 2to3 binary if we are not primary
|
||||||
%if !%{primary_interpreter}
|
%if !%{primary_interpreter}
|
||||||
rm %{buildroot}%{_bindir}2to3
|
rm %{buildroot}%{_bindir}/2to3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# replace duplicate .pyo/.pyc with hardlinks
|
# replace duplicate .pyo/.pyc with hardlinks
|
||||||
@ -960,8 +960,10 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo
|
|||||||
%{sitedir}/_import_failed
|
%{sitedir}/_import_failed
|
||||||
%{sitedir}/site-packages/zzzz-import-failed-hooks.pth
|
%{sitedir}/site-packages/zzzz-import-failed-hooks.pth
|
||||||
# symlinks
|
# symlinks
|
||||||
|
%if %{primary_interpreter}
|
||||||
%{_bindir}/python3
|
%{_bindir}/python3
|
||||||
%{_bindir}/pydoc3
|
%{_bindir}/pydoc3
|
||||||
|
%endif
|
||||||
# executables
|
# executables
|
||||||
%attr(755, root, root) %{_bindir}/pydoc%{python_version}
|
%attr(755, root, root) %{_bindir}/pydoc%{python_version}
|
||||||
# %%attr(755, root, root) %%{_bindir}/python%%{python_abi}
|
# %%attr(755, root, root) %%{_bindir}/python%%{python_abi}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user