From 441b0f6012899b091615d74b3529f89397e8e710 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <[email protected]>
Date: Thu, 11 Jun 2015 09:01:07 +0200
Subject: Disable using of Test::Apocalypse with Perl 5.22


diff --git a/perl-Test-Pod-No404s.spec b/perl-Test-Pod-No404s.spec
index dde5b4f..99fb3b0 100644
--- a/perl-Test-Pod-No404s.spec
+++ b/perl-Test-Pod-No404s.spec
@@ -29,8 +29,13 @@ BuildRequires:  perl(Test::More) >= 0.88
 # Optional tests:
 # Break build-time cycle with perl-Test-Apocalypse
 %if %{undefined perl_bootstrap}
+
+# 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
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 # Inject correct provide, bug #1160263
 Provides:       perl(Test::Pod::No404s) = %{version}
@@ -66,6 +71,7 @@ perl Build.PL --installdirs=vendor
 %changelog
 * Wed Jun 10 2015 Jitka Plesnikova <[email protected]> - 0.02-3
 - Perl 5.22 re-rebuild of bootstrapped packages
+- Disable using of Test::Apocalypse with Perl 5.22
 
 * Sat Jun 06 2015 Jitka Plesnikova <[email protected]> - 0.02-2
 - Perl 5.22 rebuild
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-Test-Pod-No404s.git/commit/?h=master&id=441b0f6012899b091615d74b3529f89397e8e710
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to