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

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Jun 10 15:25:10 UTC 2015


From 13b426a9fa766711be3fb630feb2e51e7afbd186 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Wed, 10 Jun 2015 16:35:14 +0200
Subject: Disable using of Test::Apocalypse with Perl 5.22


diff --git a/perl-Test-Pod-LinkCheck.spec b/perl-Test-Pod-LinkCheck.spec
index 9ce5b25..225cd6a 100644
--- a/perl-Test-Pod-LinkCheck.spec
+++ b/perl-Test-Pod-LinkCheck.spec
@@ -34,8 +34,13 @@ BuildRequires:  perl(Test::Tester)
 # Optional tests:
 %if %{undefined perl_bootstrap}
 # Break build-time cycle with perl-Test-Apocalypse
+
+# 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))
 Requires:       perl(App::PodLinkCheck::ParseSections)
 Requires:       perl(Capture::Tiny)
@@ -72,6 +77,7 @@ perl Build.PL --installdirs=vendor
 %changelog
 * Wed Jun 10 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.008-3
 - Perl 5.22 re-rebuild of bootstrapped packages
+- Disable using of Test::Apocalypse with Perl 5.22
 
 * Mon Jun 08 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.008-2
 - Perl 5.22 rebuild
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Test-Pod-LinkCheck.git/commit/?h=master&id=13b426a9fa766711be3fb630feb2e51e7afbd186


More information about the perl-devel mailing list