diff --git a/llvm.spec b/llvm.spec index f720e6a..3c0bab9 100644 --- a/llvm.spec +++ b/llvm.spec @@ -377,8 +377,10 @@ rm -r %{buildroot}%{_includedir}/lldb %post clang-devel -p /sbin/ldconfig %postun clang-devel -p /sbin/ldconfig +%if %{build_lldb} %post -n lldb -p /sbin/ldconfig %postun -n lldb -p /sbin/ldconfig +%endif %files %defattr(-,root,root)