Use aspell-en instead of hunspell.
This commit is contained in:
parent
c9700993d4
commit
04d8f1109b
@ -1,21 +0,0 @@
|
||||
--- Params-Validate-1.08.orig/t/release-pod-spell.t 2013-06-07 21:34:33.000000000 +0200
|
||||
+++ Params-Validate-1.08/t/release-pod-spell.t 2014-05-06 00:50:02.811961467 +0200
|
||||
@@ -29,8 +29,9 @@
|
||||
# https://bugs.launchpad.net/ubuntu/+source/aspell/+bug/71322
|
||||
local $ENV{LC_ALL} = 'C';
|
||||
all_pod_files_spelling_ok();
|
||||
-
|
||||
__DATA__
|
||||
+'
|
||||
+''
|
||||
API
|
||||
CPAN
|
||||
GLOBREF
|
||||
@@ -42,5 +43,7 @@
|
||||
ValidatePos
|
||||
baz
|
||||
onwards
|
||||
+'globals
|
||||
+'globals'
|
||||
pre
|
||||
runtime
|
||||
@ -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@fedoraproject.org> - 1.08-8
|
||||
- Use aspell-en instead of hunspell.
|
||||
|
||||
* Tue May 06 2014 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-7
|
||||
- Add "'globals" to Params-Validate-1.08.diff (FTBFS RHBZ #1094169).
|
||||
- Remove %%defattr.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user