From 7dbb05d750aecc869a51eff4cace4f942b812da5 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik(a)redhat.com>
Date: Tue, 2 Jun 2015 13:32:39 +0200
Subject: Disable using of Test::Apocalypse
diff --git a/perl-POE-Component-SSLify.spec b/perl-POE-Component-SSLify.spec
index f328fab..08ebf33 100644
--- a/perl-POE-Component-SSLify.spec
+++ b/perl-POE-Component-SSLify.spec
@@ -1,6 +1,6 @@
Name: perl-POE-Component-SSLify
Version: 1.012
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Makes using SSL in the world of POE easy!
License: GPL+ or Artistic
Group: Development/Libraries
@@ -37,7 +37,11 @@ BuildRequires: perl(Test::More) >= 1.001002
# Optional tests:
# CPAN::Meta not usefull
BuildRequires: perl(IO::Prompt::Tiny)
+# Disable using of Test::Apocalypse, because it cannot be built with Perl 5.22
+# due to failing perl-Test-Vars
+%if ! 0%(perl -e 'print $] >= 5.022')
BuildRequires: perl(Test::Apocalypse) >= 1.000
+%endif
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo
$version))
Requires: perl(POE) >= 1.267
Requires: perl(warnings)
@@ -75,6 +79,9 @@ AUTOMATED_TESTING=0 ./Build test
%{_mandir}/man3/*
%changelog
+* Tue Jun 02 2015 Jitka Plesnikova <jplesnik(a)redhat.com> - 1.012-3
+- Disable using of Test::Apocalypse
+
* Mon May 18 2015 Petr Pisar <ppisar(a)redhat.com> - 1.012-2
- Do not use SSLv3 in tests
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-POE-Component-SSLify.git/commit/?...