1.367 bump
- Rewrite the dep list, drop EPEL support - Don't package tests
This commit is contained in:
parent
d85e6f4072
commit
e2d746486b
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,3 +10,4 @@ POE-1.289.tar.gz
|
|||||||
/POE-1.364.tar.gz
|
/POE-1.364.tar.gz
|
||||||
/POE-1.365.tar.gz
|
/POE-1.365.tar.gz
|
||||||
/POE-1.366.tar.gz
|
/POE-1.366.tar.gz
|
||||||
|
/POE-1.367.tar.gz
|
||||||
|
103
perl-POE.spec
103
perl-POE.spec
@ -1,5 +1,5 @@
|
|||||||
Name: perl-POE
|
Name: perl-POE
|
||||||
Version: 1.366
|
Version: 1.367
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: POE - portable multitasking and networking framework for Perl
|
Summary: POE - portable multitasking and networking framework for Perl
|
||||||
|
|
||||||
@ -8,66 +8,62 @@ 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
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
# Build
|
||||||
|
|
||||||
BuildRequires: perl
|
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(base)
|
||||||
BuildRequires: perl(bytes)
|
BuildRequires: perl(bytes)
|
||||||
BuildRequires: perl(Carp)
|
|
||||||
BuildRequires: perl(Compress::Zlib) >= 1.33
|
|
||||||
BuildRequires: perl(Config)
|
|
||||||
BuildRequires: perl(constant)
|
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(Data::Dumper)
|
||||||
BuildRequires: perl(Errno) >= 1.09
|
BuildRequires: perl(Errno) >= 1.09
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
||||||
BuildRequires: perl(Fcntl)
|
BuildRequires: perl(Fcntl)
|
||||||
BuildRequires: perl(File::Spec) >= 0.87
|
|
||||||
BuildRequires: perl(FileHandle)
|
BuildRequires: perl(FileHandle)
|
||||||
BuildRequires: perl(Getopt::Long)
|
|
||||||
BuildRequires: perl(HTTP::Date)
|
BuildRequires: perl(HTTP::Date)
|
||||||
BuildRequires: perl(HTTP::Request)
|
BuildRequires: perl(HTTP::Request)
|
||||||
BuildRequires: perl(HTTP::Response)
|
BuildRequires: perl(HTTP::Response)
|
||||||
BuildRequires: perl(HTTP::Status)
|
BuildRequires: perl(HTTP::Status)
|
||||||
BuildRequires: perl(IO) >= 1.24
|
|
||||||
BuildRequires: perl(IO::Handle) >= 1.27
|
BuildRequires: perl(IO::Handle) >= 1.27
|
||||||
BuildRequires: perl(IO::Pipely) >= 0.005
|
BuildRequires: perl(IO::Pipely) >= 0.005
|
||||||
BuildRequires: perl(IO::Poll) >= 0.01
|
BuildRequires: perl(IO::Poll) >= 0.01
|
||||||
BuildRequires: perl(IO::Pty) >= 1.02
|
BuildRequires: perl(IO::Pty)
|
||||||
BuildRequires: perl(IO::Tty) >= 1.08
|
BuildRequires: perl(IO::Tty) >= 1.08
|
||||||
BuildRequires: perl(lib)
|
|
||||||
BuildRequires: perl(POSIX) >= 1.02
|
BuildRequires: perl(POSIX) >= 1.02
|
||||||
BuildRequires: perl(Scalar::Util)
|
# XXX: BuildRequires: perl(Scalar::Util)
|
||||||
BuildRequires: perl(Socket) >= 1.7
|
# XXX: BuildRequires: perl(Socket6)
|
||||||
BuildRequires: perl(Socket6) >= 0.14
|
# XXX: BuildRequires: perl(Socket::GetAddrInfo)
|
||||||
BuildRequires: perl(Socket::GetAddrInfo)
|
|
||||||
BuildRequires: perl(Storable) >= 2.26
|
|
||||||
BuildRequires: perl(strict)
|
|
||||||
BuildRequires: perl(Symbol)
|
BuildRequires: perl(Symbol)
|
||||||
BuildRequires: perl(Sys::Hostname)
|
BuildRequires: perl(Sys::Hostname)
|
||||||
BuildRequires: perl(Term::Cap) >= 1.10
|
# XXX: BuildRequires: perl(Storable) >= 2.26
|
||||||
BuildRequires: perl(Term::ReadKey) >= 2.21
|
# XXX: BuildRequires: perl(Term::Cap) >= 1.10
|
||||||
|
# XXX: BuildRequires: perl(Term::ReadKey) >= 2.21
|
||||||
BuildRequires: perl(URI) >= 1.30
|
BuildRequires: perl(URI) >= 1.30
|
||||||
BuildRequires: perl(vars)
|
# Tests only
|
||||||
BuildRequires: perl(warnings)
|
|
||||||
# test
|
|
||||||
BuildRequires: perl(File::Temp)
|
BuildRequires: perl(File::Temp)
|
||||||
BuildRequires: perl(IO::File)
|
BuildRequires: perl(IO::File)
|
||||||
BuildRequires: perl(List::Util)
|
BuildRequires: perl(List::Util)
|
||||||
BuildRequires: perl(Test::Harness) >= 2.26
|
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
BuildRequires: perl(Test::Pod) >= 1.00
|
|
||||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
|
|
||||||
BuildRequires: perl(Tie::Handle)
|
BuildRequires: perl(Tie::Handle)
|
||||||
BuildRequires: perl(Time::HiRes) >= 1.59
|
BuildRequires: perl(Time::HiRes) >= 1.59
|
||||||
# optional tests
|
# Optional tests only
|
||||||
# POE::Test::Loops unsurprisingly requires POE
|
%if 0%{!?perl_bootstrap:1}
|
||||||
# ...and it's not in EPEL at the moment
|
|
||||||
%if 0%{!?perl_bootstrap:1} && ! ( 0%{?rhel} )
|
|
||||||
BuildRequires: perl(POE::Test::Loops) >= 1.360
|
BuildRequires: perl(POE::Test::Loops) >= 1.360
|
||||||
%endif
|
%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(Compress::Zlib) >= 1.33
|
||||||
Requires: perl(Data::Dumper)
|
Requires: perl(Data::Dumper)
|
||||||
Requires: perl(Errno) >= 1.09
|
Requires: perl(Errno) >= 1.09
|
||||||
@ -76,24 +72,20 @@ Requires: perl(IO::Handle) >= 1.27
|
|||||||
Requires: perl(IO::Pipely) >= 0.005
|
Requires: perl(IO::Pipely) >= 0.005
|
||||||
Requires: perl(IO::Pty)
|
Requires: perl(IO::Pty)
|
||||||
Requires: perl(IO::Tty) >= 1.08
|
Requires: perl(IO::Tty) >= 1.08
|
||||||
|
# XXX: Requires: perl(POE::XS::Queue::Array)
|
||||||
Requires: perl(POSIX) >= 1.02
|
Requires: perl(POSIX) >= 1.02
|
||||||
Requires: perl(Socket) >= 1.7
|
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(Storable) >= 2.26
|
||||||
Requires: perl(Time::HiRes) >= 1.59
|
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?perl_default_filter}
|
||||||
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Errno\\)$
|
||||||
%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(Errno\\)$
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)$
|
||||||
%global __requires_exclude %__requires_exclude|^perl\\(File::Spec\\)$
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IO::Handle\\)$
|
||||||
%global __requires_exclude %__requires_exclude|^perl\\(IO::Handle\\)$
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IO::Pipely\\)$
|
||||||
%global __requires_exclude %__requires_exclude|^perl\\(IO::Pipely\\)$
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(POSIX\\)$
|
||||||
%global __requires_exclude %__requires_exclude|^perl\\(IO::Tty\\)$
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Socket\\)$
|
||||||
%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\\)$
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
POE is a framework for cooperative, event driven multitasking in Perl.
|
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
|
%prep
|
||||||
%setup -q -n POE-%{version}
|
%setup -q -n POE-%{version}
|
||||||
# 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}|' {} +
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor --default
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --default
|
||||||
# yah. don't do the network tests
|
|
||||||
%{?!_with_network_tests: rm run_network_tests }
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
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}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# enable POD tests
|
# yah. don't do the network tests
|
||||||
#export POE_TEST_POD=1
|
%{?!_with_network_tests: rm run_network_tests }
|
||||||
# note that there are currently a number of tests that throw errors, but do
|
# 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
|
# 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.
|
# 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
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CHANGES HISTORY README examples/ TODO t/
|
%doc CHANGES HISTORY README examples/ TODO
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Nov 04 2014 Petr Šabata <contyk@redhat.com> - 1.366-1
|
||||||
- 1.366 bump
|
- 1.366 bump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user