1 |
%define upstream_name Coro |
%define upstream_name Coro |
2 |
%define upstream_version 5.25 |
%define upstream_version 5.25 |
3 |
|
|
4 |
|
%define _requires_exceptions perl(Exporter::)\\|perl(Coro::Socket::) |
5 |
#define _without_check 1 |
#define _without_check 1 |
6 |
|
|
7 |
Name: perl-%{upstream_name} |
Name: perl-%{upstream_name} |
23 |
|
|
24 |
#gw the test EV/t/01_unblock fails in 4.37: |
#gw the test EV/t/01_unblock fails in 4.37: |
25 |
# http://rt.cpan.org/Ticket/Display.html?id=32475 |
# http://rt.cpan.org/Ticket/Display.html?id=32475 |
26 |
#BuildRequires: perl-EV >= 2.0 |
BuildRequires: perl-EV >= 2.0 |
|
%define _requires_exceptions perl(Exporter::)\\|perl(Coro::Socket::) |
|
27 |
|
|
28 |
%description |
%description |
29 |
This module collection manages coroutines. Coroutines are similar to |
This module collection manages coroutines. Coroutines are similar to |
50 |
will normally block all coroutines. after loading this module, this |
will normally block all coroutines. after loading this module, this |
51 |
will no longer be the case. |
will no longer be the case. |
52 |
|
|
53 |
|
%package EV |
54 |
|
Summary: Use Coro within an EV environment |
55 |
|
Group: Development/Perl |
56 |
|
|
57 |
|
%description EV |
58 |
|
This module integrates coroutines into any event loop supported by EV, |
59 |
|
combining event-based programming with coroutine-based programming in a |
60 |
|
natural way. |
61 |
|
|
62 |
|
|
63 |
%prep |
%prep |
64 |
%setup -q -n %{upstream_name}-%{upstream_version} |
%setup -q -n %{upstream_name}-%{upstream_version} |
130 |
%{perl_vendorarch}/Coro/BDB.pm |
%{perl_vendorarch}/Coro/BDB.pm |
131 |
%{_mandir}/man3/Coro::BDB* |
%{_mandir}/man3/Coro::BDB* |
132 |
|
|
133 |
#files AnyEvent |
%files AnyEvent |
134 |
#defattr(-,root,root) |
%defattr(-,root,root) |
135 |
#{perl_vendorarch}/Coro/AnyEvent.pm |
%{perl_vendorarch}/Coro/AnyEvent.pm |
136 |
#{_mandir}/man3/Coro::AnyEvent* |
%{_mandir}/man3/Coro::AnyEvent* |
137 |
|
|
138 |
|
%files EV |
139 |
|
%defattr(-,root,root) |
140 |
|
%{perl_vendorarch}/Coro/EV.pm |
141 |
|
%{_mandir}/man3/Coro::EV* |