Hello community,

here is the log from the commit of package perl-String-Approx for 
openSUSE:Factory checked in at 2017-05-31 12:15:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-String-Approx (Old)
 and      /work/SRC/openSUSE:Factory/.perl-String-Approx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-String-Approx"

Wed May 31 12:15:46 2017 rev:6 rq:494774 version:3.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-String-Approx/perl-String-Approx.changes    
2013-03-27 19:32:13.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-String-Approx.new/perl-String-Approx.changes   
    2017-05-31 12:17:12.949798159 +0200
@@ -1,0 +2,13 @@
+Mon Apr 17 06:36:07 UTC 2017 - [email protected]
+
+- updated to 3.28
+   see /usr/share/doc/packages/perl-String-Approx/ChangeLog
+
+  2017-04-16  Jarkko Hietaniemi  <[email protected]>
+  
+       * Resolve https://rt.cpan.org/Public/Bug/Display.html?id=121033
+         Fails tests with no '.' in @INC
+  
+       * Released as 3.28.
+
+-------------------------------------------------------------------

Old:
----
  String-Approx-3.27.tar.gz

New:
----
  String-Approx-3.28.tar.gz
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-String-Approx.spec ++++++
--- /var/tmp/diff_new_pack.ARsSJP/_old  2017-05-31 12:17:13.909662662 +0200
+++ /var/tmp/diff_new_pack.ARsSJP/_new  2017-05-31 12:17:13.913662097 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-String-Approx
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,37 +17,74 @@
 
 
 Name:           perl-String-Approx
+Version:        3.28
+Release:        0
 %define cpan_name String-Approx
 Summary:        Perl extension for approximate matching (fuzzy matching)
-License:        Artistic-1.0 or GPL-2.0+
+License:        LGPL-2.0 OR Artistic-2.0
 Group:          Development/Libraries/Perl
-Version:        3.27
-Release:        0
-Url:            http://search.cpan.org/dist/String-Approx
-Source0:        %{cpan_name}-%{version}.tar.gz
+Url:            http://search.cpan.org/dist/String-Approx/
+Source0:        
https://cpan.metacpan.org/authors/id/J/JH/JHI/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Test::More)
-Requires:       perl(Test::More)
+%{perl_requires}
 
 %description
-String::Approx lets you match and substitute strings approximately.
-With this you can emulate errors: typing errorrs, speling errors,
-closely related vocabularies (colour color),
-genetic mutations (GAG ACT), abbreviations (McScot, MacScot).
+String::Approx lets you match and substitute strings approximately. With
+this you can emulate errors: typing errorrs, speling errors, closely
+related vocabularies (colour color), genetic mutations (GAG ACT),
+abbreviations (McScot, MacScot).
+
+NOTE: String::Approx suits the task of *string matching*, not *string
+comparison*, and it works for *strings*, not for *text*.
+
+If you want to compare strings for similarity, you probably just want the
+Levenshtein edit distance (explained below), the Text::Levenshtein and
+Text::LevenshteinXS modules in CPAN. See also Text::WagnerFischer and
+Text::PhraseDistance. (There are functions for this in String::Approx, e.g.
+adist(), but their results sometimes differ from the bare Levenshtein et
+al.)
+
+If you want to compare things like text or source code, consisting of
+*words* or *tokens* and *phrases* and *sentences*, or *expressions* and
+*statements*, you should probably use some other tool than String::Approx,
+like for example the standard UNIX diff(1) tool, or the Algorithm::Diff
+module from CPAN.
+
+The measure of *approximateness* is the _Levenshtein edit distance_. It is
+the total number of "edits": insertions,
 
-NOTE: String::Approx suits the task of string matching,
-not string comparison, and it works for strings, not for text.
+       word world
 
- Authors:      Jarkko Hietaniemi <[email protected]>
+deletions,
+
+       monkey money
+
+and substitutions
+
+       sun fun
+
+required to transform a string to another string. For example, to transform
+_"lead"_ into _"gold"_, you need three edits:
+
+       lead gead goad gold
+
+The edit distance of "lead" and "gold" is therefore three, or 75%.
+
+*String::Approx* uses the Levenshtein edit distance as its measure, but
+String::Approx is not well-suited for comparing strings of different
+length, in other words, if you want a "fuzzy eq", see above. String::Approx
+is more like regular expressions or index(), it finds substrings that are
+close matches.>
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 %{__make} %{?_smp_mflags}
 
 %check
@@ -58,11 +95,9 @@
 %perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
-%defattr(-,root,root)
-%doc Artistic ChangeLog README
+%defattr(-,root,root,755)
+%doc ChangeLog COPYRIGHT COPYRIGHT.agrep LGPL PROBLEMS README README.apse
+%license Artistic
 
 %changelog

++++++ String-Approx-3.27.tar.gz -> String-Approx-3.28.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/String-Approx-3.27/Approx.pm 
new/String-Approx-3.28/Approx.pm
--- old/String-Approx-3.27/Approx.pm    2013-01-22 17:16:00.000000000 +0100
+++ new/String-Approx-3.28/Approx.pm    2017-04-16 10:50:12.000000000 +0200
@@ -2,7 +2,7 @@
 
 require v5.8.0;
 
-$VERSION = '3.27';
+$VERSION = '3.28';
 
 use strict;
 local $^W = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/String-Approx-3.27/ChangeLog 
new/String-Approx-3.28/ChangeLog
--- old/String-Approx-3.27/ChangeLog    2013-01-22 17:18:56.000000000 +0100
+++ new/String-Approx-3.28/ChangeLog    2017-04-16 10:49:26.000000000 +0200
@@ -1,3 +1,10 @@
+2017-04-16  Jarkko Hietaniemi  <[email protected]>
+
+       * Resolve https://rt.cpan.org/Public/Bug/Display.html?id=121033
+         Fails tests with no '.' in @INC
+
+       * Released as 3.28.
+
 2013-01-22  Jarkko Hietaniemi  <[email protected]>
 
        * Resolve https://rt.cpan.org/Ticket/Display.html?id=69029
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/String-Approx-3.27/MANIFEST 
new/String-Approx-3.28/MANIFEST
--- old/String-Approx-3.27/MANIFEST     2013-01-22 16:47:59.000000000 +0100
+++ new/String-Approx-3.28/MANIFEST     2017-04-16 10:50:21.000000000 +0200
@@ -23,3 +23,4 @@
 t/words
 typemap
 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/String-Approx-3.27/META.json 
new/String-Approx-3.28/META.json
--- old/String-Approx-3.27/META.json    1970-01-01 01:00:00.000000000 +0100
+++ new/String-Approx-3.28/META.json    2017-04-16 10:50:21.000000000 +0200
@@ -0,0 +1,41 @@
+{
+   "abstract" : "unknown",
+   "author" : [
+      "unknown"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter 
version 2.133380",
+   "license" : [
+      "unknown"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
+      "version" : "2"
+   },
+   "name" : "String-Approx",
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : "0"
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Test::More" : "0"
+         }
+      }
+   },
+   "release_status" : "stable",
+   "version" : "3.28"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/String-Approx-3.27/META.yml 
new/String-Approx-3.28/META.yml
--- old/String-Approx-3.27/META.yml     2013-01-22 18:33:10.000000000 +0100
+++ new/String-Approx-3.28/META.yml     2017-04-16 10:50:21.000000000 +0200
@@ -1,21 +1,22 @@
---- #YAML:1.0
-name:               String-Approx
-version:            3.27
-abstract:           ~
-author:  []
-license:            unknown
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
+---
+abstract: unknown
+author:
+  - unknown
 build_requires:
-    ExtUtils::MakeMaker:  0
-requires:
-    Test::More:  0
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.57_05
+  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: unknown
 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: String-Approx
+no_index:
+  directory:
+    - t
+    - inc
+requires:
+  Test::More: 0
+version: 3.28
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/String-Approx-3.27/t/amatch.t 
new/String-Approx-3.28/t/amatch.t
--- old/String-Approx-3.27/t/amatch.t   2013-01-22 17:09:18.000000000 +0100
+++ new/String-Approx-3.28/t/amatch.t   2017-04-16 10:48:11.000000000 +0200
@@ -3,7 +3,7 @@
 
 chdir('t') or die "could not chdir to 't'";
 
-require 'util';
+require './util';
 
 # test 1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/String-Approx-3.27/t/asubst.t 
new/String-Approx-3.28/t/asubst.t
--- old/String-Approx-3.27/t/asubst.t   2013-01-22 17:09:14.000000000 +0100
+++ new/String-Approx-3.28/t/asubst.t   2017-04-16 10:47:20.000000000 +0200
@@ -3,7 +3,7 @@
 
 chdir('t') or die "could not chdir to 't'";
 
-require 'util';
+require './util';
 
 # test 1
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/String-Approx-3.27/t/user.t 
new/String-Approx-3.28/t/user.t
--- old/String-Approx-3.27/t/user.t     2013-01-22 16:46:17.000000000 +0100
+++ new/String-Approx-3.28/t/user.t     2017-04-16 10:47:09.000000000 +0200
@@ -6,7 +6,7 @@
 
 chdir('t') or die "could not chdir to 't'";
 
-require 'util';
+require './util';
 
 local $^W = 1;
 

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
license: LGPL-2.0 OR Artistic-2.0
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to