Hello community,
here is the log from the commit of package perl-Lingua-EN-Tagger for
openSUSE:Factory checked in at 2015-04-16 14:14:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Lingua-EN-Tagger (Old)
and /work/SRC/openSUSE:Factory/.perl-Lingua-EN-Tagger.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Lingua-EN-Tagger"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Lingua-EN-Tagger/perl-Lingua-EN-Tagger.changes
2015-02-11 16:44:02.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Lingua-EN-Tagger.new/perl-Lingua-EN-Tagger.changes
2015-04-16 14:14:22.000000000 +0200
@@ -1,0 +2,9 @@
+Tue Apr 14 18:23:12 UTC 2015 - [email protected]
+
+- updated to 0.25
+ see /usr/share/doc/packages/perl-Lingua-EN-Tagger/Changes
+
+ 0.25 Aaron Coburn 4/3/15
+ Fixed floating point number regex.
+
+-------------------------------------------------------------------
Old:
----
Lingua-EN-Tagger-0.24.tar.gz
New:
----
Lingua-EN-Tagger-0.25.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Lingua-EN-Tagger.spec ++++++
--- /var/tmp/diff_new_pack.JzQr99/_old 2015-04-16 14:14:22.000000000 +0200
+++ /var/tmp/diff_new_pack.JzQr99/_new 2015-04-16 14:14:22.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Lingua-EN-Tagger
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,17 @@
Name: perl-Lingua-EN-Tagger
-Version: 0.24
+Version: 0.25
Release: 0
+#Upstream: GPL-1.0+
%define cpan_name Lingua-EN-Tagger
-Summary: Part-of-speech tagger for English natural language processing.
+Summary: Part-of-speech tagger for English natural language processing
License: GPL-3.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Lingua-EN-Tagger/
-Source:
http://www.cpan.org/authors/id/A/AC/ACOBURN/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/A/AC/ACOBURN/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
+# MANUAL
#BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -38,8 +41,6 @@
Requires: perl(Lingua::Stem) >= 0.81
Requires: perl(Memoize::ExpireLRU) >= 0.55
%{perl_requires}
-# MANUAL
-# License, BuildArch
%description
The module is a probability based, corpus-trained tagger that assigns POS
@@ -56,7 +57,7 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
++++++ Lingua-EN-Tagger-0.24.tar.gz -> Lingua-EN-Tagger-0.25.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.24/Changes
new/Lingua-EN-Tagger-0.25/Changes
--- old/Lingua-EN-Tagger-0.24/Changes 2013-07-22 15:13:09.000000000 +0200
+++ new/Lingua-EN-Tagger-0.25/Changes 2015-04-03 13:27:42.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for Perl extension Lingua::EN::Tagger
+0.25 Aaron Coburn 4/3/15
+ Fixed floating point number regex.
+
0.24 Aaron Coburn 7/22/13
Fixed a typo in the documentation.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.24/MANIFEST
new/Lingua-EN-Tagger-0.25/MANIFEST
--- old/Lingua-EN-Tagger-0.24/MANIFEST 2012-09-27 20:33:45.000000000 +0200
+++ new/Lingua-EN-Tagger-0.25/MANIFEST 2015-04-03 13:30:10.000000000 +0200
@@ -17,3 +17,4 @@
Tagger/unknown.yml
Tagger/words.yml
META.yml Module meta-data (added by MakeMaker)
+META.json Module JSON meta-data (added by
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.24/META.json
new/Lingua-EN-Tagger-0.25/META.json
--- old/Lingua-EN-Tagger-0.24/META.json 1970-01-01 01:00:00.000000000 +0100
+++ new/Lingua-EN-Tagger-0.25/META.json 2015-04-03 13:30:09.000000000 +0200
@@ -0,0 +1,48 @@
+{
+ "abstract" : "Part-of-speech tagger for English natural language
processing.",
+ "author" : [
+ "Maciej Ceglowski and Aaron Coburn <[email protected]>,
<[email protected]>"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter
version 2.133380",
+ "license" : [
+ "gpl_3"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "Lingua-EN-Tagger",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "File::Spec" : "0.84",
+ "HTML::Parser" : "3.45",
+ "HTML::Tagset" : "3.20",
+ "Lingua::Stem" : "0.81",
+ "Memoize" : "1.01",
+ "Memoize::ExpireLRU" : "0.55",
+ "Storable" : "2.10",
+ "perl" : "5.008001"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "version" : "0.25"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.24/META.yml
new/Lingua-EN-Tagger-0.25/META.yml
--- old/Lingua-EN-Tagger-0.24/META.yml 2013-07-22 15:13:11.000000000 +0200
+++ new/Lingua-EN-Tagger-0.25/META.yml 2015-04-03 13:30:09.000000000 +0200
@@ -1,29 +1,29 @@
---- #YAML:1.0
-name: Lingua-EN-Tagger
-version: 0.24
-abstract: Part-of-speech tagger for English natural language
processing.
+---
+abstract: 'Part-of-speech tagger for English natural language processing.'
author:
- - Maciej Ceglowski and Aaron Coburn <[email protected]>,
<[email protected]>
-license: gpl_3
-distribution_type: module
-configure_requires:
- ExtUtils::MakeMaker: 0
+ - 'Maciej Ceglowski and Aaron Coburn <[email protected]>,
<[email protected]>'
build_requires:
- ExtUtils::MakeMaker: 0
-requires:
- File::Spec: 0.84
- HTML::Parser: 3.45
- HTML::Tagset: 3.20
- Lingua::Stem: 0.81
- Memoize: 1.01
- Memoize::ExpireLRU: 0.55
- perl: 5.008001
- Storable: 2.10
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.56
+ ExtUtils::MakeMaker: 0
+configure_requires:
+ ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version
2.133380'
+license: gpl
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Lingua-EN-Tagger
+no_index:
+ directory:
+ - t
+ - inc
+requires:
+ File::Spec: 0.84
+ HTML::Parser: 3.45
+ HTML::Tagset: 3.20
+ Lingua::Stem: 0.81
+ Memoize: 1.01
+ Memoize::ExpireLRU: 0.55
+ Storable: 2.10
+ perl: 5.008001
+version: 0.25
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Lingua-EN-Tagger-0.24/Tagger.pm
new/Lingua-EN-Tagger-0.25/Tagger.pm
--- old/Lingua-EN-Tagger-0.24/Tagger.pm 2013-07-22 15:11:02.000000000 +0200
+++ new/Lingua-EN-Tagger-0.25/Tagger.pm 2015-04-03 13:26:58.000000000 +0200
@@ -1,6 +1,6 @@
package Lingua::EN::Tagger;
-our $VERSION = '0.24';
+our $VERSION = '0.25';
use warnings;
use strict;
@@ -582,10 +582,10 @@
} elsif(m/[\)\]\}]/o){ # Right brackets
$word = "*RRB*";
- } elsif (m/-?(?:\p{IsDigit}+(?:\.\p{IsDigit}*)?|\.\p{IsDigit}+)/){ #
Floating point number
+ } elsif (m/^-?(?:\p{IsDigit}+(?:\.\p{IsDigit}*)?|\.\p{IsDigit}+)$/){ #
Floating point number
$word = "*NUM*";
- } elsif (m/^\p{IsDigit}+[\p{IsDigit}\/:-]+\p{IsDigit}/){ # Other number
constructs
+ } elsif (m/^\p{IsDigit}+[\p{IsDigit}\/:-]+\p{IsDigit}$/){ # Other number
constructs
$word = "*NUM*";
} elsif (m/^-?\p{IsDigit}+\p{IsWord}+$/o){ # Ordinal number
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
license: GPL-3.0
skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag