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

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Jun 10 14:17:24 UTC 2015


From ad05e341aa45076d8ff36b4b81e141d49f7b902c Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Wed, 10 Jun 2015 16:11:57 +0200
Subject: Disable using of Test::Vars with Perl 5.22


diff --git a/perl-Test-Synopsis.spec b/perl-Test-Synopsis.spec
index 8984a8f..604726d 100644
--- a/perl-Test-Synopsis.spec
+++ b/perl-Test-Synopsis.spec
@@ -46,7 +46,11 @@ BuildRequires:	perl(Test::Pod) >= 1.41
 BuildRequires:	perl(Test::Pod::Coverage) >= 1.08
 BuildRequires:	perl(Test::Portability::Files)
 BuildRequires:	perl(Test::Spelling), hunspell-en
+# 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
 BuildRequires:	perl(Test::Version)
 %endif
 # Runtime
@@ -97,6 +101,7 @@ rm -rf %{buildroot}
 %changelog
 * Wed Jun 10 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.11-3
 - Perl 5.22 re-rebuild of bootstrapped packages
+- Disable using of Test::Vars with Perl 5.22
 
 * Wed Jun 03 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.11-2
 - Perl 5.22 rebuild
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Test-Synopsis.git/commit/?h=master&id=ad05e341aa45076d8ff36b4b81e141d49f7b902c


More information about the perl-devel mailing list