[rest] minor spec cleanups
Peter Robinson
pbrobinson at fedoraproject.org
Mon Jun 30 06:57:22 UTC 2014
commit 8e6e1dee0eedb7d9b2c0033c038fdb310fbec34e
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Mon Jun 30 07:57:22 2014 +0100
minor spec cleanups
rest.spec | 4 +---
1 files changed, 1 insertions(+), 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
More information about the scm-commits
mailing list