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:
parent
4194ed1c64
commit
8e838f9df7
@ -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 <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
|
||||
- Restrict Test::Version optional test on RHEL to version 6 only
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user