Hello community, here is the log from the commit of package llvm for openSUSE:Factory checked in at 2016-08-28 12:17:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm (Old) and /work/SRC/openSUSE:Factory/.llvm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm" Changes: -------- --- /work/SRC/openSUSE:Factory/llvm/lldb.changes 2016-06-29 15:03:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.llvm.new/lldb.changes 2016-08-28 12:17:35.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Aug 25 16:42:02 UTC 2016 - [email protected] + +- Add a symlink of liblldb file to %{python_sitearch}/_lldb.so. + Otherwise, `import lldb` will fail with the message: + + ImportError: No module named _lldb + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lldb.spec ++++++ --- /var/tmp/diff_new_pack.DP8KWr/_old 2016-08-28 12:17:37.000000000 +0200 +++ /var/tmp/diff_new_pack.DP8KWr/_new 2016-08-28 12:17:37.000000000 +0200 @@ -111,6 +111,7 @@ 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 @@ %files %defattr(-,root,root,-) %{_bindir}/lldb* +%{py_sitedir}/_lldb.so %{py_sitedir}/lldb %{py_sitedir}/readline.so
