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

notifications at fedoraproject.org notifications at fedoraproject.org
Tue Jun 2 14:02:36 UTC 2015


From df7d44b9f69c07c85cc6db4d811cb6849f509483 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
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 <jplesnik at redhat.com> - 1.11-2
+- Disable using of Test::Vars with Perl 5.22
+
 * Mon Oct 20 2014 Paul Howarth <paul at city-fan.org> - 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


More information about the perl-devel mailing list