From c8e1258bb77eaa964b0691783749746e236897f8 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:51:30 +0200 Subject: [PATCH] conditionalize aspell dependency --- perl-Module-Implementation.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/perl-Module-Implementation.spec b/perl-Module-Implementation.spec index 87ab1f1..7a8ad0a 100644 --- a/perl-Module-Implementation.spec +++ b/perl-Module-Implementation.spec @@ -9,7 +9,7 @@ Name: perl-Module-Implementation Version: 0.06 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Loads one of several alternate underlying implementations for a module Group: Development/Libraries License: Artistic 2.0 @@ -47,7 +47,10 @@ BuildRequires: perl(Test::CPAN::Changes) BuildRequires: perl(Test::EOL) BuildRequires: perl(Test::NoTabs) BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Spelling), aspell-en +BuildRequires: perl(Test::Spelling) +%if 0%{?rhel} < 7 +BuildRequires: aspell-en +%endif # =================================================================== # Runtime requirements # =================================================================== @@ -97,6 +100,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Module::Implementation.3pm* %changelog +* Thu Jun 7 2012 Marcela Mašláňová - 0.06-2 +- conditionalize aspell dependency + * Sun Feb 12 2012 Paul Howarth - 0.06-1 - Update to 0.06 - Require Module::Runtime 0.012, which has a number of useful bug fixes