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

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Jun 11 07:10:25 UTC 2015


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


diff --git a/perl-Pod-Wordlist-hanekomu.spec b/perl-Pod-Wordlist-hanekomu.spec
index 2febac3..39cfb7b 100644
--- a/perl-Pod-Wordlist-hanekomu.spec
+++ b/perl-Pod-Wordlist-hanekomu.spec
@@ -69,9 +69,13 @@ BuildRequires:	perl(Test::Portability::Files)
 BuildRequires:	perl(Test::Synopsis)
 # Test::Vars requires Perl 5.10 and so is not available in EPEL-5
 %if "%{?rhel}" != "5"
+# 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
+%endif
 # ===================================================================
 # Runtime requirements
 # ===================================================================
@@ -138,6 +142,7 @@ rm -rf %{buildroot}
 %changelog
 * Wed Jun 10 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.132680-6
 - Perl 5.22 re-rebuild of bootstrapped packages
+- Disable using of Test::Vars with Perl 5.22
 
 * Sat Jun 06 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.132680-5
 - Perl 5.22 rebuild
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Pod-Wordlist-hanekomu.git/commit/?h=master&id=152f413f423c91195f1a29a07f45122df7eda164


More information about the scm-commits mailing list