diff --git a/lldb.spec b/lldb.spec index ff846c4..3b22f76 100644 --- a/lldb.spec +++ b/lldb.spec @@ -1,6 +1,6 @@ Name: lldb Version: 3.9.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Next generation high-performance debugger License: NCSA @@ -51,6 +51,10 @@ The package contains the LLDB Python module. %patch2 -p1 %patch3 -p1 +# HACK so that lldb can find its custom readline.so, because we move it +# after install. +sed -i -e "s~import sys~import sys\nsys.path.insert\(1, '%{python_sitearch}/lldb'\)~g" source/Interpreter/embedded_interpreter.py + %build rm tools/lldb-mi/MIUtilParse.* @@ -117,6 +121,9 @@ rm -f %{buildroot}%{python_sitearch}/six.* %{python_sitearch}/lldb %changelog +* Fri Mar 17 2017 Tom Stellard - 3.9.1-3 +- Adjust python sys.path so lldb can find readline.so + * Tue Mar 14 2017 Tom Stellard - 3.9.1-2 - Fix build with gcc 7