Disable using of Test::Vars with Perl 5.22

epel9
Jitka Plesnikova 10 years ago
parent dd6c25bbfe
commit e3cb2fc0f5

@ -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@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@redhat.com> - 2.01-2
- Perl 5.22 rebuild

Loading…
Cancel
Save