Never BR: perl(Test::Version) for EL builds

- 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
This commit is contained in:
Paul Howarth 2012-10-11 21:36:35 +01:00
parent 4194ed1c64
commit 8e838f9df7

View File

@ -3,7 +3,7 @@
Name: perl-CPAN-Meta-YAML Name: perl-CPAN-Meta-YAML
Version: 0.008 Version: 0.008
Release: 11%{?dist} Release: 12%{?dist}
Summary: Read and write a subset of YAML for CPAN Meta files Summary: Read and write a subset of YAML for CPAN Meta files
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
@ -30,9 +30,9 @@ BuildRequires: perl(Test::Spelling), aspell-en
BuildRequires: perl(Test::CPAN::Meta) BuildRequires: perl(Test::CPAN::Meta)
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Requires)
# RHEL ≤ 6 doesn't have a recent enough perl(version) for perl(Test::Version) # RHEL ≤ 6 doesn't have a recent enough perl(version) for perl(Test::Version) in EPEL
# RHEL ≥ 7 does not have perl(Test::Version) # RHEL ≥ 7 includes this package but does not have perl(Test::Version)
%if 0%{?fedora} || 0%{?rhel} == 6 %if 0%{?fedora}
BuildRequires: perl(Test::Version) BuildRequires: perl(Test::Version)
%endif %endif
%endif %endif
@ -76,6 +76,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/CPAN::Meta::YAML.3pm* %{_mandir}/man3/CPAN::Meta::YAML.3pm*
%changelog %changelog
* Thu Oct 11 2012 Paul Howarth <paul@city-fan.org> - 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 <ppisar@redhat.com> - 0.008-11 * Thu Oct 11 2012 Petr Pisar <ppisar@redhat.com> - 0.008-11
- Restrict Test::Version optional test on RHEL to version 6 only - Restrict Test::Version optional test on RHEL to version 6 only