commit d6de31506ba0f63be9f776a1a99be84efbbbe0c2 Author: Marcela Mašláňová <mmaslano@xxxxxxxxxx> Date: Thu Jun 7 12:39:11 2012 +0200 conditionalize aspell-en dependency. perl-Package-DeprecationManager.spec | 16 ++++++++++++++-- 1 files 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á <mmaslano@xxxxxxxxxx> - 0.13-3 +- conditionalize aspell-en + * Mon Apr 23 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.13-2 - Upstream has dropped Kwalitee test, so drop BR: perl(Test::Kwalitee) -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel