Remove old patch
This commit is contained in:
parent
8a68501f49
commit
c1e73f5412
22
libev.spec
22
libev.spec
@ -8,12 +8,12 @@ Release: 1%{?dist}
|
|||||||
License: BSD or GPLv2+
|
License: BSD or GPLv2+
|
||||||
URL: http://software.schmorp.de/pkg/libev.html
|
URL: http://software.schmorp.de/pkg/libev.html
|
||||||
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
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
|
Patch1: libev-4.19-Respect-the-CFLAGS-if-defined.patch
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libev is modeled (very loosely) after libevent and the Event Perl
|
Libev is modeled (very loosely) after libevent and the Event Perl
|
||||||
module, but is faster, scales better and is more correct, and also more
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch0 -p1
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --with-pic
|
%configure --disable-static --with-pic
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||||
|
|
||||||
rm -rf %{buildroot}%{_libdir}/%{name}.la
|
rm -rf %{buildroot}%{_libdir}/%{name}.la
|
||||||
|
|
||||||
# Make the source package
|
# Make the source package
|
||||||
mkdir -p %{inst_srcdir}
|
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 -)
|
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}
|
install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
@ -102,8 +92,10 @@ install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
|
|||||||
%files source
|
%files source
|
||||||
%{source_dir}
|
%{source_dir}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jun 20 2015 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 4.20-1
|
||||||
- Update to 4.20 (#1234039)
|
- Update to 4.20 (#1234039)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user