From d2bd55a4a335b68cac39bd50215812e844cab63f 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 15:50:36 +0200 Subject: [PATCH] Conditionalize aspell-en & friends --- perl-Test-Synopsis.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/perl-Test-Synopsis.spec b/perl-Test-Synopsis.spec index cddef6d..8d1c242 100644 --- a/perl-Test-Synopsis.spec +++ b/perl-Test-Synopsis.spec @@ -1,6 +1,6 @@ Name: perl-Test-Synopsis Version: 0.06 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Test your SYNOPSIS code Group: Development/Libraries License: GPL+ or Artistic @@ -12,10 +12,11 @@ BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::Manifest) BuildRequires: perl(Test::Builder::Module) BuildRequires: perl(Test::Pod) >= 1.00 -BuildRequires: perl(Test::Spelling), aspell-en # Test::Perl::Critic -> Perl::Critic -> List::MoreUtils -> Test::LeakTrace -> Test::Synopsis -%if 0%{!?perl_bootstrap:1} +%if 0%{!?perl_bootstrap:1} || ! (0%{?rhel} >= 7) +BuildRequires: aspell-en BuildRequires: perl(Test::Perl::Critic) +BuildRequires: perl(Test::Spelling) %endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Test::Builder::Module) @@ -56,6 +57,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Test::Synopsis.3pm* %changelog +* Thu Jun 7 2012 Marcela Mašláňová - 0.06-10 +- Conditionalize aspell-en & friends + * Wed Jan 25 2012 Paul Howarth - 0.06-9 - Can run spelling test unconditionally now - BR: perl(ExtUtils::Manifest)