-
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm?expand=0&rev=421
This commit is contained in:
committed by
Git OBS Bridge
parent
3b608cec9c
commit
f9a857bf74
10
lldb.spec
10
lldb.spec
@@ -96,6 +96,14 @@ ninja
|
||||
pushd build
|
||||
DESTDIR=%{buildroot} ninja install
|
||||
|
||||
# Fix the lldb.so link
|
||||
rm %{buildroot}%{py_sitedir}/lldb/_lldb.so
|
||||
ln -sf %{_libdir}/liblldb.so.%{version} %{buildroot}%{py_sitedir}/lldb/_lldb.so
|
||||
|
||||
# Fix the lib link
|
||||
rm %{buildroot}%{py_sitedir}/lib
|
||||
ln -sf %{libdir} %{buildroot}%{py_sitedir}/lib
|
||||
|
||||
rm %{buildroot}%{_libdir}/liblldb*.a
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
@@ -105,8 +113,10 @@ rm %{buildroot}%{_libdir}/liblldb*.a
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/liblldb.so.*
|
||||
%{_bindir}/argdumper
|
||||
%{_bindir}/lldb*
|
||||
%{py_sitedir}/readline.so
|
||||
%{py_sitedir}/lib
|
||||
%{py_sitedir}/lldb
|
||||
|
||||
%files devel
|
||||
|
Reference in New Issue
Block a user