1.367 bump

- Rewrite the dep list, drop EPEL support
- Don't package tests
This commit is contained in:
Petr Šabata 2015-06-04 14:50:07 +02:00
parent d85e6f4072
commit e2d746486b
3 changed files with 49 additions and 57 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ POE-1.289.tar.gz
/POE-1.364.tar.gz
/POE-1.365.tar.gz
/POE-1.366.tar.gz
/POE-1.367.tar.gz

View File

@ -1,5 +1,5 @@
Name: perl-POE
Version: 1.366
Version: 1.367
Release: 1%{?dist}
Summary: POE - portable multitasking and networking framework for Perl
@ -8,66 +8,62 @@ 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
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
# Build
BuildRequires: perl
BuildRequires: perl(Carp)
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Spec) >= 0.87
# XXX: BuildRequires: perl(Getopt::Long)
BuildRequires: perl(lib)
BuildRequires: perl(Socket) >= 1.7
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
BuildRequires: perl(Compress::Zlib) >= 1.33
BuildRequires: perl(Config)
BuildRequires: perl(constant)
BuildRequires: perl(Curses) >= 1.08
# 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(ExtUtils::MakeMaker)
BuildRequires: perl(Fcntl)
BuildRequires: perl(File::Spec) >= 0.87
BuildRequires: perl(FileHandle)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(HTTP::Date)
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(HTTP::Status)
BuildRequires: perl(IO) >= 1.24
BuildRequires: perl(IO::Handle) >= 1.27
BuildRequires: perl(IO::Pipely) >= 0.005
BuildRequires: perl(IO::Poll) >= 0.01
BuildRequires: perl(IO::Pty) >= 1.02
BuildRequires: perl(IO::Pty)
BuildRequires: perl(IO::Tty) >= 1.08
BuildRequires: perl(lib)
BuildRequires: perl(POSIX) >= 1.02
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Socket) >= 1.7
BuildRequires: perl(Socket6) >= 0.14
BuildRequires: perl(Socket::GetAddrInfo)
BuildRequires: perl(Storable) >= 2.26
BuildRequires: perl(strict)
# 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
# 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
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# test
# Tests only
BuildRequires: perl(File::Temp)
BuildRequires: perl(IO::File)
BuildRequires: perl(List::Util)
BuildRequires: perl(Test::Harness) >= 2.26
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(Tie::Handle)
BuildRequires: perl(Time::HiRes) >= 1.59
# optional tests
# POE::Test::Loops unsurprisingly requires POE
# ...and it's not in EPEL at the moment
%if 0%{!?perl_bootstrap:1} && ! ( 0%{?rhel} )
# Optional tests only
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(POE::Test::Loops) >= 1.360
%endif
BuildRequires: perl(YAML)
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Requires: perl(bytes)
Requires: perl(Compress::Zlib) >= 1.33
Requires: perl(Data::Dumper)
Requires: perl(Errno) >= 1.09
@ -76,24 +72,20 @@ Requires: perl(IO::Handle) >= 1.27
Requires: perl(IO::Pipely) >= 0.005
Requires: perl(IO::Pty)
Requires: perl(IO::Tty) >= 1.08
# XXX: Requires: perl(POE::XS::Queue::Array)
Requires: perl(POSIX) >= 1.02
Requires: perl(Socket) >= 1.7
Requires: perl(Socket6) >= 0.14
# XXX: Requires: perl(Socket6)
# XXX: Requires: perl(Socket::GetAddrInfo)
Requires: perl(Storable) >= 2.26
Requires: perl(Time::HiRes) >= 1.59
%{?perl_default_filter}
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Errno\\)$
%global __requires_exclude %__requires_exclude|^perl\\(File::Spec\\)$
%global __requires_exclude %__requires_exclude|^perl\\(IO::Handle\\)$
%global __requires_exclude %__requires_exclude|^perl\\(IO::Pipely\\)$
%global __requires_exclude %__requires_exclude|^perl\\(IO::Tty\\)$
%global __requires_exclude %__requires_exclude|^perl\\(POSIX\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Socket\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Socket6\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Storable\\)$
%global __requires_exclude %__requires_exclude|^perl\\(Time::HiRes\\)$
%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.
@ -111,26 +103,20 @@ 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
# yah. don't do the network tests
%{?!_with_network_tests: rm run_network_tests }
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --default
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
make pure_install DESTDIR=%{buildroot}
%{_fixperms} %{buildroot}/*
%check
# enable POD tests
#export POE_TEST_POD=1
# 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.
@ -138,11 +124,16 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
make test
%files
%doc CHANGES HISTORY README examples/ TODO t/
%doc CHANGES HISTORY README examples/ TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Jun 04 2015 Petr Šabata <contyk@redhat.com> - 1.367-1
- 1.367 bump
- Rewrite the dep list, drop EPEL support
- Don't package tests
* Tue Nov 04 2014 Petr Šabata <contyk@redhat.com> - 1.366-1
- 1.366 bump

View File

@ -1 +1 @@
0cbbc3fadf5787cd91a5005128fd39f0 POE-1.366.tar.gz
9b2e4375152b139e4ab5f7dfb2cc5b15 POE-1.367.tar.gz