Remove rpmlint warnings
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
c350a5c262
commit
6907cac312
@ -71,6 +71,9 @@ mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/sample
|
||||
(cd sample; \
|
||||
install -p -m 644 *.c Makefile* $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/sample)
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
@ -79,6 +82,7 @@ make check
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog LICENSE README
|
||||
%{_libdir}/libevent-*.so.*
|
||||
%{_libdir}/libevent_core-*.so.*
|
||||
@ -87,6 +91,7 @@ make check
|
||||
%{_libdir}/libevent_pthreads-*.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/event.h
|
||||
%{_includedir}/evdns.h
|
||||
%{_includedir}/evhttp.h
|
||||
@ -101,10 +106,10 @@ make check
|
||||
%{_libdir}/pkgconfig/libevent.pc
|
||||
%{_libdir}/pkgconfig/libevent_openssl.pc
|
||||
%{_libdir}/pkgconfig/libevent_pthreads.pc
|
||||
|
||||
%{_bindir}/event_rpcgen.*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%{_docdir}/%{name}-devel-%{version}/html/*
|
||||
%{_docdir}/%{name}-devel-%{version}/sample/*
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user