Restrict Test::Version optional test on RHEL to version 6 only
This commit is contained in:
parent
e14444c448
commit
4194ed1c64
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: perl-CPAN-Meta-YAML
|
Name: perl-CPAN-Meta-YAML
|
||||||
Version: 0.008
|
Version: 0.008
|
||||||
Release: 10%{?dist}
|
Release: 11%{?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
|
||||||
@ -31,7 +31,8 @@ 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)
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 6
|
# RHEL ≥ 7 does not have perl(Test::Version)
|
||||||
|
%if 0%{?fedora} || 0%{?rhel} == 6
|
||||||
BuildRequires: perl(Test::Version)
|
BuildRequires: perl(Test::Version)
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
@ -75,6 +76,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/CPAN::Meta::YAML.3pm*
|
%{_mandir}/man3/CPAN::Meta::YAML.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 11 2012 Petr Pisar <ppisar@redhat.com> - 0.008-11
|
||||||
|
- Restrict Test::Version optional test on RHEL to version 6 only
|
||||||
|
|
||||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-10
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-10
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user