Disable using of Test::Vars with Perl 5.22
This commit is contained in:
parent
8b3cb7a38b
commit
df7d44b9f6
|
@ -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@redhat.com> - 1.11-2
|
||||
- Disable using of Test::Vars with Perl 5.22
|
||||
|
||||
* Mon Oct 20 2014 Paul Howarth <paul@city-fan.org> - 1.11-1
|
||||
- Update to 1.11
|
||||
- Include all versions of licenses, including the new 4.0 ones
|
||||
|
|
Loading…
Reference in New Issue