From da069bfbf59f515e371c3876113ea79177c36700 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Oct 07 2014 15:48:17 +0000 Subject: Update to 0.20 - New upstream release 0.20 - Add a sorted list of your most commonly misspelled words to the end of all_pod_files_spelling_ok to aid stopword list creation and bulk correction - Classify buildreqs by usage - Update hunspell preference patch --- diff --git a/Test-Spelling-0.19-hunspell.patch b/Test-Spelling-0.19-hunspell.patch deleted file mode 100644 index 4622d59..0000000 --- a/Test-Spelling-0.19-hunspell.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- lib/Test/Spelling.pm -+++ lib/Test/Spelling.pm -@@ -34,10 +34,10 @@ sub spellchecker_candidates { - return $SPELLCHECKER if $SPELLCHECKER; - - return ( -- 'spell', # for back-compat, this is the top candidate ... -+ 'hunspell -l', - 'aspell list -l en -p /dev/null', # ... but this should become first soon - 'ispell -l', -- 'hunspell -l', -+ 'spell', - ); - } - diff --git a/Test-Spelling-0.20-hunspell.patch b/Test-Spelling-0.20-hunspell.patch new file mode 100644 index 0000000..1002260 --- /dev/null +++ b/Test-Spelling-0.20-hunspell.patch @@ -0,0 +1,15 @@ +--- lib/Test/Spelling.pm ++++ lib/Test/Spelling.pm +@@ -36,10 +36,10 @@ sub spellchecker_candidates { + return $SPELLCHECKER if $SPELLCHECKER; + + return ( +- 'spell', # for back-compat, this is the top candidate ... ++ 'hunspell -l', + 'aspell list -l en -p /dev/null', # ... but this should become first soon + 'ispell -l', +- 'hunspell -l', ++ 'spell', + ); + } + diff --git a/perl-Test-Spelling.spec b/perl-Test-Spelling.spec index 1435a10..e1c1826 100644 --- a/perl-Test-Spelling.spec +++ b/perl-Test-Spelling.spec @@ -1,27 +1,35 @@ Name: perl-Test-Spelling -Version: 0.19 -Release: 5%{?dist} +Version: 0.20 +Release: 1%{?dist} Summary: Check for spelling errors in POD files Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-Spelling/ Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Test-Spelling-%{version}.tar.gz -Patch0: Test-Spelling-0.19-hunspell.patch +Patch0: Test-Spelling-0.20-hunspell.patch BuildArch: noarch -BuildRequires: hunspell-en +# Module Build +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: hunspell BuildRequires: perl(base) BuildRequires: perl(Carp) -BuildRequires: perl(Cwd) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(IPC::Run3) >= 0.044 BuildRequires: perl(Pod::Spell) >= 1.01 +BuildRequires: perl(strict) +BuildRequires: perl(Symbol) BuildRequires: perl(Test::Builder) -BuildRequires: perl(Test::More) +BuildRequires: perl(Text::Wrap) +BuildRequires: perl(warnings) +# Test Suite +BuildRequires: hunspell-en +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Tester) +# Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: hunspell Requires: perl(Carp) @@ -55,9 +63,17 @@ make test %files %doc Changes README %{perl_vendorlib}/Test/ -%{_mandir}/man3/Test::Spelling.3pm* +%{_mandir}/man3/Test::Spelling.3* %changelog +* Tue Oct 7 2014 Paul Howarth - 0.20-1 +- Update to 0.20 + - Add a sorted list of your most commonly misspelled words to the end of + all_pod_files_spelling_ok to aid stopword list creation and bulk + correction +- Classify buildreqs by usage +- Update hunspell preference patch + * Fri Aug 29 2014 Jitka Plesnikova - 0.19-5 - Perl 5.20 rebuild @@ -73,7 +89,7 @@ make test * Sun May 5 2013 Paul Howarth - 0.19-1 - Update to 0.19: - For more consistent results, avoid using the user's local aspell dictionary - (CPAN RT#56483) + (CPAN RT#84869) - Update hunspell preference patch * Fri Apr 26 2013 Paul Howarth - 0.18-1 diff --git a/sources b/sources index 0ca817e..092b8f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -32ac3fcbd8f4f80a8b035c15feaab353 Test-Spelling-0.19.tar.gz +4a22461c1356d99f6a7d29b6e14b5e0c Test-Spelling-0.20.tar.gz