From df7d44b9f69c07c85cc6db4d811cb6849f509483 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <[email protected]>
Date: Tue, 2 Jun 2015 16:02:13 +0200
Subject: Disable using of Test::Vars with Perl 5.22


diff --git a/perl-Software-License-CCpack.spec 
b/perl-Software-License-CCpack.spec
index 1b9b568..c622898 100644
--- a/perl-Software-License-CCpack.spec
+++ b/perl-Software-License-CCpack.spec
@@ -5,7 +5,7 @@
 
 Name:          perl-Software-License-CCpack
 Version:       1.11
-Release:       1%{?dist}
+Release:       2%{?dist}
 Summary:       Software::License pack for Creative Commons' licenses
 License:       LGPLv3
 URL:           http://search.cpan.org/dist/Software-License-CCpack/
@@ -40,7 +40,11 @@ BuildRequires:       perl(Test::Pod) >= 1.41
 BuildRequires: perl(Test::Pod::Coverage) >= 1.08
 BuildRequires: perl(Test::Portability::Files)
 BuildRequires: perl(Test::Synopsis)
+# Disable using of Test::Vars, because it fails 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
 # Runtime
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -101,6 +105,9 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" 
RELEASE_TESTING=1
 %{_mandir}/man3/Software::License::CC_PDM_1_0.3*
 
 %changelog
+* Tue Jun 02 2015 Jitka Plesnikova <[email protected]> - 1.11-2
+- Disable using of Test::Vars with Perl 5.22
+
 * Mon Oct 20 2014 Paul Howarth <[email protected]> - 1.11-1
 - Update to 1.11
   - Include all versions of licenses, including the new 4.0 ones
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-Software-License-CCpack.git/commit/?h=master&id=df7d44b9f69c07c85cc6db4d811cb6849f509483
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to