|
|
|
@ -3,7 +3,6 @@ Version: 4.03
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Summary: Wrapper for the libev high-performance event loop library
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
# Note: The source archive includes a libev/ folder which contents are licensed
|
|
|
|
|
# as "BSD or GPLv2+". However, those are removed at build-time and
|
|
|
|
|
# perl-EV is instead built against the system-provided libev.
|
|
|
|
@ -19,12 +18,6 @@ BuildRequires: libev-source >= %{version}
|
|
|
|
|
BuildRequires: perl(AnyEvent) => 2.6
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
# As per review, a perl-EV-devel subpackage had at first been pushed to the
|
|
|
|
|
# repositories. It now has broken deps if it's not properly obsoleted/provided.
|
|
|
|
|
# TODO: Remove those two lines during the Fedora 17 development cycle.
|
|
|
|
|
Provides: %{name}-devel = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-devel < 4.03-5
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -41,7 +34,6 @@ much more detailed information.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n EV-%{version}
|
|
|
|
|
|
|
|
|
|
# no questins during build
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
# remove all traces of the bundled libev
|
|
|
|
@ -61,7 +53,7 @@ make %{?_smp_mflags}
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -69,12 +61,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes COPYING README
|
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
|
%{perl_vendorarch}/EV.pm
|
|
|
|
|