conditionalize aspell
This commit is contained in:
parent
69efbb0993
commit
4f6102cf16
@ -1,6 +1,6 @@
|
||||
Name: perl-Perl-Critic
|
||||
Version: 1.117
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Critique Perl source code for best-practices
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
@ -13,7 +13,9 @@ BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(Task::Weaken)
|
||||
|
||||
# Module requirements
|
||||
%if ! (0%{?rhel} >= 7)
|
||||
BuildRequires: aspell-en
|
||||
%endif
|
||||
BuildRequires: perl(B::Keywords) >= 1.05
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(charnames)
|
||||
@ -79,7 +81,9 @@ BuildRequires: perl(Test::Without::Module)
|
||||
|
||||
# Optional/not automatically detected runtime dependencies
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
%if ! (0%{?rhel} >= 7)
|
||||
Requires: aspell
|
||||
%endif
|
||||
Requires: perl(File::HomeDir)
|
||||
Requires: perl(File::Which)
|
||||
Requires: perl(Module::Pluggable) >= 3.1
|
||||
@ -144,6 +148,9 @@ LC_ALL=en_US ./Build %{!?perl_bootstrap:author}test
|
||||
%{_mandir}/man3/Test::Perl::Critic::Policy.3pm*
|
||||
|
||||
%changelog
|
||||
* Thu Jun 7 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1.117-5
|
||||
- conditionalize aspell
|
||||
|
||||
* Tue Apr 24 2012 Petr Pisar <ppisar@redhat.com> - 1.117-4
|
||||
- Do not use Test::Kwalitee on RHEL >= 7
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user