Hello community,
here is the log from the commit of package perl-Event for openSUSE:Factory
checked in at Thu Apr 8 12:35:51 CEST 2010.
--------
--- perl-Event/perl-Event.changes 2010-01-10 16:00:45.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-Event/perl-Event.changes 2010-04-07 20:51:38.000000000 +0200
@@ -1,0 +2,11 @@
+Wed Apr 7 18:49:08 UTC 2010 - chris@computersalat.de
+
+- update to 1.13
+ o no ChangeLog :(
+- cleanup spec
+ o sort TAGS
+ o updated Url
+ o fixed deps
+- added perl-macros
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
Event-1.11.tar.bz2
perl-Event-1.11-rpmlintrc
New:
----
Event-1.13.tar.bz2
perl-Event-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Event.spec ++++++
--- /var/tmp/diff_new_pack.3pJWiM/_old 2010-04-08 12:35:31.000000000 +0200
+++ /var/tmp/diff_new_pack.3pJWiM/_new 2010-04-08 12:35:31.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package perl-Event (Version 1.11)
+# spec file for package perl-Event (Version 1.13)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -17,20 +17,23 @@
# norootforbuild
-Url: http://www.cpan.org/authors/id/JPRIT/
Name: perl-Event
+Summary: Event Loop Processing
+Version: 1.13
+Release: 1
License: Artistic
Group: Development/Libraries/Perl
-Requires: perl = %{perl_version}
-AutoReqProv: on
-Summary: Event Loop Processing (Perl module)
-Version: 1.11
-Release: 3
-Source: http://www.cpan.org/authors/id/JPRIT/Event-%{version}.tar.bz2
-Source2: %{name}-%{version}-rpmlintrc
+Url: http://search.cpan.org/dist/Event
+Source0: http://www.cpan.org/authors/id/JPRIT/Event-%{version}.tar.bz2
+Source1: %{name}-rpmlintrc
Patch: Event-1.0-warning.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: perl
+%if 0%{?suse_version} < 1120
+BuildRequires: perl-macros
+%endif
+Requires: perl = %{perl_version}
%description
Event - A Generic Perl Event Loop
@@ -51,29 +54,25 @@
%patch
%build
-perl Makefile.PL
-make %{?_smp_mflags}
+%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
+%{__make} %{?_smp_mflags}
+
%ifnarch ppc64 s390x
-make test
+
+%check
+%{__make} test
%endif
%install
-make DESTDIR=$RPM_BUILD_ROOT install_vendor
+%perl_make_install
%perl_process_packlist
-rm $RPM_BUILD_ROOT%{perl_vendorarch}/Event.pod
+%perl_gen_filelist
%clean
-rm -rf $RPM_BUILD_ROOT
+%{__rm} -rf $RPM_BUILD_ROOT
-%files
+%files -f %{name}.files
%defattr(-,root,root)
-%{perl_vendorarch}/auto/Event
-%{perl_vendorarch}/Event
-%{perl_vendorarch}/Event.pm
-%doc %{_mandir}/man3/Event.3pm.gz
-%doc %{_mandir}/man3/Event::MakeMaker.3pm.gz
-%doc %{_mandir}/man3/Event::generic.3pm.gz
-%doc MANIFEST README TODO ANNOUNCE Tutorial.pdf
-/var/adm/perl-modules/%{name}
+%doc ANNOUNCE ChangeLog README* TODO Tutorial.pdf demo
%changelog
++++++ Event-1.11.tar.bz2 -> Event-1.13.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Event-1.11/ChangeLog new/Event-1.13/ChangeLog
--- old/Event-1.11/ChangeLog 2007-05-22 08:39:48.000000000 +0200
+++ new/Event-1.13/ChangeLog 2009-10-01 00:53:27.000000000 +0200
@@ -1,3 +1,8 @@
+2009-09-25 Joshua Pritikin
+
+ * The repository has moved to a (hopefully) more permanent
+ location. See http://gitorious.org/perl-event/mainline
+
2007-05-21
* Event is now stored in GIT. You can grab a copy with "git clone
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Event-1.11/MANIFEST new/Event-1.13/MANIFEST
--- old/Event-1.11/MANIFEST 2008-05-17 04:32:02.000000000 +0200
+++ new/Event-1.13/MANIFEST 2009-10-01 00:58:07.000000000 +0200
@@ -47,8 +47,10 @@
Makefile.PL
MANIFEST
MANIFEST.SKIP
+META.yml
ppport.h
README
+README.EV
t/attach_to.t
t/bored.t
t/callback.t
@@ -74,6 +76,6 @@
t/var.t
TODO
Tutorial.pdf
+Tutorial.pdf-errata.txt
util/bench.pl
util/filehandle.txt
-META.yml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Event-1.11/META.yml new/Event-1.13/META.yml
--- old/Event-1.11/META.yml 2008-05-17 04:39:55.000000000 +0200
+++ new/Event-1.13/META.yml 2009-10-01 00:58:33.000000000 +0200
@@ -1,11 +1,13 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Event
-version: 1.11
-version_from: ./lib/Event.pm
-installdirs: site
-requires:
+--- #YAML:1.0
+name: Event
+version: 1.13
+abstract: ~
+license: ~
+author: ~
+generated_by: ExtUtils::MakeMaker version 6.42
+distribution_type: module
+requires:
Test: 1
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.30_01
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.3.html
+ version: 1.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Event-1.11/README new/Event-1.13/README
--- old/Event-1.11/README 2007-05-22 08:38:35.000000000 +0200
+++ new/Event-1.13/README 2009-08-25 09:29:50.000000000 +0200
@@ -4,3 +4,6 @@
a broad class of applications.
Available via http://www.perl.com/CPAN/authors/id/JPRIT/
+
+ALERT: Marc Lehmann may have taken over the future of event loops in
+Perl. Check out his libev library and EV Perl module. 25 Aug 2009
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Event-1.11/README.EV new/Event-1.13/README.EV
--- old/Event-1.11/README.EV 1970-01-01 01:00:00.000000000 +0100
+++ new/Event-1.13/README.EV 2009-08-26 08:20:56.000000000 +0200
@@ -0,0 +1,58 @@
+Date: Sat, 21 Feb 2009 09:07:14 +0100
+From: Marc Lehmann
+To: Joshua N Pritikin
+Subject: Re: EV
+
+On Fri, Feb 20, 2009 at 06:32:57AM -0800, Joshua N Pritikin wrote:
+> I just noticed EV:
+>
+> http://search.cpan.org/~mlehmann/EV-3.53/libev/ev.pod
+>
+> It looks like you have based your work on the Event interface and
+> extended it to be much more flexible. Wonderful work!
+
+Actually, the API is much less flexible :-) It is heavily influences by
+libev, which in turn is influenced by libevent.
+
+However, I was using Event for more than a decade, and I think it is correct
+to say that it was influencing me most when writing libev and EV. I of course
+surveyed many event toolkits, but Event was the most well-thought-out one.
+
+The only "bugs" I identified were:
+
+- watcher lifetime != perl object lifetime (it sounds like a nuisance at
+ first, but it is really non-perlish and hard to manage).
+- the event queue (it is quite possible to get Event into a state where
+ it queues events faster than it can remove it, especially as it
+ becoems less efficient with more events).
+- the interaction of priorities, queueing and event handling
+ is undocumented, but crucial (starve prio etc.) - EV/libev has no
+ such priority system at all, as priorities only determine
+ order of callback invocation.
+- Event isn't reentrant (almost no event libs are), which is a non-issue for
+ most uses, but a big issue for me (Coro).
+
+So EV/libev is basically Event + some "fixes", as opposed to some new
+invention, or some other event loop, even though the API is drastically
+different.
+
+It took me some 15 years of gathering experience it write it, too. Event
+was crucial to my learning :) (And, yeah, once the API is set in stone,
+the only way to "fix" it is makign a new module - see object lifetimes for
+example, which you would probably do differently if you would write Event
+from scratch).
+
+And, oh, yeah, the XS interface to Event also inspired me a lot in EV and
+other modules that offer such an XS interface. Without Event, EV (or Coro)
+would not have an XS-level interface.
+
+So thanks a lot for Event :)
+
+--
+ The choice of a Deliantra, the free code+content MORPG
+ -----==- _GNU_ http://www.deliantra.net
+ ----==-- _ generation
+ ---==---(_)__ __ ____ __ Marc Lehmann
+ --==---/ / _ \/ // /\ \/ / pcg@goof.com
+ -=====/_/_//_/\_,_/ /_/\_\
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Event-1.11/Tutorial.pdf-errata.txt new/Event-1.13/Tutorial.pdf-errata.txt
--- old/Event-1.11/Tutorial.pdf-errata.txt 1970-01-01 01:00:00.000000000 +0100
+++ new/Event-1.13/Tutorial.pdf-errata.txt 2009-09-25 13:08:37.000000000 +0200
@@ -0,0 +1,7 @@
+Date: Wed, 23 Sep 2009 14:41:50 +0200 (CEST)
+From: "Kiss Gabor (Bitman)"
+
+In section 4.3 page 31 (33 according to PDF reader)
+ warn "Event after ", time-startup, " seconds.\n";
+should be changed to
+ warn "Event after ", time-$startup, " seconds.\n";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Event-1.11/lib/Event.pm new/Event-1.13/lib/Event.pm
--- old/Event-1.11/lib/Event.pm 2008-05-17 04:32:03.000000000 +0200
+++ new/Event-1.13/lib/Event.pm 2009-10-01 00:54:39.000000000 +0200
@@ -14,7 +14,7 @@
eval { require Carp::Heavy; }; # work around perl_call_pv bug XXX
use vars qw($VERSION @EXPORT_OK
$API $DebugLevel $Eval $DIED $Now);
-$VERSION = '1.11';
+$VERSION = '1.13';
# If we inherit DynaLoader then we inherit AutoLoader; Bletch!
require DynaLoader;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Event-1.11/lib/Event.pod new/Event-1.13/lib/Event.pod
--- old/Event-1.11/lib/Event.pod 2007-05-22 08:38:35.000000000 +0200
+++ new/Event-1.13/lib/Event.pod 2009-08-25 09:29:54.000000000 +0200
@@ -16,6 +16,9 @@
=head1 DESCRIPTION
+ALERT: Marc Lehmann may have taken over the future of event loops in
+Perl. Check out his libev library and EV Perl module. 25 Aug 2009
+
The Event module provide a central facility to watch for various types
of events and invoke a callback when these events occur. The idea is
to delay the handling of events so that they may be dispatched in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Event-1.11/t/io.t new/Event-1.13/t/io.t
--- old/Event-1.11/t/io.t 2007-07-27 07:22:36.000000000 +0200
+++ new/Event-1.13/t/io.t 2008-07-23 11:23:06.000000000 +0200
@@ -85,6 +85,9 @@
loop();
-skip $Config{osname} eq 'darwin', $noticed_bogus_fd, 1;
-skip $Config{osname} eq 'darwin', !defined $bogus->fd;
+my $bogus_fd_detection = !($Config{osname} eq 'darwin' or
+ $Config{archname} =~ m/^armv5tejl/);
+
+skip $bogus_fd_detection, $noticed_bogus_fd, 1;
+skip $bogus_fd_detection, !defined $bogus->fd;
ok $bogus_timeout > 0;
++++++ perl-Event-rpmlintrc ++++++
addFilter("perl-Event.* devel-file-in-non-devel-package")
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org