[perl-Perl-Critic] conditionalize aspell
Marcela Mašláňová
mmaslano at fedoraproject.org
Thu Jun 7 15:32:36 UTC 2012
commit 4f6102cf164f062b33efdbf8f753b42f96875a6a
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date: Thu Jun 7 17:32:26 2012 +0200
conditionalize aspell
perl-Perl-Critic.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-Perl-Critic.spec b/perl-Perl-Critic.spec
index 23fdec1..e536ba7 100644
--- a/perl-Perl-Critic.spec
+++ b/perl-Perl-Critic.spec
@@ -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 at redhat.com> - 1.117-5
+- conditionalize aspell
+
* Tue Apr 24 2012 Petr Pisar <ppisar at redhat.com> - 1.117-4
- Do not use Test::Kwalitee on RHEL >= 7
More information about the perl-devel
mailing list