8
0
forked from pool/perl-AnyEvent

Accepting request 42640 from home:computersalat:devel:perl

Copy from home:computersalat:devel:perl/perl-AnyEvent via accept of submit request 42640 revision 2.
Request was accepted with message:
self accept

OBS-URL: https://build.opensuse.org/request/show/42640
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-AnyEvent?expand=0&rev=13
This commit is contained in:
Christian Wittmer
2010-07-06 09:04:22 +00:00
committed by Git OBS Bridge
parent 8f97974fed
commit 889b53ef22
4 changed files with 50 additions and 34 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83b3fe410e7c20271edb76806309821a7da8eabd3f3707e7eca2aaa28d0c4e28
size 170969

3
AnyEvent-5.271.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:789ea641a7ac038c9a3c7f1801927e488c5f71cfd46dae208d484f8d4166e13b
size 171883

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Jul 6 08:39:05 UTC 2010 - chris@computersalat.de
- update to 5.271
- backport to perl 5.8.x.
- 5.27 Sun Jun 6 12:12:05 CEST 2010
- postpone differently in AnyEvent::Socket now, as
when not, canceling the connection attempt might fail
(found by Felix Antonius Wilhelm Ostmann).
- explicitly check for non-stream sockets in AE::Handle, too many
clueless people fell into the trap of this somehow working.
- simplified and reworked the "OTHER MODULES" section.
- better/more condvar examples.
- spec created by cpanspec 1.78
-------------------------------------------------------------------
Wed May 5 13:51:49 UTC 2010 - lnussel@suse.de

View File

@@ -1,5 +1,5 @@
#
# spec file for package perl-AnyEvent (Version 5.261)
# spec file for package perl-AnyEvent (Version 5.271)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,63 +17,64 @@
# norootforbuild
Name: perl-AnyEvent
Summary: Provide framework for multiple event loops
Version: 5.261
Summary: DBI of event loop programming
Version: 5.271
Release: 1
License: Artistic License, GPL
Group: Development/Libraries/Perl
Url: http://search.cpan.org/perldoc?AnyEvent
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}.tar.bz2
Url: http://search.cpan.org/dist/AnyEvent/
#Source: http://www.cpan.org/modules/by-module/AnyEvent/AnyEvent-%{version}.tar.gz
Source: AnyEvent-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
#
Requires: perl = %{perl_version}
Recommends: perl(JSON) >= 2.09
Recommends: perl(EV) >= 3.4
Recommends: perl(JSON::XS) >= 2.2
Recommends: perl(Async::Interrupt) >= 1.0
Recommends: perl(Net::SLeay) >= 1.33
Recommends: perl(Async::Interrupt) >= 1
Recommends: perl(EV) >= 3.05
Recommends: perl(Guard) >= 1.02
BuildArch: noarch
Recommends: perl(JSON) >= 2.09
Recommends: perl(JSON::XS) >= 2.2
Recommends: perl(Net::SSLeay) >= 1.33
%description
Glib, POE, IO::Async, Event... CPAN offers event models by the dozen nowadays. So what is different about AnyEvent?
AnyEvent provides an identical interface to multiple event loops. This
allows module authors to utilise an event loop without forcing module users
to use the same event loop (as only a single event loop can coexist
peacefully at any one time).
Executive Summary: AnyEvent is compatible, AnyEvent is free of policy and AnyEvent is small and efficient.
First and foremost, AnyEvent is not an event model itself, it only interfaces
to whatever event model the main program happens to use, in a pragmatic way.
For event models and certain classes of immortals alike, the statement "there
can only be one" is a bitter reality: In general, only one event loop can be
active at the same time in a process. AnyEvent cannot change this, but it can
hide the differences between those event loops.
The interface itself is vaguely similar, but not identical to the Event
module.
Author: Marc Lehmann <schmorp@schmorp.de>
%prep
%setup -n AnyEvent-%{version}
%setup -q -n AnyEvent-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
make pure_install DESTDIR="%{buildroot}"
find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f
find %{buildroot} -depth -type d -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true
%perl_make_install
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(-, root, root, 0755)
%doc COPYING Changes README
%defattr(-,root,root,-)
%doc Changes COPYING README
%changelog