[libevent] - Update to 2.0.21 - Add %check

Orion Poplawski orion at fedoraproject.org
Thu May 2 14:45:31 UTC 2013


commit d41c26d9f2c40ec67baa5fd2d9af91f461d58323
Author: Orion Poplawski <orion at nwra.com>
Date:   Thu May 2 08:45:30 2013 -0600

    - Update to 2.0.21
    - Add %check

 .gitignore    |    1 +
 libevent.spec |   16 ++++++++++------
 sources       |    2 +-
 3 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fc6682d..e2aa239 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /libevent-2.0.18-stable.tar.gz
+/libevent-2.0.21-stable.tar.gz
diff --git a/libevent.spec b/libevent.spec
index fc457e8..5f06dca 100644
--- a/libevent.spec
+++ b/libevent.spec
@@ -1,6 +1,6 @@
 Name:           libevent
-Version:        2.0.18
-Release:        3%{?dist}
+Version:        2.0.21
+Release:        1%{?dist}
 Summary:        Abstract asynchronous event notification library
 
 Group:          System Environment/Libraries
@@ -68,13 +68,15 @@ 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)
 
+%check
+make check
+
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,0755)
-%doc README
+%doc ChangeLog LICENSE README
 %{_libdir}/libevent-*.so.*
 %{_libdir}/libevent_core-*.so.*
 %{_libdir}/libevent_extra-*.so.*
@@ -82,7 +84,6 @@ mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/sample
 %{_libdir}/libevent_pthreads-*.so.*
 
 %files devel
-%defattr(-,root,root,0755)
 %{_includedir}/event.h
 %{_includedir}/evdns.h
 %{_includedir}/evhttp.h
@@ -101,11 +102,14 @@ mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/sample
 %{_bindir}/event_rpcgen.*
 
 %files doc
-%defattr(-,root,root,0644)
 %{_docdir}/%{name}-devel-%{version}/html/*
 %{_docdir}/%{name}-devel-%{version}/sample/*
 
 %changelog
+* Thu May  2 2013 Orion Poplawski <orion at cora.nwra.com> - 2.0.21-1
+- Update to 2.0.21
+- Add %%check
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.18-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
diff --git a/sources b/sources
index f2d770f..3785391 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-aa1ce9bc0dee7b8084f6855765f2c86a  libevent-2.0.18-stable.tar.gz
+b2405cc9ebf264aa47ff615d9de527a2  libevent-2.0.21-stable.tar.gz


More information about the scm-commits mailing list