[perl-Text-Hunspell] Update to 2.04

Paul Howarth pghmcfc at fedoraproject.org
Fri Sep 21 09:24:42 UTC 2012


commit a9fe523599ab830652eae71a009bb54bfcb3cb78
Author: Paul Howarth <paul at city-fan.org>
Date:   Fri Sep 21 10:23:21 2012 +0100

    Update to 2.04
    
    - New upstream release 2.04
      - Specify pod encoding to placate pod test (CPAN RT#79630)
    - Add patch to fix pod encoding
    - BR: perl(File::Spec)

 Text-Hunspell-2.04-podenc.patch |   11 +++++++++++
 perl-Text-Hunspell.spec         |   19 ++++++++++++++++---
 sources                         |    2 +-
 3 files changed, 28 insertions(+), 4 deletions(-)
---
diff --git a/Text-Hunspell-2.04-podenc.patch b/Text-Hunspell-2.04-podenc.patch
new file mode 100644
index 0000000..6d9ce2d
--- /dev/null
+++ b/Text-Hunspell-2.04-podenc.patch
@@ -0,0 +1,11 @@
+--- Hunspell.pm
++++ Hunspell.pm
+@@ -208,7 +208,7 @@
+ 
+ Hunspell is written as myspell by Kevin B. Hendricks.
+ 
+-Hunspell is maintained by Németh László.
++Hunspell is maintained by Németh László.
+ 
+ Please see:
+ 
diff --git a/perl-Text-Hunspell.spec b/perl-Text-Hunspell.spec
index 9a7864e..1d99424 100644
--- a/perl-Text-Hunspell.spec
+++ b/perl-Text-Hunspell.spec
@@ -1,13 +1,18 @@
 Name:		perl-Text-Hunspell
-Version:	2.03
-Release:	5%{?dist}
+Version:	2.04
+Release:	1%{?dist}
 Summary:	Perl interface to the Hunspell library
 Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/text_hunspell/
 Source0:	http://search.cpan.org/CPAN/authors/id/C/CO/COSIMO/Text-Hunspell-%{version}.tar.gz
+Patch0:		Text-Hunspell-2.04-podenc.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
-BuildRequires:	perl(Data::Dumper), perl(ExtUtils::MakeMaker), perl(Test::More), perl(Test::Pod)
+BuildRequires:	perl(Data::Dumper)
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::Pod)
 BuildRequires:	gcc-c++, hunspell-devel >= 1.2.8, hunspell-en
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -22,6 +27,9 @@ session, such as spell-checking a document in memory.
 %prep
 %setup -q -n Text-Hunspell-%{version}
 
+# Recode to UTF-8 as per specified encoding
+%patch0
+
 %build
 HUNSPELL_LIB_NAME=$(pkg-config --libs hunspell | sed 's/-l//; s/[[:space:]]*$//')
 perl -pi -e "s/'hunspell'/'${HUNSPELL_LIB_NAME}'/" Makefile.PL t/00-prereq.t
@@ -51,6 +59,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Text::Hunspell.3pm*
 
 %changelog
+* Fri Sep 21 2012 Paul Howarth <paul at city-fan.org> - 2.04-1
+- Update to 2.04 (specify pod encoding to placate pod test - CPAN RT#79630)
+- Add patch to fix pod encoding
+- BR: perl(File::Spec)
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.03-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 5698f65..d9acc6e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e7810fff661713281ce73bb8a625b6d3  Text-Hunspell-2.03.tar.gz
+7469f641bebdfa728229362be0d15e63  Text-Hunspell-2.04.tar.gz


More information about the scm-commits mailing list