Accepting request 422275 from home:Ronis_BR
- Add a symlink of liblldb file to %{python_sitearch}/_lldb.so. Otherwise, `import lldb` will fail with the message: ImportError: No module named _lldb OBS-URL: https://build.opensuse.org/request/show/422275 OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=464
This commit is contained in:
parent
d9fd413efa
commit
b4b09af30a
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 25 16:42:02 UTC 2016 - ronisbr@gmail.com
|
||||
|
||||
- Add a symlink of liblldb file to %{python_sitearch}/_lldb.so.
|
||||
Otherwise, `import lldb` will fail with the message:
|
||||
|
||||
ImportError: No module named _lldb
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 20 07:44:49 UTC 2016 - jengelh@inai.de
|
||||
|
||||
|
@ -111,6 +111,7 @@ DESTDIR=%{buildroot} ninja install
|
||||
rm %{buildroot}%{py_sitedir}/lldb/_lldb.so
|
||||
liblldb=$(basename $(readlink -e %{buildroot}%{_libdir}/liblldb.so))
|
||||
ln -vsf "../../../${liblldb}" %{buildroot}%{python_sitearch}/lldb/_lldb.so
|
||||
ln -vsf "../../${liblldb}" %{buildroot}%{python_sitearch}/_lldb.so
|
||||
|
||||
# Remove bundled six.py.
|
||||
rm -f %{buildroot}%{py_sitedir}/six.*
|
||||
@ -127,6 +128,7 @@ rm %{buildroot}%{_libdir}/liblldb*.a
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_bindir}/lldb*
|
||||
%{py_sitedir}/_lldb.so
|
||||
%{py_sitedir}/lldb
|
||||
%{py_sitedir}/readline.so
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user