[perl-POE/el6] Update to 1.354 (#961296)

Petr Šabata psabata at fedoraproject.org
Wed May 15 15:58:58 UTC 2013


commit ff2397c49b58a6675ac94d91fc54ac4e62adf846
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed May 15 17:58:53 2013 +0200

    Update to 1.354 (#961296)

 .gitignore    |    1 +
 perl-POE.spec |   89 +++++++++++++++++++++++----------------------------------
 sources       |    2 +-
 3 files changed, 38 insertions(+), 54 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index fda3dc1..b87e61a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 POE-1.289.tar.gz
+/POE-1.354.tar.gz
diff --git a/perl-POE.spec b/perl-POE.spec
index a8a5b12..5dd8076 100644
--- a/perl-POE.spec
+++ b/perl-POE.spec
@@ -1,62 +1,56 @@
 Name:      perl-POE
-Version:   1.289
-Release:   3%{?dist}
+Version:   1.354
+Release:   1%{?dist}
 Summary:   POE - portable multitasking and networking framework for Perl
 
 Group:     Development/Libraries
 License:   GPL+ or Artistic
 URL:       http://search.cpan.org/dist/POE/
 Source0:   http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:  perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Compress::Zlib) >= 1.33
 BuildRequires:  perl(Curses) >= 1.08
-BuildRequires:  perl(Event) >= 1.00
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Errno) >= 1.09
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(IO) >= 1.24
+BuildRequires:  perl(IO::Handle) >= 1.27
 BuildRequires:  perl(IO::Poll) >= 0.01
 BuildRequires:  perl(IO::Pty) >= 1.02
-BuildRequires:  perl(LWP) >= 5.79
+BuildRequires:  perl(IO::Socket)
+BuildRequires:  perl(IO::Tty)
+BuildRequires:  perl(HTTP::Date)
+BuildRequires:  perl(HTTP::Request)
+BuildRequires:  perl(HTTP::Response)
+BuildRequires:  perl(HTTP::Status)
+# POE::Test::Loops unsurprisingly requires POE
+# ...and it's not in EPEL at the moment
+%if 0%{!?perl_bootstrap:1} && ! ( 0%{?rhel} )
+BuildRequires:  perl(POE::Test::Loops) >= 1.351
+%endif
+BuildRequires:  perl(Socket) >= 1.7
 BuildRequires:  perl(Socket6) >= 0.14
+BuildRequires:  perl(Storable)
 BuildRequires:  perl(Term::Cap) >= 1.09
 BuildRequires:  perl(Term::ReadKey) >= 2.21
-BuildRequires:  perl(Tk) >= 800.027
+BuildRequires:  perl(Time::HiRes) >= 1.59
 BuildRequires:  perl(URI) >= 1.30
-# waiting for update BZ#194521
-#BuildRequires: perl(Gtk) >= 0.7009
-# test
+BuildRequires:  perl(Test::Harness) >= 2.26
+BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
 
-BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Storable) >= 2.16
-BuildRequires:  perl(Errno) >= 1.09
-BuildRequires:  perl(IO::Handle) >= 1.27
-BuildRequires:  perl(Socket) >= 1.7
-BuildRequires:  perl(IO::Tty) >= 1.08
-BuildRequires:  perl(POE::Test::Loops) >= 1.035
-BuildRequires:  perl(POSIX) >= 1.02
-BuildRequires:  perl(File::Spec) >= 0.87
-BuildRequires:  perl(Exporter)
-BuildRequires:  perl(Test::Harness) >= 2.26
-BuildRequires:  perl(Carp)
-
 Requires:       perl(Compress::Zlib)
-Requires:       perl(Event)
-Requires:       perl(IO::Pty)
-Requires:       perl(Socket6)
-Requires:       perl(Carp)
-Requires:       perl(Errno) >= 1.09
+Requires:       perl(Data::Dumper)
 Requires:       perl(Exporter)
-Requires:       perl(File::Spec) >= 0.87
-Requires:       perl(IO::Handle) >= 1.27
-Requires:       perl(IO::Tty) >= 1.08
-Requires:       perl(POE::Test::Loops) >= 1.022
-Requires:       perl(POSIX) >= 1.02
-Requires:       perl(Socket) >= 1.7
-Requires:       perl(Storable) >= 2.16
+Requires:       perl(IO::Tty)
+Requires:       perl(Socket)
+Requires:       perl(Socket6)
+Requires:       perl(Storable)
 
 %{?perl_default_filter}
 
@@ -73,34 +67,26 @@ to other event loops such as Event and the Tk and Gtk toolkits.
 POE is written in layers, each building upon the previous. It's therefore
 possible to use POE at varying levels of abstraction.
 
-
 %prep
 %setup -q -n POE-%{version}
-
 # make rpmlint happy...
 chmod -c -x examples/*
 find t/ -type f -exec chmod -c -x {} +
 find t/ -type f -name '*.t' -exec perl -pi -e 's|^#!perl|#!%{__perl}|' {} +
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor --default
-
+perl Makefile.PL INSTALLDIRS=vendor --default
 # yah.  don't do the network tests
 %{?!_with_network_tests: rm run_network_tests }
 
 make %{?_smp_mflags}
 
-
 %install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
+make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
 find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
-
 %{_fixperms} %{buildroot}/*
 
-
 %check
 # enable POD tests
 #export POE_TEST_POD=1
@@ -111,19 +97,16 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 # Reported upstream at http://rt.cpan.org/Public/Bug/Display.html?id=19878
 make test
 
-
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc CHANGES HISTORY README examples/ TODO t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Wed May 15 2013 Petr Šabata <contyk at redhat.com> - 1.354-1
+- Update to 1.354 (#961296)
+- Do some minor cleanup
+
 * Sun Jun 27 2010 Steve Traylen <steve.traylen at cern.ch> - 1.289-3
 - Add back perl(POE::Test::Loops) br and enable testing.
 
diff --git a/sources b/sources
index ad957ff..4358a8f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2172566f98313658d5f6cce231476f07  POE-1.289.tar.gz
+928482218e29aa4c27f281db9bdc1ac4  POE-1.354.tar.gz



More information about the perl-devel mailing list