From 9e3a22c6a354ec32dc6b475675c2eb1c3df78dcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Thu, 7 Jun 2012 11:10:24 +0200 Subject: [PATCH] conditionalize aspell dependency --- perl-Class-Load.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/perl-Class-Load.spec b/perl-Class-Load.spec index 0bd6a35..7cef362 100644 --- a/perl-Class-Load.spec +++ b/perl-Class-Load.spec @@ -1,6 +1,6 @@ Name: perl-Class-Load Version: 0.19 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A working (require "Class::Name") and more Group: Development/Libraries License: GPL+ or Artistic @@ -48,7 +48,10 @@ BuildRequires: perl(Test::NoTabs) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Requires) -BuildRequires: perl(Test::Spelling), aspell-en +BuildRequires: perl(Test::Spelling) +%if 0%{?rhel} < 7 +BuildRequires: aspell-en +%endif # =================================================================== # Runtime requirements # =================================================================== @@ -89,6 +92,9 @@ make test %{!?perl_bootstrap:RELEASE_TESTING=1} %{_mandir}/man3/Class::Load.3pm* %changelog +* Thu Jun 7 2012 Marcela Mašláňová - 0.19-2 +- conditionalize aspell dependency + * Tue Apr 3 2012 Paul Howarth - 0.19-1 - Update to 0.19 (no functional changes) - This release by DOY -> update source URL