Remove leftover .la files

The rpm included /usr/lib64/libctf-nobfd.la and /usr/lib64/libctf.la via
the libctf* wildcard in %files.
This commit is contained in:
Timm Bäder 2021-10-26 12:22:18 +02:00
parent 92a1236ab3
commit 47508dc848

View File

@ -740,6 +740,7 @@ rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.so
# Remove libtool files, which reference the .so libs
rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.la
rm -f %{buildroot}%{_libdir}/*.la
# Fix multilib conflicts of generated values by __WORDSIZE-based expressions.
%ifarch %{ix86} x86_64 ppc %{power64} s390 s390x sh3 sh4 sparc sparc64 arm