[libwps] find is not needed here

David Tardon dtardon at fedoraproject.org
Tue Dec 30 19:04:04 UTC 2014


commit 30ce224f057a481f0491b2f53f96af2ecd10b3bd
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Dec 30 20:01:48 2014 +0100

    find is not needed here

 libwps.spec |    4 +---
 1 files changed, 1 insertions(+), 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}
 


More information about the scm-commits mailing list