minor spec cleanups

This commit is contained in:
Peter Robinson 2014-06-30 07:57:22 +01:00
parent 49461c5884
commit 8e6e1dee0e

View File

@ -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