diff --git a/libwps.spec b/libwps.spec index b88b100..3d0b470 100644 --- a/libwps.spec +++ b/libwps.spec @@ -60,9 +60,7 @@ help2man -N -n 'convert Works document into plain text' -o wps2text.1 ./src/conv %install make install INSTALL="install -p" DESTDIR="%{buildroot}" - -find %{buildroot} -name '*.la' -exec rm -f {} ';' - +rm -f %{buildroot}%{_libdir}/*.la # we install API docs directly from build rm -rf %{buildroot}%{_defaultdocdir}/%{name}