commit f2282e23e245dc2c0aa3923ed7a0a3c77657d895 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Sun Jul 21 11:21:27 2013 +0200 0.54 bump .gitignore | 1 + perl-Lingua-Identify.spec | 34 +++++++++++++++++++++++++--------- sources | 2 +- 3 files changed, 27 insertions(+), 10 deletions(-) --- diff --git a/.gitignore b/.gitignore index 37bfdd7..a8ad304 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /Lingua-Identify-0.51.tar.gz +/Lingua-Identify-0.54.tar.gz diff --git a/perl-Lingua-Identify.spec b/perl-Lingua-Identify.spec index 5bb3510..e4dd6c2 100644 --- a/perl-Lingua-Identify.spec +++ b/perl-Lingua-Identify.spec @@ -1,33 +1,44 @@ Name: perl-Lingua-Identify Summary: Language identification -Version: 0.51 -Release: 4%{?dist} +Version: 0.54 +Release: 1%{?dist} License: GPL+ or Artistic URL: http://search.cpan.org/dist/Lingua-Identify/ -Source0: http://www.cpan.org/authors/id/A/AM/AMBS/Lingua/Lingua-Identify-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/A/AM/AMBS/irLingua/Lingua-Identify-%{version}.tar.gz # https://rt.cpan.org/Public/Bug/Display.html?id=83071 Patch0: Lingua-Identify-0.51-Fix-a-unit-test.patch BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: BuildRequires: perl(base) BuildRequires: perl(Class::Factory::Util) >= 1.6 BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Getopt::Std) BuildRequires: perl(locale) BuildRequires: perl(POSIX) -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(strict) BuildRequires: perl(Text::Affixes) >= 0.07 BuildRequires: perl(Text::ExtractWords) BuildRequires: perl(Text::Ngram) >= 0.13 - +BuildRequires: perl(utf8) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(Test::More) +# Optional tests: +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Class::Factory::Util) >= 1.6 +Requires: perl(Text::Affixes) >= 0.07 +Requires: perl(Text::Ngram) >= 0.13 %{?perl_default_filter} +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((Class::Factory::Util|Text::Affixes|Text::Ngram)\\)$ %description Lingua::Identify identifies the language a given string or file is written in. @@ -35,8 +46,9 @@ Lingua::Identify identifies the language a given string or file is written in. %package tools Summary: Tools related to Lingua::Identify - Requires: %{name} == %{version}-%{release} +Requires: perl(Text::Affixes) >= 0.07 +Requires: perl(Text::Ngram) >= 0.13 %description tools Tools related to Lingua::Identify. @@ -44,6 +56,7 @@ Tools related to Lingua::Identify. %prep %setup -q -n Lingua-Identify-%{version} +%patch0 -p1 %build @@ -76,6 +89,9 @@ make test %changelog +* Sun Jul 21 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.54-1 +- 0.54 bump + * Sun Jul 21 2013 Petr Pisar <ppisar@xxxxxxxxxx> - 0.51-4 - Perl 5.18 rebuild diff --git a/sources b/sources index 9ac4bda..e2245a7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f38680e3af82dd1fb70a4ceff31cfbad Lingua-Identify-0.51.tar.gz +533383e94aac63f11be1cbf9c5b438fb Lingua-Identify-0.54.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