/[packages]/cauldron/perl-Coro/current/SPECS/perl-Coro.spec
ViewVC logotype

Diff of /cauldron/perl-Coro/current/SPECS/perl-Coro.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10266 by jquelin, Thu Jan 13 12:02:26 2011 UTC revision 36947 by jquelin, Mon Jan 24 12:01:22 2011 UTC
# Line 1  Line 1 
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}
# Line 18  BuildRequires:  perl-IO-AIO Line 20  BuildRequires:  perl-IO-AIO
20  BuildRequires:  perl-AnyEvent >= 1:4.05  BuildRequires:  perl-AnyEvent >= 1:4.05
21  BuildRequires:  perl-Guard  BuildRequires:  perl-Guard
22  BuildRequires:  perl-common-sense  BuildRequires:  perl-common-sense
23  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}  
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
# Line 49  Each BDB request that could block and do Line 50  Each BDB request that could block and do
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}
# Line 70  rm -rf $RPM_BUILD_ROOT Line 80  rm -rf $RPM_BUILD_ROOT
80    
81  %files  %files
82  %defattr(-,root,root)  %defattr(-,root,root)
83  %doc README.linux-glibc README Changes  %doc README.linux-glibc README Changes META.yml
84  %dir %{perl_vendorarch}/Coro  %dir %{perl_vendorarch}/Coro
85  %{perl_vendorarch}/Coro/AIO.pm  %{perl_vendorarch}/Coro/AIO.pm
86  %{perl_vendorarch}/Coro/Channel.pm  %{perl_vendorarch}/Coro/Channel.pm
# Line 125  rm -rf $RPM_BUILD_ROOT Line 135  rm -rf $RPM_BUILD_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*

Legend:
Removed from v.10266  
changed lines
  Added in v.36947

  ViewVC Help
Powered by ViewVC 1.1.30