psabata pushed to perl-POE (master). "1.367 bump (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jun 4 12:50:18 UTC 2015


From e2d746486bf6c77e314b27a70737cd59e573676f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Thu, 4 Jun 2015 14:50:07 +0200
Subject: 1.367 bump

- Rewrite the dep list, drop EPEL support
- Don't package tests

diff --git a/.gitignore b/.gitignore
index 9b50654..fb287c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/perl-POE.spec b/perl-POE.spec
index 9f5f585..50c44f5 100644
--- a/perl-POE.spec
+++ b/perl-POE.spec
@@ -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(base)
-BuildRequires:  perl(bytes)
 BuildRequires:  perl(Carp)
-BuildRequires:  perl(Compress::Zlib) >= 1.33
 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(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 at 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 at redhat.com> - 1.366-1
 - 1.366 bump
 
diff --git a/sources b/sources
index 04b2d70..c99f9e9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0cbbc3fadf5787cd91a5005128fd39f0  POE-1.366.tar.gz
+9b2e4375152b139e4ab5f7dfb2cc5b15  POE-1.367.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-POE.git/commit/?h=master&id=e2d746486bf6c77e314b27a70737cd59e573676f


More information about the perl-devel mailing list