[perl-CPAN-Meta-YAML] Never BR: perl(Test::Version) for EL builds
Paul Howarth
pghmcfc at fedoraproject.org
Thu Oct 11 20:37:19 UTC 2012
commit 8e838f9df7467c24c2bd12f0191eefb94e4a5c9b
Author: Paul Howarth <paul at city-fan.org>
Date: Thu Oct 11 21:36:35 2012 +0100
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
perl-CPAN-Meta-YAML.spec | 13 +++++++++----
1 files 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 <paul at 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 at redhat.com> - 0.008-11
- Restrict Test::Version optional test on RHEL to version 6 only
More information about the scm-commits
mailing list