diff --git a/perl-CPAN-Meta-YAML.spec b/perl-CPAN-Meta-YAML.spec index bb8b7ee..9d14dc6 100644 --- a/perl-CPAN-Meta-YAML.spec +++ b/perl-CPAN-Meta-YAML.spec @@ -3,7 +3,7 @@ Name: perl-CPAN-Meta-YAML Version: 0.008 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Read and write a subset of YAML for CPAN Meta files License: GPL+ or Artistic Group: Development/Libraries @@ -31,7 +31,8 @@ BuildRequires: perl(Test::CPAN::Meta) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Requires) # RHEL ≤ 6 doesn't have a recent enough perl(version) for perl(Test::Version) -%if 0%{?fedora} || 0%{?rhel} > 6 +# RHEL ≥ 7 does not have perl(Test::Version) +%if 0%{?fedora} || 0%{?rhel} == 6 BuildRequires: perl(Test::Version) %endif %endif @@ -75,6 +76,9 @@ rm -rf %{buildroot} %{_mandir}/man3/CPAN::Meta::YAML.3pm* %changelog +* Thu Oct 11 2012 Petr Pisar - 0.008-11 +- Restrict Test::Version optional test on RHEL to version 6 only + * Fri Jul 20 2012 Fedora Release Engineering - 0.008-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild