commit 4675315f369a8d7d439a5d617c86171c294e8297 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon Sep 20 13:16:49 2010 +0100 Update to 0.08 New upstream release 0.08 - Test suite doesn't fail in absence of Text::Aspell Update testsuite patch .gitignore | 2 +- ...patch => Text-SpellChecker-0.08-testsuite.patch | 9 +++++---- perl-Text-SpellChecker.spec | 8 ++++++-- sources | 2 +- 4 files changed, 13 insertions(+), 8 deletions(-) --- diff --git a/.gitignore b/.gitignore index 744bea3..a2d7f43 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Text-SpellChecker-0.07.tar.gz +/Text-SpellChecker-0.08.tar.gz diff --git a/Text-SpellChecker-0.07-testsuite.patch b/Text-SpellChecker-0.08-testsuite.patch similarity index 69% rename from Text-SpellChecker-0.07-testsuite.patch rename to Text-SpellChecker-0.08-testsuite.patch index 3709a7c..038591c 100644 --- a/Text-SpellChecker-0.07-testsuite.patch +++ b/Text-SpellChecker-0.08-testsuite.patch @@ -1,10 +1,11 @@ ---- Text-SpellChecker-0.07/t/Text-SpellChecker.t 2010-09-15 21:14:53.000000000 +0100 -+++ Text-SpellChecker-0.07/t/Text-SpellChecker.t 2010-09-17 16:08:36.440106971 +0100 -@@ -6,11 +6,6 @@ +--- Text-SpellChecker-0.08/t/Text-SpellChecker.t.orig 2010-09-19 19:08:24.000000000 +0100 ++++ Text-SpellChecker-0.08/t/Text-SpellChecker.t 2010-09-20 13:10:34.718160223 +0100 +@@ -6,12 +6,6 @@ my $checker = Text::SpellChecker->new(text => "Foor score and seevn yeers ago"); ok($checker, 'object creation' ); -SKIP: { +- skip 'Text::Aspell not installed', 4 unless $Text::SpellChecker::SpellersAvailable{Aspell}; - skip 'English dictionary not installed', 4 - unless (grep /^en/, Text::Aspell->new()->list_dictionaries) && - Text::Aspell->new()->get_option('lang') =~ /^en/; @@ -12,7 +13,7 @@ ok($checker->next_word eq 'Foor', 'Catching English word'); ok($checker->next_word eq 'seevn', 'Iterator'); -@@ -23,7 +18,6 @@ +@@ -24,7 +18,6 @@ $checker->replace(new_word => 'seven'); ok($checker->text =~ /score and seven/, 'replacement'); diff --git a/perl-Text-SpellChecker.spec b/perl-Text-SpellChecker.spec index 88dcc3b..8371ee5 100644 --- a/perl-Text-SpellChecker.spec +++ b/perl-Text-SpellChecker.spec @@ -1,13 +1,13 @@ Summary: OO interface for spell-checking a block of text Name: perl-Text-SpellChecker -Version: 0.07 +Version: 0.08 Release: 1%{?dist} License: GPL+ or Artistic Group: Development/Libraries Url: http://search.cpan.org/dist/Text-SpellChecker/ Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDUGGAN/Text-SpellChecker-%{version}.tar.gz Patch0: Text-SpellChecker-0.07-dictpath.patch -Patch1: Text-SpellChecker-0.07-testsuite.patch +Patch1: Text-SpellChecker-0.08-testsuite.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch @@ -55,6 +55,10 @@ and highlighting the current misspelled word within the text. %{_mandir}/man3/Text::SpellChecker.3pm* %changelog +* Mon Sep 20 2010 Paul Howarth <paul@xxxxxxxxxxxx> - 0.08-1 +- Update to 0.08 (test suite doesn't fail in absence of Text::Aspell) +- Update testsuite patch + * Fri Sep 17 2010 Paul Howarth <paul@xxxxxxxxxxxx> - 0.07-1 - Update to 0.07 (use hunspell backend rather than aspell) - Add patch for Fedora dictionary locations diff --git a/sources b/sources index 47c2bd4..862f216 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5acd8e431a8d31dc3ae70a62d4ce4177 Text-SpellChecker-0.07.tar.gz +3464dbf069f60727bebf20e742f3e2d0 Text-SpellChecker-0.08.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