[perl-POE-Component-Client-Keepalive] 0.268 bump

Petr Šabata psabata at fedoraproject.org
Fri Jan 20 15:05:44 UTC 2012


commit 3b944be950efa64c8bf5e8963f4a6486fc59522b
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Jan 20 16:02:28 2012 +0100

    0.268 bump

 .gitignore                               |    1 +
 perl-POE-Component-Client-Keepalive.spec |   50 +++++++++++++++--------------
 sources                                  |    2 +-
 3 files changed, 28 insertions(+), 25 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6f8e16b..be5a289 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 POE-Component-Client-Keepalive-0.262.tar.gz
+/POE-Component-Client-Keepalive-0.268.tar.gz
diff --git a/perl-POE-Component-Client-Keepalive.spec b/perl-POE-Component-Client-Keepalive.spec
index 2b97c3a..85894e3 100644
--- a/perl-POE-Component-Client-Keepalive.spec
+++ b/perl-POE-Component-Client-Keepalive.spec
@@ -1,37 +1,37 @@
 Name:           perl-POE-Component-Client-Keepalive
-%define real_ver 0.262
+%define real_ver 0.268
 # Keep four digits to stay above the unfortunate 0.0901,
 # so that epoch need not be changed.
 Version:        %{real_ver}0
-Release:        5%{?dist}
+Release:        1%{?dist}
 Summary:        Manages and keeps alive client connections
-
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/POE-Component-Client-Keepalive
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RC/RCAPUTO/POE-Component-Client-Keepalive-%{real_ver}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
 # core
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::More)
-# Original perl(POE) >= 1.28 rounded to 3 digit precision
-BuildRequires:  perl(POE) >= 1.280
-BuildRequires:  perl(POE::Component::Client::DNS) >= 1.051
+BuildRequires:  perl(IO::Socket::INET)
 BuildRequires:  perl(Net::IP) >= 1.25
-
+BuildRequires:  perl(POE) >= 1.311
+BuildRequires:  perl(POE::Component::Resolver) >= 0.913
+BuildRequires:  perl(POE::Component::Server::TCP)
+BuildRequires:  perl(POE::Component::SSLify)
+BuildRequires:  perl(POE::Wheel::ReadWrite)
+BuildRequires:  perl(POE::Wheel::SocketFactory)
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(Test::More)
+Requires:       perl(Net::IP) >= 1.25
+Requires:       perl(POE) >= 1.311
+Requires:       perl(POE::Component::Resolver) >= 0.913
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 # Satisfy automaticly generated requires that want this module >= 0.0901
 # (So the package has this provide in two versions, oh well.)
 Provides:       perl(POE::Component::Client::Keepalive) = %{version}
 
-### auto-added reqs!
-Requires:       perl(Net::IP) >= 1.25
-# Original perl(POE) >= 1.28 rounded to 3 digit precision
-Requires:       perl(POE) >= 1.280
-Requires:       perl(POE::Component::Client::DNS) >= 1.051
-
 %{?perl_default_filter}
 
 %description
@@ -44,18 +44,20 @@ probably be silly.
 %prep
 %setup -q -n POE-Component-Client-Keepalive-%{real_ver}
 chmod -c -x mylib/* t/*
+for test in t/release-pod-syntax.t \
+            t/release-pod-coverage.t \
+            t/000-report-versions.t; do
+    sed -i 's/#!perl/#!\/usr\/bin\/perl/' ${test}
+done
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 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 ';'
-
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -65,16 +67,16 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
 # this one test.
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc CHANGES README mylib/ t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Thu Jan 19 2012 Petr Šabata <contyk at redhat.com> - 0.2680-1
+- 0.268 bump
+- Spec cleanup
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2620-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 263ba03..83b3402 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3f15f0250ae7a74d6879d56011f515f9  POE-Component-Client-Keepalive-0.262.tar.gz
+318f18fce0837004fac8b792c5bbba1e  POE-Component-Client-Keepalive-0.268.tar.gz



More information about the perl-devel mailing list