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

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Jun 10 13:26:50 UTC 2015


From 977ec425e3128aef380dffb6aa704efb24ab778e Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Wed, 10 Jun 2015 15:24:51 +0200
Subject: Disable using of Test::Vars with Perl 5.22


diff --git a/perl-Test-Mojibake.spec b/perl-Test-Mojibake.spec
index 3101f77..02bb79c 100644
--- a/perl-Test-Mojibake.spec
+++ b/perl-Test-Mojibake.spec
@@ -62,8 +62,12 @@ BuildRequires:	perl(Test::Synopsis)
 # Modules only available from EL-6
 %if 0%{?fedora} || 0%{?rhel} > 5
 BuildRequires:	perl(Test::Perl::Critic), perl(Perl::Critic) >= 1.094
+# 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
 # Modules only available from EL-7
 %if 0%{?fedora} || 0%{?rhel} > 6
 BuildRequires:	perl(Test::CPAN::Changes)
@@ -154,6 +158,7 @@ rm -rf %{buildroot}
 %changelog
 * Wed Jun 10 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.0-6
 - Perl 5.22 re-rebuild of bootstrapped packages
+- Disable using of Test::Vars with Perl 5.22
 
 * Fri Jun 05 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.0-5
 - Perl 5.22 rebuild
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Test-Mojibake.git/commit/?h=master&id=977ec425e3128aef380dffb6aa704efb24ab778e


More information about the perl-devel mailing list