[perl-Text-SpellChecker] Update to 0.12

Paul Howarth pghmcfc at fedoraproject.org
Tue Nov 4 19:30:38 UTC 2014


commit 18e92b553186dc77836117decf299d5bf7821a28
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Nov 4 19:19:38 2014 +0000

    Update to 0.12
    
    - New upstream release 0.12
      - Fixes for unicode letters
    - Classify buildreqs by usage
    - Use %{_fixperms} macro rather than our own chmod incantation
    - Don't need to remove empty directories from the buildroot
    - Do the aspell tests as well as the hunspell ones

 perl-Text-SpellChecker.spec |   34 ++++++++++++++++++++++++++--------
 sources                     |    2 +-
 2 files changed, 27 insertions(+), 9 deletions(-)
---
diff --git a/perl-Text-SpellChecker.spec b/perl-Text-SpellChecker.spec
index 24ff8b0..6ee0ee1 100644
--- a/perl-Text-SpellChecker.spec
+++ b/perl-Text-SpellChecker.spec
@@ -1,19 +1,32 @@
 Summary:	OO interface for spell-checking a block of text 
 Name:		perl-Text-SpellChecker
-Version:	0.11
-Release:	10%{?dist}
+Version:	0.12
+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.11-dictpath.patch
 BuildArch:	noarch
+# Module Build
+BuildRequires:	perl
 BuildRequires:	perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(MIME::Base64)
+BuildRequires:	perl(Storable)
+BuildRequires:	perl(strict)
 BuildRequires:	perl(Text::Hunspell)
+BuildRequires:	perl(warnings)
+# Test Suite
 BuildRequires:	perl(Test::More)
 BuildRequires:	perl(Test::Pod)
-BuildRequires:	hunspell-en
+BuildRequires:	perl(Text::Aspell)
+BuildRequires:	perl(utf8)
+BuildRequires:	aspell-en, hunspell-en
+# Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# hunspell is the preferred spell checking backend in Fedora
 Requires:	perl(Text::Hunspell)
 
 %description
@@ -36,20 +49,25 @@ make %{?_smp_mflags}
 %install
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
-chmod -R u+w %{buildroot}
+%{_fixperms} %{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
 
 %files
 %doc Changes README
 %{perl_vendorlib}/Text/
-%{_mandir}/man3/Text::SpellChecker.3pm*
+%{_mandir}/man3/Text::SpellChecker.3*
 
 %changelog
+* Tue Nov  4 2014 Paul Howarth <paul at city-fan.org> - 0.12-1
+- Update to 0.12
+  - Fixes for unicode letters
+- Classify buildreqs by usage
+- Use %%{_fixperms} macro rather than our own chmod incantation
+- Don't need to remove empty directories from the buildroot
+- Do the aspell tests as well as the hunspell ones
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.11-10
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 3f8c500..65c55d6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-60282ec427819944c75d155d3fcf8ead  Text-SpellChecker-0.11.tar.gz
+98b124fa94a10880e081cc6f7a35c805  Text-SpellChecker-0.12.tar.gz



More information about the perl-devel mailing list