jplesnik pushed to perl-Test-Pod-No404s (master). "Disable using of Test::Apocalypse with Perl 5.22"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jun 11 07:01:19 UTC 2015


From 441b0f6012899b091615d74b3529f89397e8e710 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
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 <jplesnik at redhat.com> - 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 <jplesnik at redhat.com> - 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


More information about the perl-devel mailing list