[perl-Text-SpellChecker] Update to 0.09

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit e85a4a2eb0961228a140445ba5bc5425200c1e56
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Fri Jun 24 09:54:39 2011 +0100

    Update to 0.09
    
    - New upstream release 0.09
      - Better tests, use of LANG
      - Compile time check for at least one speller
    - Update dictionary path patch
    - Drop test suite patch, no longer needed

 .gitignore                                         |    2 +-
 Text-SpellChecker-0.08-testsuite.patch             |   23 ------------------
 ....patch => Text-SpellChecker-0.09-dictpath.patch |   10 ++++----
 perl-Text-SpellChecker.spec                        |   25 ++++++++++++--------
 sources                                            |    2 +-
 5 files changed, 22 insertions(+), 40 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a2d7f43..91757a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/Text-SpellChecker-0.08.tar.gz
+/Text-SpellChecker-[0-9.]*.tar.gz
diff --git a/Text-SpellChecker-0.07-dictpath.patch b/Text-SpellChecker-0.09-dictpath.patch
similarity index 63%
rename from Text-SpellChecker-0.07-dictpath.patch
rename to Text-SpellChecker-0.09-dictpath.patch
index a9a3829..17469af 100644
--- a/Text-SpellChecker-0.07-dictpath.patch
+++ b/Text-SpellChecker-0.09-dictpath.patch
@@ -1,6 +1,6 @@
---- Text-SpellChecker-0.07/lib/Text/SpellChecker.pm	2010-09-16 18:28:09.000000000 +0100
-+++ Text-SpellChecker-0.07/lib/Text/SpellChecker.pm	2010-09-17 15:43:46.775161240 +0100
-@@ -138,7 +138,7 @@
+--- Text-SpellChecker-0.09/lib/Text/SpellChecker.pm	2011-06-23 21:21:15.000000000 +0100
++++ Text-SpellChecker-0.09/lib/Text/SpellChecker.pm	2011-06-24 09:37:13.236197703 +0100
+@@ -140,7 +140,7 @@
  
  =item $Text::SpellCheckerDictionaryPath{Hunspell}
  
@@ -9,8 +9,8 @@
  
  This directory should have $lang.dic and $lang.aff files.
   
-@@ -182,7 +182,7 @@
-     );
+@@ -187,7 +187,7 @@
+     };
  }
  our %DictionaryPath = (
 -    Hunspell => q[/usr/share/hunspell]
diff --git a/perl-Text-SpellChecker.spec b/perl-Text-SpellChecker.spec
index 2eabf59..dd3faf0 100644
--- a/perl-Text-SpellChecker.spec
+++ b/perl-Text-SpellChecker.spec
@@ -1,13 +1,12 @@
 Summary:	OO interface for spell-checking a block of text 
 Name:		perl-Text-SpellChecker
-Version:	0.08
-Release:	3%{?dist}
+Version:	0.09
+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.08-testsuite.patch
+Patch0:		Text-SpellChecker-0.09-dictpath.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:	noarch
@@ -28,16 +27,10 @@ and highlighting the current misspelled word within the text.
 # Fedora hunspell dictionaries are in /usr/share/myspell rather than /usr/share/hunspell
 %patch0 -p1
 
-# Let the test suite work in the absence of Text::Aspell
-%patch1 -p1
-
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 %{__make} %{?_smp_mflags}
 
-%check
-%{__make} test TEST_VERBOSE=1
-
 %install
 %{__rm} -rf %{buildroot}
 %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
@@ -45,6 +38,11 @@ and highlighting the current misspelled word within the text.
 /usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
 %{__chmod} -R u+w %{buildroot}
 
+%check
+# Note that Text::Aspell is retired from Fedora after Fedora 15
+# so we don't try the Aspell tests
+%{__make} test TEST_VERBOSE=1
+
 %clean
 %{__rm} -rf %{buildroot}
 
@@ -55,6 +53,13 @@ and highlighting the current misspelled word within the text.
 %{_mandir}/man3/Text::SpellChecker.3pm*
 
 %changelog
+* Fri Jun 24 2011 Paul Howarth <paul@xxxxxxxxxxxx> - 0.09-1
+- Update to 0.09
+  - Better tests, use of LANG
+  - Compile time check for at least one speller
+- Update dictionary path patch
+- Drop test suite patch, no longer needed
+
 * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.08-3
 - Perl mass rebuild
 
diff --git a/sources b/sources
index 862f216..1f59814 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3464dbf069f60727bebf20e742f3e2d0  Text-SpellChecker-0.08.tar.gz
+0dd3f672547f356bc6eab1836da66b31  Text-SpellChecker-0.09.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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux