commit 0cf095212af092e63fb6b64f51526848d3744764 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Sat May 28 14:41:45 2011 +0100 Update to 0.12 - New upstream release 0.12: - Best Practical has taken over maintainership of this module - Try various spellcheck programs instead of hardcoding the ancient `spell` (CPAN RT#56483) - Remove temporary files more aggressively (CPAN RT#41586) - Fixed by not creating them at all - instead we now use IPC::Open3 - Remove suggestion to use broken `aspell -l` (CPAN RT#28967) - Add set_pod_file_filter for skipping translations, etc. (CPAN RT#63755) - Skip tests in all_pod_files_spelling_ok if there is no working spellchecker - Provide a has_working_spellchecker so you can skip your own tests if there's no working spellchecker - Switch to Module::Install - Rewrite and modernize a lot of the documentation - Decruftify code, such as by using Exporter and lexical filehandles - Support .plx files - This release by SARTAK -> update source URL - Rewrite hunspell patch to just favour hunspell over aspell - BR: perl(IPC::Open3) .gitignore | 2 +- perl-Test-Spelling-0.11-hunspell.patch | 48 -------------------------------- perl-Test-Spelling-0.12-hunspell.patch | 18 ++++++++++++ perl-Test-Spelling.spec | 31 +++++++++++++++++--- sources | 2 +- 5 files changed, 46 insertions(+), 55 deletions(-) --- diff --git a/.gitignore b/.gitignore index 4bbcdb6..2106849 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Test-Spelling-0.11.tar.gz +/Test-Spelling-[0-9.]*.tar.gz diff --git a/perl-Test-Spelling-0.12-hunspell.patch b/perl-Test-Spelling-0.12-hunspell.patch new file mode 100644 index 0000000..6372cfe --- /dev/null +++ b/perl-Test-Spelling-0.12-hunspell.patch @@ -0,0 +1,18 @@ +Promote hunspell over spell/aspell to avoid surprises where hunspell is preferred + +--- Test-Spelling-0.12/lib/Test/Spelling.pm ++++ Test-Spelling-0.12/lib/Test/Spelling.pm +@@ -31,10 +31,10 @@ + return $SPELLCHECKER if $SPELLCHECKER; + + return ( +- 'spell', # for back-compat, this is the top candidate ... +- 'aspell list -l en', # ... but this should become first soon +- 'ispell -l', + 'hunspell -l', ++ 'aspell list -l en', ++ 'ispell -l', ++ 'spell', + ); + } + diff --git a/perl-Test-Spelling.spec b/perl-Test-Spelling.spec index 9c0bcdc..73e1969 100644 --- a/perl-Test-Spelling.spec +++ b/perl-Test-Spelling.spec @@ -1,16 +1,17 @@ Name: perl-Test-Spelling -Version: 0.11 -Release: 11%{?dist} +Version: 0.12 +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://www.cpan.org/authors/id/I/IT/ITUB/Test-Spelling-%{version}.tar.gz -Patch0: perl-Test-Spelling-0.11-hunspell.patch +Source0: http://search.cpan.org/CPAN/authors/id/S/SA/SARTAK/Test-Spelling-%{version}.tar.gz +Patch0: perl-Test-Spelling-0.12-hunspell.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: perl(IPC::Open3) BuildRequires: perl(Pod::Spell) >= 1.01 BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -19,7 +20,7 @@ Requires: hunspell %description "Test::Spelling" lets you check the spelling of a POD file, and report its results in standard "Test::Simple" fashion. This module requires the -spell program. +hunspell program. %prep @@ -55,6 +56,26 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Apr 26 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.12-1 +- Update to 0.12: + - Best Practical has taken over maintainership of this module + - Try various spellcheck programs instead of hardcoding the ancient `spell` + (CPAN RT#56483) + - Remove temporary files more aggressively (CPAN RT#41586) + - Fixed by not creating them at all - instead we now use IPC::Open3 + - Remove suggestion to use broken `aspell -l` (CPAN RT#28967) + - Add set_pod_file_filter for skipping translations, etc. (CPAN RT#63755) + - Skip tests in all_pod_files_spelling_ok if there is no working spellchecker + - Provide a has_working_spellchecker so you can skip your own tests if + there's no working spellchecker + - Switch to Module::Install + - Rewrite and modernize a lot of the documentation + - Decruftify code, such as by using Exporter and lexical filehandles + - Support .plx files +- This release by SARTAK -> update source URL +- Rewrite hunspell patch to just favour hunspell over aspell +- BR: perl(IPC::Open3) + * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.11-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild diff --git a/sources b/sources index 603dc1b..518c476 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -1820e1248bf5dfba6139b6812a5f92ae Test-Spelling-0.11.tar.gz +216ee8b8d450ce193b52f2217b55f421 Test-Spelling-0.12.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel