commit eb5368dfb51b1ab187ae738e0fee812453d3e46c Author: Petr Šabata <contyk@xxxxxxxxxx> Date: Fri Nov 21 14:33:02 2014 +0100 0.24 bump .gitignore | 1 + perl-Lingua-EN-Tagger.spec | 47 ++++++++++++++++++++++++++----------------- sources | 2 +- 3 files changed, 30 insertions(+), 20 deletions(-) --- diff --git a/.gitignore b/.gitignore index 1aa54bd..2a2dfa9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /Lingua-EN-Tagger-0.19.tar.gz /Lingua-EN-Tagger-0.20.tar.gz /Lingua-EN-Tagger-0.23.tar.gz +/Lingua-EN-Tagger-0.24.tar.gz diff --git a/perl-Lingua-EN-Tagger.spec b/perl-Lingua-EN-Tagger.spec index 408b8e3..4273336 100644 --- a/perl-Lingua-EN-Tagger.spec +++ b/perl-Lingua-EN-Tagger.spec @@ -1,30 +1,39 @@ Name: perl-Lingua-EN-Tagger -Version: 0.23 -Release: 7%{?dist} +Version: 0.24 +Release: 1%{?dist} Summary: Part-of-speech tagger for English natural language processing License: GPLv3 -Group: Development/Libraries URL: http://search.cpan.org/dist/Lingua-EN-Tagger/ Source0: http://www.cpan.org/authors/id/A/AC/ACOBURN/Lingua-EN-Tagger-%{version}.tar.gz +# Build +BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) >= 0.84 -BuildRequires: perl(HTML::Tagset) >= 3.20 -BuildRequires: perl(HTML::TokeParser) >= 3.45 -BuildRequires: perl(Lingua::Stem) >= 0.81 -BuildRequires: perl(Memoize) >= 1.01 -BuildRequires: perl(Memoize::ExpireLRU) >= 0.55 +BuildRequires: perl(FileHandle) BuildRequires: perl(Storable) >= 2.10 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Runtime +BuildRequires: perl(Carp) +BuildRequires: perl(HTML::TokeParser) +BuildRequires: perl(Lingua::Stem::En) +BuildRequires: perl(Memoize) >= 1.01 +# Tests only BuildRequires: perl(Test::More) -Requires: perl(HTML::TokeParser) >= 3.45 -Requires: perl(Lingua::Stem) >= 0.81 -Requires: perl(Memoize::ExpireLRU) >= 0.55 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(threads) +BuildRequires: perl(threads::shared) +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(File::Spec) >= 0.84 +Requires: perl(Memoize) >= 1.01 +Requires: perl(Storable) >= 2.10 # despite being arch-dependent, there are no binaries # so avoid empty debug package %global debug_package %{nil} - %{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(File::Spec\\)$ +%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(Memoize\\)$ +%global __requires_exclude %{?__requires_exclude|%__requires_exclude|}^perl\\(Storable\\)$ %description The module is a probability based, corpus-trained tagger that assigns POS @@ -38,15 +47,12 @@ morphology or can be set to be treated as nouns or other parts of speech. %setup -q -n Lingua-EN-Tagger-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor INSTALLVENDORLIB=%{perl_vendorarch} +perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORLIB=%{perl_vendorarch} NO_PACKLIST=1 make %{?_smp_mflags} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* %check make test @@ -57,6 +63,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Nov 21 2014 Petr Šabata <contyk@xxxxxxxxxx> - 0.24-1 +- 0.24 bump + * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.23-7 - Perl 5.20 rebuild diff --git a/sources b/sources index e968cf5..cc2dcbb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0b527d32ac9c9f7adf1afe3105e5c870 Lingua-EN-Tagger-0.23.tar.gz +cfa309e3e3b1e8940dac35e9e0b5da18 Lingua-EN-Tagger-0.24.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