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

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jun 9 08:24:55 UTC 2015


From 08547b32c766618c454e4d30f217b8ace314994a Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Tue, 9 Jun 2015 10:24:35 +0200
Subject: Disable using of Test::Vars with Perl 5.22


diff --git a/perl-HTML-Format.spec b/perl-HTML-Format.spec
index 9626c1f..0deb098 100644
--- a/perl-HTML-Format.spec
+++ b/perl-HTML-Format.spec
@@ -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 at redhat.com> - 2.11-4
+- Disable using of Test::Vars with Perl 5.22
+
 * Mon Sep 01 2014 Jitka Plesnikova <jplesnik at redhat.com> - 2.11-3
 - Perl 5.20 rebuild
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-HTML-Format.git/commit/?h=master&id=08547b32c766618c454e4d30f217b8ace314994a


More information about the perl-devel mailing list