- Remove unversioned files from devel subpkg too
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=10
This commit is contained in:
parent
5c8138e56b
commit
f935fec56c
@ -1,17 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 10 09:56:28 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
Fri Jul 10 10:02:01 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Remove unversioned files from devel subpkg too
|
||||
- Remove main python3 files from -base based whether we are
|
||||
primary interpreter or not
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 10 09:35:29 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix idle to be co-installable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 10 08:44:54 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Add condition to be primary to provide/obsolete python3-*
|
||||
- Fix doc to build in versioned folder so the pythons can be
|
||||
installed next to each other
|
||||
|
@ -643,9 +643,14 @@ ln -sf python%{python_version} %{buildroot}%{_bindir}/python3
|
||||
|
||||
# decide to ship python3 or just python3.X
|
||||
%if !%{primary_interpreter}
|
||||
# base
|
||||
rm %{buildroot}%{_bindir}/python3
|
||||
rm %{buildroot}%{_bindir}/pydocs3
|
||||
rm %{buildroot}%{_mandir}/man1/python3.1
|
||||
# devel
|
||||
rm %{buildroot}%{_bindir}/python3-config
|
||||
rm %{buildroot}%{_libdir}/libpython3.so
|
||||
rm %{buildroot}%{_libdir}/pkgconfig/{python3,python3-embed}.pc
|
||||
%endif
|
||||
|
||||
# link shared library instead of static library that tools expect
|
||||
@ -796,14 +801,17 @@ echo %{sitedir}/_import_failed > %{buildroot}/%{sitedir}/site-packages/zzzz-impo
|
||||
%files -n %{python_pkg_name}-devel
|
||||
%defattr(644, root, root, 755)
|
||||
%{_libdir}/libpython%{python_abi}.so
|
||||
%if %{primary_interpreter}
|
||||
%{_libdir}/libpython3.so
|
||||
%endif
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_includedir}/python%{python_abi}
|
||||
%{sitedir}/config-%{python_abi}-*
|
||||
%defattr(755, root, root)
|
||||
%{_bindir}/python%{python_abi}-config
|
||||
# %%{_bindir}/python%%{python_version}-config
|
||||
%if %{primary_interpreter}
|
||||
%{_bindir}/python3-config
|
||||
%endif
|
||||
# Own these directories to not depend on gdb
|
||||
%dir %{_datadir}/gdb
|
||||
%dir %{_datadir}/gdb/auto-load
|
||||
|
Loading…
Reference in New Issue
Block a user