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 <trix@redhat.com>
This commit is contained in:
Tom Rix 2021-12-15 11:47:08 -08:00
parent 715c4e65ee
commit 9625344c39
1 changed files with 2 additions and 0 deletions

View File

@ -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