Compare commits

..

No commits in common. "rawhide" and "f31" have entirely different histories.
rawhide ... f31

4 changed files with 57 additions and 110 deletions

2
.gitignore vendored
View File

@ -11,5 +11,3 @@ POE-1.289.tar.gz
/POE-1.365.tar.gz
/POE-1.366.tar.gz
/POE-1.367.tar.gz
/POE-1.368.tar.gz
/POE-1.370.tar.gz

2
.rpmlint Normal file
View File

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* toolkits");

View File

@ -1,37 +1,34 @@
# Perform network tests
%bcond_without perl_POE_enables_network_test
# Perform optional tests
%bcond_without perl_POE_enables_optional_test
Name: perl-POE
Version: 1.367
Release: 20%{?dist}
Summary: POE - portable multitasking and networking framework for Perl
Name: perl-POE
Version: 1.370
Release: 4%{?dist}
Summary: Portable multitasking and networking framework for event loops
License: GPL+ or Artistic
URL: https://metacpan.org/release/POE
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/POE-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make
BuildRequires: perl-generators
License: GPL+ or Artistic
URL: https://metacpan.org/release/POE
Source0: https://cpan.metacpan.org/authors/id/R/RC/RCAPUTO/POE-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Spec) >= 0.87
# Getopt::Long not used
# XXX: BuildRequires: perl(Getopt::Long)
BuildRequires: perl(lib)
BuildRequires: perl(Socket) >= 1.7
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Run-time:
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(bytes)
BuildRequires: perl(constant)
# Curses 1.08 not used at tests
# XXX: BuildRequires: perl(Compress::Zlib) >= 1.33
# XXX: BuildRequires: perl(Curses) >= 1.08
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Errno) >= 1.09
BuildRequires: perl(Exporter)
BuildRequires: perl(Fcntl)
BuildRequires: perl(FileHandle)
BuildRequires: perl(HTTP::Date)
@ -44,43 +41,30 @@ BuildRequires: perl(IO::Poll) >= 0.01
BuildRequires: perl(IO::Pty)
BuildRequires: perl(IO::Tty) >= 1.08
BuildRequires: perl(POSIX) >= 1.02
BuildRequires: perl(Scalar::Util)
# Socket6 not needed with current Socket
# Socket::GetAddrInfo not needed with current Socket
# Storable || FreezeThaw || YAML
BuildRequires: perl(Storable) >= 2.26
# XXX: BuildRequires: perl(Scalar::Util)
# XXX: BuildRequires: perl(Socket6)
# XXX: BuildRequires: perl(Socket::GetAddrInfo)
BuildRequires: perl(Symbol)
BuildRequires: perl(Sys::Hostname)
BuildRequires: perl(Term::Cap) >= 1.10
BuildRequires: perl(Term::ReadKey) >= 2.21
# Time::Hires loaded from lib/POE/Resource/Clock.pm
BuildRequires: perl(Time::HiRes) >= 1.59
# XXX: BuildRequires: perl(Storable) >= 2.26
# XXX: BuildRequires: perl(Term::Cap) >= 1.10
# XXX: BuildRequires: perl(Term::ReadKey) >= 2.21
BuildRequires: perl(URI) >= 1.30
# Win32* not needed
# Optional run-time:
BuildRequires: perl(Compress::Zlib) >= 1.33
# POE::XS::Queue::Array not needed, to exhibit a default implementation
# Tests:
# Tests only
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::File)
BuildRequires: perl(lib)
%if %{with perl_POE_enables_network_test}
BuildRequires: perl(List::Util)
%endif
BuildRequires: perl(Test::More)
BuildRequires: perl(Tie::Handle)
BuildRequires: perl(Time::HiRes) >= 1.59
%if %{with perl_POE_enables_optional_test}
# Optional tests:
%if !%{defined perl_bootstrap}
# Optional tests only
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(POE::Test::Loops) >= 1.360
%endif
BuildRequires: perl(YAML)
%endif
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(bytes)
Recommends: perl(Compress::Zlib) >= 1.33
Requires: perl(Curses) >= 1.08
Requires: perl(Compress::Zlib) >= 1.33
Requires: perl(Data::Dumper)
Requires: perl(Errno) >= 1.09
Requires: perl(File::Spec) >= 0.87
@ -88,101 +72,64 @@ Requires: perl(IO::Handle) >= 1.27
Requires: perl(IO::Pipely) >= 0.005
Requires: perl(IO::Pty)
Requires: perl(IO::Tty) >= 1.08
Suggests: perl(POE::XS::Queue::Array)
# XXX: Requires: perl(POE::XS::Queue::Array)
Requires: perl(POSIX) >= 1.02
Requires: perl(Socket) >= 1.7
# XXX: Requires: perl(Socket6)
# XXX: Requires: perl(Socket::GetAddrInfo)
Requires: perl(Storable) >= 2.26
Requires: perl(Term::Cap) >= 1.10
Requires: perl(Term::ReadKey) >= 2.21
Requires: perl(Time::HiRes) >= 1.59
%{?perl_default_filter}
# Filter under-specified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Curses|Errno|File::Spec|IO::Handle|IO::Pipely|IO::Pty|POSIX|Socket|Term::Cap|Term::ReadKey)\\)$
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(POE::Kernel\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Errno\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IO::Handle\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IO::Pipely\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(POSIX\\)$
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Socket\\)$
%description
POE is a framework for cooperative, event driven multitasking in Perl. It
provides a unified interface for several event loops, including select(),
IO::Poll, Glib, Gtk, Tk, Wx, and Gtk2. Many of these event loop interfaces
were written by others, with the help of POE::Test::Loops.
POE is a framework for cooperative, event driven multitasking in Perl.
Other languages have similar frameworks. Python has Twisted. TCL has "the
event loop".
POE originally was developed as the core of a persistent object server and
run-time environment. It has evolved into a general purpose multitasking
and networking framework, encompassing and providing a consistent interface
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}
chmod -c -x examples/*
find t/ -type f -exec chmod -c -x {} +
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 --default
%{make_build}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --default
make %{?_smp_mflags}
%install
%{make_install}
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
%if !%{with perl_POE_enables_network_test}
rm run_network_tests
%endif
# yah. don't do the network tests
%{?!_with_network_tests: rm run_network_tests }
# note that there are currently a number of tests that throw errors, but do
# not fail nor cause the build/suite to fail. For now just please be aware
# that there will be some noisy output as the tests are run.
# Reported upstream at http://rt.cpan.org/Public/Bug/Display.html?id=19878
unset AUTOMATED_TESTING CONTENT_LENGTH CONTENT_TYPE POE_ASSERT_USAGE \
POE_CATCH_EXCEPTIONS POE_EVENT_LOOP POE_IMPLEMENTATION POE_USE_HIRES \
POE_USE_SIGNAL_PIPE QUERY_STRING RELEASE_TESTING REQUEST_METHOD
make test
%files
%doc CHANGES examples HISTORY README TODO
%doc CHANGES HISTORY README examples/ TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.370-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.370-3
- Perl 5.36 re-rebuild of bootstrapped packages
* Tue May 31 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.370-2
- Perl 5.36 rebuild
* Wed Mar 23 2022 Michal Josef Špaček <mspacek@redhat.com> - 1.370-1
- 1.370 bump
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.368-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.368-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.368-7
- Perl 5.34 re-rebuild of bootstrapped packages
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.368-6
- Perl 5.34 rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.368-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.368-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.368-3
- Perl 5.32 re-rebuild of bootstrapped packages
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.368-2
- Perl 5.32 rebuild
* Wed Feb 05 2020 Petr Pisar <ppisar@redhat.com> - 1.368-1
- 1.368 bump
* Fri Jan 31 2020 Petr Pisar <ppisar@redhat.com> - 1.367-22
- Adapt to changes in Perl 5.31.5
- Revise dependenices
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.367-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.367-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (POE-1.370.tar.gz) = 5beed37a5fa89fb2a830e0ba2ab4f3a8ea528c75f8553e47a0d5e47fc915dc658ac543433a4c4b99429b0a34350ea2fa8bce3c9893973f0ebe387683fd9a04a4
9b2e4375152b139e4ab5f7dfb2cc5b15 POE-1.367.tar.gz