From 30ce224f057a481f0491b2f53f96af2ecd10b3bd Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 30 Dec 2014 20:01:48 +0100 Subject: [PATCH] find is not needed here --- libwps.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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}