jplesnik pushed to perl-Test-Version (master). "Disable using of Test::Vars with Perl 5.22"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jun 11 07:08:05 UTC 2015


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


More information about the perl-devel mailing list