From 8e6e1dee0eedb7d9b2c0033c038fdb310fbec34e Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 30 Jun 2014 07:57:22 +0100 Subject: [PATCH] minor spec cleanups --- rest.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rest.spec b/rest.spec index 27935c4..8de47e4 100644 --- a/rest.spec +++ b/rest.spec @@ -50,14 +50,13 @@ make %{?_smp_mflags} V=1 make install DESTDIR=%{buildroot} INSTALL='install -p' #Remove libtool archives. -find %{buildroot} -name '*.la' -exec rm -f {} ';' +find %{buildroot} -type f -name "*.la" -delete %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) %doc AUTHORS COPYING README %{_libdir}/librest-0.7.so.0 %{_libdir}/librest-0.7.so.0.0.0 @@ -67,7 +66,6 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/girepository-1.0/RestExtras-0.7.typelib %files devel -%defattr(-,root,root,-) %{_includedir}/rest-0.7 %{_libdir}/pkgconfig/rest* %{_libdir}/librest-0.7.so