8
0
forked from pool/perl-AnyEvent

Accepting request 43298 from devel:languages:perl

checked in (request 43298)

OBS-URL: https://build.opensuse.org/request/show/43298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-AnyEvent?expand=0&rev=14
This commit is contained in:
OBS User autobuild
2010-07-19 13:09:52 +00:00
committed by Git OBS Bridge
parent 889b53ef22
commit aaf3a7e65f
4 changed files with 33 additions and 49 deletions

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

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

View File

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

View File

@@ -1,18 +1,3 @@
-------------------------------------------------------------------
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 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.271) # spec file for package perl-AnyEvent (Version 5.261)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@@ -17,64 +17,63 @@
# norootforbuild # norootforbuild
Name: perl-AnyEvent Name: perl-AnyEvent
Summary: DBI of event loop programming Summary: Provide framework for multiple event loops
Version: 5.271 Version: 5.261
Release: 1 Release: 1
License: Artistic License, GPL License: Artistic License, GPL
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/AnyEvent/ Url: http://search.cpan.org/perldoc?AnyEvent
#Source: http://www.cpan.org/modules/by-module/AnyEvent/AnyEvent-%{version}.tar.gz Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}.tar.bz2
Source: AnyEvent-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros BuildRequires: perl-macros
%endif
#
Requires: perl = %{perl_version} Requires: perl = %{perl_version}
Recommends: perl(Async::Interrupt) >= 1
Recommends: perl(EV) >= 3.05
Recommends: perl(Guard) >= 1.02
Recommends: perl(JSON) >= 2.09 Recommends: perl(JSON) >= 2.09
Recommends: perl(EV) >= 3.4
Recommends: perl(JSON::XS) >= 2.2 Recommends: perl(JSON::XS) >= 2.2
Recommends: perl(Net::SSLeay) >= 1.33 Recommends: perl(Async::Interrupt) >= 1.0
Recommends: perl(Net::SLeay) >= 1.33
Recommends: perl(Guard) >= 1.02
BuildArch: noarch
%description %description
AnyEvent provides an identical interface to multiple event loops. This Glib, POE, IO::Async, Event... CPAN offers event models by the dozen nowadays. So what is different about AnyEvent?
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).
The interface itself is vaguely similar, but not identical to the Event Executive Summary: AnyEvent is compatible, AnyEvent is free of policy and AnyEvent is small and efficient.
module.
Author: Marc Lehmann <schmorp@schmorp.de> 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.
Author: Marc Lehmann <schmorp@schmorp.de>
%prep %prep
%setup -q -n AnyEvent-%{version} %setup -n AnyEvent-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags} %{__make}
%check %check
%{__make} test %{__make} test
%install %install
%perl_make_install make pure_install DESTDIR="%{buildroot}"
# remove .packlist file find %{buildroot} -type f -name .packlist -print0 | xargs -0 --no-run-if-empty rm -f
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch find %{buildroot} -depth -type d -print0 | xargs -0 --no-run-if-empty rmdir 2>/dev/null || true
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist %perl_gen_filelist
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) # normally you only need to check for doc files
%doc Changes COPYING README %defattr(-, root, root, 0755)
%doc COPYING Changes README
%changelog %changelog