From 8e838f9df7467c24c2bd12f0191eefb94e4a5c9b Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 11 Oct 2012 21:36:35 +0100 Subject: [PATCH] Never BR: perl(Test::Version) for EL builds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- perl-CPAN-Meta-YAML.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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