Update to 1.354 (#961296)

This commit is contained in:
Petr Šabata 2013-05-15 17:58:53 +02:00
parent 508da70b9d
commit ff2397c49b
3 changed files with 38 additions and 54 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
POE-1.289.tar.gz POE-1.289.tar.gz
/POE-1.354.tar.gz

View File

@ -1,62 +1,56 @@
Name: perl-POE Name: perl-POE
Version: 1.289 Version: 1.354
Release: 3%{?dist} Release: 1%{?dist}
Summary: POE - portable multitasking and networking framework for Perl Summary: POE - portable multitasking and networking framework for Perl
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
URL: http://search.cpan.org/dist/POE/ URL: http://search.cpan.org/dist/POE/
Source0: http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-%{version}.tar.gz 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 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(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Compress::Zlib) >= 1.33 BuildRequires: perl(Compress::Zlib) >= 1.33
BuildRequires: perl(Curses) >= 1.08 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::Poll) >= 0.01
BuildRequires: perl(IO::Pty) >= 1.02 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(Socket6) >= 0.14
BuildRequires: perl(Storable)
BuildRequires: perl(Term::Cap) >= 1.09 BuildRequires: perl(Term::Cap) >= 1.09
BuildRequires: perl(Term::ReadKey) >= 2.21 BuildRequires: perl(Term::ReadKey) >= 2.21
BuildRequires: perl(Tk) >= 800.027 BuildRequires: perl(Time::HiRes) >= 1.59
BuildRequires: perl(URI) >= 1.30 BuildRequires: perl(URI) >= 1.30
# waiting for update BZ#194521 BuildRequires: perl(Test::Harness) >= 2.26
#BuildRequires: perl(Gtk) >= 0.7009 BuildRequires: perl(Test::More)
# test
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage) 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(Compress::Zlib)
Requires: perl(Event) Requires: perl(Data::Dumper)
Requires: perl(IO::Pty)
Requires: perl(Socket6)
Requires: perl(Carp)
Requires: perl(Errno) >= 1.09
Requires: perl(Exporter) Requires: perl(Exporter)
Requires: perl(File::Spec) >= 0.87 Requires: perl(IO::Tty)
Requires: perl(IO::Handle) >= 1.27 Requires: perl(Socket)
Requires: perl(IO::Tty) >= 1.08 Requires: perl(Socket6)
Requires: perl(POE::Test::Loops) >= 1.022 Requires: perl(Storable)
Requires: perl(POSIX) >= 1.02
Requires: perl(Socket) >= 1.7
Requires: perl(Storable) >= 2.16
%{?perl_default_filter} %{?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 POE is written in layers, each building upon the previous. It's therefore
possible to use POE at varying levels of abstraction. possible to use POE at varying levels of abstraction.
%prep %prep
%setup -q -n POE-%{version} %setup -q -n POE-%{version}
# make rpmlint happy... # make rpmlint happy...
chmod -c -x examples/* chmod -c -x examples/*
find t/ -type f -exec chmod -c -x {} + find t/ -type f -exec chmod -c -x {} +
find t/ -type f -name '*.t' -exec perl -pi -e 's|^#!perl|#!%{__perl}|' {} + find t/ -type f -name '*.t' -exec perl -pi -e 's|^#!perl|#!%{__perl}|' {} +
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor --default perl Makefile.PL INSTALLDIRS=vendor --default
# yah. don't do the network tests # yah. don't do the network tests
%{?!_with_network_tests: rm run_network_tests } %{?!_with_network_tests: rm run_network_tests }
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
# enable POD tests # enable POD tests
#export POE_TEST_POD=1 #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 # Reported upstream at http://rt.cpan.org/Public/Bug/Display.html?id=19878
make test make test
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-)
%doc CHANGES HISTORY README examples/ TODO t/ %doc CHANGES HISTORY README examples/ TODO t/
%{perl_vendorlib}/* %{perl_vendorlib}/*
%{_mandir}/man3/*.3* %{_mandir}/man3/*.3*
%changelog %changelog
* Wed May 15 2013 Petr Šabata <contyk@redhat.com> - 1.354-1
- Update to 1.354 (#961296)
- Do some minor cleanup
* Sun Jun 27 2010 Steve Traylen <steve.traylen@cern.ch> - 1.289-3 * Sun Jun 27 2010 Steve Traylen <steve.traylen@cern.ch> - 1.289-3
- Add back perl(POE::Test::Loops) br and enable testing. - Add back perl(POE::Test::Loops) br and enable testing.

View File

@ -1 +1 @@
2172566f98313658d5f6cce231476f07 POE-1.289.tar.gz 928482218e29aa4c27f281db9bdc1ac4 POE-1.354.tar.gz