[perl-CPAN-Meta-YAML] Restrict Test::Version optional test on RHEL to version 6 only
Petr Pisar
ppisar at fedoraproject.org
Thu Oct 11 15:12:15 UTC 2012
commit 4194ed1c6412f3179ea2241f5704410b2a9bda80
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Oct 11 16:55:58 2012 +0200
Restrict Test::Version optional test on RHEL to version 6 only
perl-CPAN-Meta-YAML.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/perl-CPAN-Meta-YAML.spec b/perl-CPAN-Meta-YAML.spec
index bb8b7ee..9d14dc6 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: 10%{?dist}
+Release: 11%{?dist}
Summary: Read and write a subset of YAML for CPAN Meta files
License: GPL+ or Artistic
Group: Development/Libraries
@@ -31,7 +31,8 @@ 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)
-%if 0%{?fedora} || 0%{?rhel} > 6
+# RHEL ≥ 7 does not have perl(Test::Version)
+%if 0%{?fedora} || 0%{?rhel} == 6
BuildRequires: perl(Test::Version)
%endif
%endif
@@ -75,6 +76,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/CPAN::Meta::YAML.3pm*
%changelog
+* Thu Oct 11 2012 Petr Pisar <ppisar at 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 at lists.fedoraproject.org> - 0.008-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the perl-devel
mailing list