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)