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


diff --git a/perl-Test-Version.spec b/perl-Test-Version.spec
index 1f0386a..fef4f8c 100644
--- a/perl-Test-Version.spec
+++ b/perl-Test-Version.spec
@@ -56,8 +56,12 @@ BuildRequires:       perl(Test::Perl::Critic)
 BuildRequires: perl(Test::Pod) >= 1.41
 BuildRequires: perl(Test::Pod::Coverage) >= 1.08
 BuildRequires: perl(Test::Portability::Files)
+# Disable using of Test::Vars, because it failed with Perl 5.22.0
+# There is not a properly fix for it yet
+%if ! 0%(perl -e 'print $] >= 5.022')
 BuildRequires: perl(Test::Vars)
 %endif
+%endif
 # ===================================================================
 # Runtime requirements
 # ===================================================================
@@ -94,6 +98,7 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
 %changelog
 * Wed Jun 10 2015 Jitka Plesnikova <[email protected]> - 2.01-3
 - Perl 5.22 re-rebuild of bootstrapped packages
+- Disable using of Test::Vars with Perl 5.22
 
 * Thu Jun 04 2015 Jitka Plesnikova <[email protected]> - 2.01-2
 - Perl 5.22 rebuild
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-Test-Version.git/commit/?h=master&id=e3cb2fc0f5fcee2152e514e770ea0cadaa6fd0ce
--
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