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