[perl-Text-Hunspell] Update to 2.09

Paul Howarth pghmcfc at fedoraproject.org
Mon Oct 20 11:31:31 UTC 2014


commit 72468a585498bb4534c5e4c9cc98bfa1254e7f35
Author: Paul Howarth <paul at city-fan.org>
Date:   Mon Oct 20 12:23:38 2014 +0100

    Update to 2.09
    
    - New upstream release 2.09
      - Use ExtUtils::PkgConfig to find libhunspell (CPAN RT#99548)
    - Classify buildreqs by usage

 perl-Text-Hunspell.spec |   35 +++++++++++++++++++++++------------
 sources                 |    2 +-
 2 files changed, 24 insertions(+), 13 deletions(-)
---
diff --git a/perl-Text-Hunspell.spec b/perl-Text-Hunspell.spec
index e111b97..5b6bc7b 100644
--- a/perl-Text-Hunspell.spec
+++ b/perl-Text-Hunspell.spec
@@ -1,18 +1,29 @@
 Name:		perl-Text-Hunspell
-Version:	2.08
-Release:	6%{?dist}
+Version:	2.09
+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
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
-BuildRequires:	perl(Data::Dumper)
+# Module Build
+BuildRequires:	gcc-c++
+BuildRequires:	hunspell-devel >= 1.2.8
+BuildRequires:	perl
 BuildRequires:	perl(ExtUtils::MakeMaker)
-BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(ExtUtils::PkgConfig)
+# Module Runtime
+BuildRequires:	perl(DynaLoader)
+BuildRequires:	perl(vars)
+# Test Suite
+BuildRequires:	hunspell-en
+BuildRequires:	perl(Data::Dumper)
+BuildRequires:	perl(strict)
 BuildRequires:	perl(Test::More)
-BuildRequires:	perl(Test::Pod)
-BuildRequires:	gcc-c++, hunspell-devel >= 1.2.8, hunspell-en
+BuildRequires:	perl(Test::Pod) >= 1.14
+BuildRequires:	perl(warnings)
+# Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 # Don't "provide" private Perl libs
@@ -27,12 +38,7 @@ session, such as spell-checking a document in memory.
 %setup -q -n Text-Hunspell-%{version}
 
 %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
-perl Makefile.PL \
-	INSTALLDIRS=vendor \
-	LIBS="-l${HUNSPELL_LIB_NAME}" \
-	OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
@@ -55,6 +61,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Text::Hunspell.3pm*
 
 %changelog
+* Mon Oct 20 2014 Paul Howarth <paul at city-fan.org> - 2.09-1
+- Update to 2.09
+  - Use ExtUtils::PkgConfig to find libhunspell (CPAN RT#99548)
+- Classify buildreqs by usage
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 2.08-6
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 309865a..12ea083 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3e0bfa5a58ae1bf689202c36f283df35  Text-Hunspell-2.08.tar.gz
+eae760364aecb5bb76332ec236483009  Text-Hunspell-2.09.tar.gz


More information about the scm-commits mailing list