From d6de31506ba0f63be9f776a1a99be84efbbbe0c2 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 12:39:11 +0200 Subject: [PATCH] conditionalize aspell-en dependency. --- perl-Package-DeprecationManager.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec index 42c6fe4..e2d7c3b 100644 --- a/perl-Package-DeprecationManager.spec +++ b/perl-Package-DeprecationManager.spec @@ -6,7 +6,7 @@ Name: perl-Package-DeprecationManager Version: 0.13 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manage deprecation warnings for your distribution Group: Development/Libraries License: Artistic 2.0 @@ -33,7 +33,16 @@ BuildRequires: perl(Test::Output) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Requires) -BuildRequires: perl(Test::Spelling), aspell-en +BuildRequires: perl(Test::Spelling) +# Don't run extra tests when bootstrapping as many of those +# tests' dependencies build-require this package +%if 0%{!?perl_bootstrap:1} +# RHEL-7 package cannot have buildreqs from EPEL-7 (aspell), +# so skip the spell check there +%if 0%{?rhel} < 7 +aspell-en +%endif +%endif Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description @@ -76,6 +85,9 @@ rm -rf %{buildroot} %{_mandir}/man3/Package::DeprecationManager.3pm* %changelog +* Thu Jun 7 2012 Marcela Mašláňová - 0.13-3 +- conditionalize aspell-en + * Mon Apr 23 2012 Paul Howarth - 0.13-2 - Upstream has dropped Kwalitee test, so drop BR: perl(Test::Kwalitee)