diff --git a/perl-CPAN-Meta-YAML.spec b/perl-CPAN-Meta-YAML.spec index 9d14dc6..be01f6e 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: 11%{?dist} +Release: 12%{?dist} Summary: Read and write a subset of YAML for CPAN Meta files License: GPL+ or Artistic Group: Development/Libraries @@ -30,9 +30,9 @@ BuildRequires: perl(Test::Spelling), aspell-en 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) -# RHEL ≥ 7 does not have perl(Test::Version) -%if 0%{?fedora} || 0%{?rhel} == 6 +# RHEL ≤ 6 doesn't have a recent enough perl(version) for perl(Test::Version) in EPEL +# RHEL ≥ 7 includes this package but does not have perl(Test::Version) +%if 0%{?fedora} BuildRequires: perl(Test::Version) %endif %endif @@ -76,6 +76,11 @@ rm -rf %{buildroot} %{_mandir}/man3/CPAN::Meta::YAML.3pm* %changelog +* Thu Oct 11 2012 Paul Howarth - 0.008-12 +- Never BR: perl(Test::Version) for EL builds as perl(version) is too old + prior to EL-7 and this package is included in RHEL ≥ 7 but Test::Version + is only in EPEL + * Thu Oct 11 2012 Petr Pisar - 0.008-11 - Restrict Test::Version optional test on RHEL to version 6 only