diff --git a/SPECS/libev.spec b/SPECS/libev.spec index d41b4cd..6db9836 100644 --- a/SPECS/libev.spec +++ b/SPECS/libev.spec @@ -1,55 +1,49 @@ %global source_dir %{_datadir}/%{name}-source %global inst_srcdir %{buildroot}/%{source_dir} -Name: libev -Summary: High-performance event loop/event model with lots of features -Version: 4.15 -Release: 4%{?dist} -License: BSD or GPLv2+ -URL: http://software.schmorp.de/pkg/libev.html -Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz - -BuildRequires: autoconf automake libtool - -Patch0: libev-4.15-Modernize-the-configure.ac.patch -Patch1: libev-4.15-Respect-the-CFLAGS-if-defined.patch +Name: libev +Summary: High-performance event loop/event model with lots of features +Version: 4.15 +Release: 6%{?dist} +License: BSD or GPLv2+ +URL: http://software.schmorp.de/pkg/libev.html +Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz +BuildRequires: autoconf automake libtool +Patch0: libev-4.15-Modernize-the-configure.ac.patch +Patch1: libev-4.15-Respect-the-CFLAGS-if-defined.patch %description Libev is modeled (very loosely) after libevent and the Event Perl module, but is faster, scales better and is more correct, and also more featureful. And also smaller. - %package devel -Summary: Development headers for libev -Requires: %{name}%{?_isa} = %{version}-%{release} +Summary: Development headers for libev +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package contains the development headers and libraries for libev. - %package libevent-devel -Summary: Compatibility development header with libevent for %{name}. -Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Summary: Compatibility development header with libevent for %{name}. +Requires: %{name}-devel%{?_isa} = %{version}-%{release} # The event.h file actually conflicts with the one from libevent-devel -Conflicts: libevent-devel +Conflicts: libevent-devel %description libevent-devel This package contains a development header to make libev compatible with libevent. - %package source -Summary: High-performance event loop/event model with lots of features +Summary: High-performance event loop/event model with lots of features %if 0%{?fedora} >= 12 || 0%{?rhel} > 5 -BuildArch: noarch +BuildArch: noarch %endif %description source This package contains the source code for libev. - %prep %setup -q @@ -58,16 +52,13 @@ This package contains the source code for libev. autoreconf -i - %build %configure --disable-static --with-pic -make %{?_smp_mflags} - +make %{?_smp_mflags} CC="%{__cc} -fno-strict-aliasing" %check make check - %install make install DESTDIR=%{buildroot} INSTALL="install -p" @@ -79,11 +70,9 @@ mkdir -p %{inst_srcdir} find . -type f | grep -E '.*\.(c|h|am|ac|inc|m4|h.in|man.pre|pl|txt)$' | xargs tar cf - | (cd %{inst_srcdir} && tar xf -) install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir} - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig - %files %doc Changes LICENSE README %{_libdir}/%{name}.so.4 @@ -101,8 +90,13 @@ install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir} %files source %{source_dir} - %changelog +* Tue Aug 18 2015 Lokesh Mandvekar - 4.15-6 +- update compiler flag to get rid of strict-aliasing warning + +* Tue Aug 18 2015 Lokesh Mandvekar - 4.15-5 +- Resolves: rhbz#1254667 - increment release tag to ship devel + * Thu Apr 17 2014 Lokesh Mandvekar - 4.15-4 - Rebuilt for RHEL-7