From 9625344c394f4d424906876da2118aa855c3606e Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Wed, 15 Dec 2021 11:47:08 -0800 Subject: [PATCH] compat_build: remove scanview helpers from buildroot scanview and other tools are not built so these libraries are not needed, so remove them. Resolves a build but not packaged error. Signed-off-by: Tom Rix --- clang.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang.spec b/clang.spec index aa1fe9c..518410b 100644 --- a/clang.spec +++ b/clang.spec @@ -388,6 +388,8 @@ sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py rm -Rf %{buildroot}%{install_bindir} rm -Rf %{buildroot}%{install_prefix}/share rm -Rf %{buildroot}%{install_prefix}/libexec +# Remove scanview-py helper libs +rm -Rf %{buildroot}%{install_prefix}/lib/{libear,libscanbuild} %else