[perl-POE] Don't require POE::Test::Loops on EPEL

Petr Šabata psabata at fedoraproject.org
Wed May 15 14:50:20 UTC 2013


commit 962c2b925a29a063ba9a7111b5da03f3a127ee9c
Author: Petr Šabata <contyk at redhat.com>
Date:   Wed May 15 16:50:15 2013 +0200

    Don't require POE::Test::Loops on EPEL

 perl-POE.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/perl-POE.spec b/perl-POE.spec
index 9883ca0..87e6864 100644
--- a/perl-POE.spec
+++ b/perl-POE.spec
@@ -1,6 +1,6 @@
 Name:      perl-POE
 Version:   1.354
-Release:   5%{?dist}
+Release:   6%{?dist}
 Summary:   POE - portable multitasking and networking framework for Perl
 
 Group:     Development/Libraries
@@ -28,7 +28,8 @@ BuildRequires:  perl(HTTP::Request)
 BuildRequires:  perl(HTTP::Response)
 BuildRequires:  perl(HTTP::Status)
 # 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.351
 %endif
 BuildRequires:  perl(Socket) >= 1.7
@@ -119,6 +120,9 @@ make test
 %{_mandir}/man3/*.3*
 
 %changelog
+* Wed May 15 2013 Petr Šabata <contyk at redhat.com> - 1.354-6
+- Don't require POE::Test::Loops on EPEL
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.354-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list