[perl-Params-Validate] Use aspell-en instead of hunspell.
corsepiu
corsepiu at fedoraproject.org
Wed May 7 13:20:27 UTC 2014
commit 04d8f1109bb0892faf5f99834965fac3291693df
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Wed May 7 15:20:45 2014 +0200
Use aspell-en instead of hunspell.
Params-Validate-1.08.diff | 21 ---------------------
perl-Params-Validate.spec | 12 +++++-------
2 files changed, 5 insertions(+), 28 deletions(-)
---
diff --git a/perl-Params-Validate.spec b/perl-Params-Validate.spec
index ed80070..337a967 100644
--- a/perl-Params-Validate.spec
+++ b/perl-Params-Validate.spec
@@ -16,15 +16,12 @@
Summary: Params-Validate Perl module
Name: perl-Params-Validate
Version: 1.08
-Release: 7%{?dist}
+Release: 8%{?dist}
License: Artistic 2.0
Group: Development/Libraries
URL: http://search.cpan.org/dist/Params-Validate/
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Params-Validate-%{version}.tar.gz
-# Hacks to make spell checking tests work with hunspell
-Patch0: Params-Validate-1.08.diff
-
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(Carp)
@@ -62,7 +59,7 @@ BuildRequires: perl(Test::Pod::LinkCheck)
BuildRequires: perl(Test::Pod::No404s)
BuildRequires: perl(LWP::Protocol::https)
BuildRequires: perl(Test::Spelling)
-BuildRequires: hunspell-en
+BuildRequires: aspell-en
%endif
%{?perl_default_filter}
@@ -78,8 +75,6 @@ certain methods, or applying validation callbacks to arguments.
%prep
%setup -q -n Params-Validate-%{version}
-%patch0 -p1
-sed -i -e "s,set_spell_cmd(.*),set_spell_cmd(\'hunspell -l\')," t/release-pod-spell.t
%build
%{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS"
@@ -102,6 +97,9 @@ find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
%{_mandir}/man3/*
%changelog
+* Wed May 07 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.08-8
+- Use aspell-en instead of hunspell.
+
* Tue May 06 2014 Ralf Corsépius <corsepiu at fedoraproject.org> - 1.08-7
- Add "'globals" to Params-Validate-1.08.diff (FTBFS RHBZ #1094169).
- Remove %%defattr.
More information about the scm-commits
mailing list