Remove old patch

This commit is contained in:
Fabian Affolter 2015-10-17 11:29:27 +02:00
parent 8a68501f49
commit c1e73f5412

View File

@ -8,12 +8,12 @@ Release: 1%{?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.19-Modernize-the-configure.ac.patch
Patch1: libev-4.19-Respect-the-CFLAGS-if-defined.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
%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
@ -52,38 +52,28 @@ This package contains the source code for libev.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
autoreconf -i
%build
%configure --disable-static --with-pic
make %{?_smp_mflags}
%check
make check
%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
rm -rf %{buildroot}%{_libdir}/%{name}.la
# Make the source package
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
%license LICENSE
%doc Changes README
@ -102,8 +92,10 @@ install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
%files source
%{source_dir}
%changelog
* Sat Oct 17 2015 Fabian Affolter <mail@fabian-.affolter.ch> - 4.20-2
- Remove patch
* Sat Jun 20 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 4.20-1
- Update to 4.20 (#1234039)