[perl-Class-Load] conditionalize aspell dependency

Marcela Mašláňová mmaslano at fedoraproject.org
Thu Jun 7 09:10:36 UTC 2012


commit 9e3a22c6a354ec32dc6b475675c2eb1c3df78dcd
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Thu Jun 7 11:10:24 2012 +0200

    conditionalize aspell dependency

 perl-Class-Load.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/perl-Class-Load.spec b/perl-Class-Load.spec
index 0bd6a35..7cef362 100644
--- a/perl-Class-Load.spec
+++ b/perl-Class-Load.spec
@@ -1,6 +1,6 @@
 Name:		perl-Class-Load
 Version:	0.19
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A working (require "Class::Name") and more
 Group:		Development/Libraries
 License:	GPL+ or Artistic
@@ -48,7 +48,10 @@ BuildRequires:	perl(Test::NoTabs)
 BuildRequires:	perl(Test::Pod)
 BuildRequires:	perl(Test::Pod::Coverage)
 BuildRequires:	perl(Test::Requires)
-BuildRequires:	perl(Test::Spelling), aspell-en
+BuildRequires:	perl(Test::Spelling)
+%if 0%{?rhel} < 7
+BuildRequires:  aspell-en
+%endif
 # ===================================================================
 # Runtime requirements
 # ===================================================================
@@ -89,6 +92,9 @@ make test %{!?perl_bootstrap:RELEASE_TESTING=1}
 %{_mandir}/man3/Class::Load.3pm*
 
 %changelog
+* Thu Jun  7 2012 Marcela Mašláňová <mmaslano at redhat.com> - 0.19-2
+- conditionalize aspell dependency
+
 * Tue Apr  3 2012 Paul Howarth <paul at city-fan.org> - 0.19-1
 - Update to 0.19 (no functional changes)
 - This release by DOY -> update source URL



More information about the perl-devel mailing list