Disable using of Test::Vars with Perl 5.22

This commit is contained in:
Jitka Plesnikova 2015-06-09 10:24:35 +02:00
parent 1ce0e87af6
commit 08547b32c7

View File

@ -1,6 +1,6 @@
Name: perl-HTML-Format
Version: 2.11
Release: 3%{?dist}
Release: 4%{?dist}
Summary: HTML formatter modules
Group: Development/Libraries
@ -49,7 +49,11 @@ BuildRequires: perl(Test::NoTabs)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Portability::Files)
BuildRequires: perl(Test::Synopsis)
# 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
# These must match
# %FontFamilies in lib/HTML/FormatPS.pm
@ -98,6 +102,9 @@ cd ..
%{_mandir}/man3/HTML*
%changelog
* Wed May 27 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-4
- Disable using of Test::Vars with Perl 5.22
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.11-3
- Perl 5.20 rebuild