Hello community,

here is the log from the commit of package perl-Business-ISBN for 
openSUSE:Factory checked in at 2019-12-18 14:44:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Business-ISBN (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Business-ISBN.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Business-ISBN"

Wed Dec 18 14:44:18 2019 rev:26 rq:756736 version:3.005

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Business-ISBN/perl-Business-ISBN.changes    
2017-05-18 20:41:59.088904960 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Business-ISBN.new.4691/perl-Business-ISBN.changes
  2019-12-18 14:48:07.621933365 +0100
@@ -1,0 +2,11 @@
+Thu Dec 12 03:07:59 UTC 2019 -  <timueller+p...@suse.de>
+
+- updated to 3.005
+   see /usr/share/doc/packages/perl-Business-ISBN/Changes
+
+  3.005 2019-12-11T20:27:13Z
+       * Peter Williams fixed a big problem with ISBN-13 (GitHub #12)
+       * You'll need to update Business::ISBN::Data too because Peter
+       adjusted the structure of the underlying data structure.
+
+-------------------------------------------------------------------

Old:
----
  Business-ISBN-3.004.tar.gz

New:
----
  Business-ISBN-3.005.tar.gz

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

Other differences:
------------------
++++++ perl-Business-ISBN.spec ++++++
--- /var/tmp/diff_new_pack.ppuG3E/_old  2019-12-18 14:48:08.297933674 +0100
+++ /var/tmp/diff_new_pack.ppuG3E/_new  2019-12-18 14:48:08.301933677 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Business-ISBN
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,27 +12,27 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           perl-Business-ISBN
-Version:        3.004
+Version:        3.005
 Release:        0
 %define cpan_name Business-ISBN
 Summary:        Work with International Standard Book Numbers
 License:        Artistic-2.0
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Business-ISBN/
+Url:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Business::ISBN::Data) >= 20140910.002
+BuildRequires:  perl(Business::ISBN::Data) >= 20191107
 BuildRequires:  perl(Test::More) >= 0.95
-Requires:       perl(Business::ISBN::Data) >= 20140910.002
+Requires:       perl(Business::ISBN::Data) >= 20191107
 %{perl_requires}
 
 %description
@@ -43,11 +43,11 @@
 %setup -q -n %{cpan_name}-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install

++++++ Business-ISBN-3.004.tar.gz -> Business-ISBN-3.005.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/Changes 
new/Business-ISBN-3.005/Changes
--- old/Business-ISBN-3.004/Changes     2017-04-24 22:04:32.000000000 +0200
+++ new/Business-ISBN-3.005/Changes     2019-12-11 21:27:36.000000000 +0100
@@ -1,5 +1,10 @@
 Revision history for Perl module Business::ISBN
 
+3.005 2019-12-11T20:27:13Z
+       * Peter Williams fixed a big problem with ISBN-13 (GitHub #12)
+       * You'll need to update Business::ISBN::Data too because Peter
+       adjusted the structure of the underlying data structure.
+
 3.004 2017-04-24T20:02:52Z
        * Remove Mojo dependencies after splitting out Business::xISBN
        (Michiel Beijen)
@@ -13,7 +18,7 @@
        * Bump to stable versions
 
 3.001_01 2016-08-06T08:14:59Z
-       * Remove xisbn stuff–it's due to be turned off. 
+       * Remove xisbn stuff—it's due to be turned off.
        * Bump the major version for the API change
 
 2.011_01 2016-07-29T20:50:01Z
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/MANIFEST.SKIP 
new/Business-ISBN-3.005/MANIFEST.SKIP
--- old/Business-ISBN-3.004/MANIFEST.SKIP       2017-04-24 22:04:32.000000000 
+0200
+++ new/Business-ISBN-3.005/MANIFEST.SKIP       2019-12-11 21:27:36.000000000 
+0100
@@ -59,9 +59,10 @@
 
 
 \.travis\.yml
-\.appveyor.yml
+\.?appveyor.yml
 \.releaserc
 \.lwpcookies
+
 Business-.*
 
 objtest.pl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/META.json 
new/Business-ISBN-3.005/META.json
--- old/Business-ISBN-3.004/META.json   2017-04-24 22:04:35.000000000 +0200
+++ new/Business-ISBN-3.005/META.json   2019-12-11 21:27:37.000000000 +0100
@@ -4,7 +4,7 @@
       "brian d foy <bd...@cpan.org>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter 
version 2.140640",
+   "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "artistic_2"
    ],
@@ -31,7 +31,7 @@
       },
       "runtime" : {
          "requires" : {
-            "Business::ISBN::Data" : "20140910.002",
+            "Business::ISBN::Data" : "20191107",
             "perl" : "5.008"
          }
       },
@@ -53,5 +53,6 @@
          "web" : "https://github.com/briandfoy/business-isbn";
       }
    },
-   "version" : "3.004"
+   "version" : "3.005",
+   "x_serialization_backend" : "JSON::PP version 2.27400_02"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/META.yml 
new/Business-ISBN-3.005/META.yml
--- old/Business-ISBN-3.004/META.yml    2017-04-24 22:04:34.000000000 +0200
+++ new/Business-ISBN-3.005/META.yml    2019-12-11 21:27:37.000000000 +0100
@@ -8,7 +8,7 @@
   ExtUtils::MakeMaker: '6.64'
   File::Spec::Functions: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version 
2.140640'
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version 
2.150010'
 license: artistic_2
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,10 +19,11 @@
     - t
     - inc
 requires:
-  Business::ISBN::Data: '20140910.002'
+  Business::ISBN::Data: '20191107'
   perl: '5.008'
 resources:
   bugtracker: https://github.com/briandfoy/business-isbn/issues
   homepage: https://github.com/briandfoy/business-isbn
   repository: https://github.com/briandfoy/business-isbn.git
-version: '3.004'
+version: '3.005'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/Makefile.PL 
new/Business-ISBN-3.005/Makefile.PL
--- old/Business-ISBN-3.004/Makefile.PL 2017-04-24 22:04:32.000000000 +0200
+++ new/Business-ISBN-3.005/Makefile.PL 2019-12-11 21:27:36.000000000 +0100
@@ -65,7 +65,7 @@
                },
 
        'PREREQ_PM'     => {
-               'Business::ISBN::Data' => '20140910.002',
+               'Business::ISBN::Data' => '20191107',
                },
 
        'META_MERGE' => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/README.pod 
new/Business-ISBN-3.005/README.pod
--- old/Business-ISBN-3.004/README.pod  2017-04-24 22:04:32.000000000 +0200
+++ new/Business-ISBN-3.005/README.pod  2019-12-11 21:27:36.000000000 +0100
@@ -4,11 +4,13 @@
 
 =for HTML <a href="https://travis-ci.org/briandfoy/business-isbn";><img 
src="https://travis-ci.org/briandfoy/business-isbn.svg?branch=master";></a>
 
+=for HTML <a 
href="https://ci.appveyor.com/project/briandfoy/business-isbn";><img 
src="https://ci.appveyor.com/api/projects/status/5hg1t2oa4lr46462?svg=true";></a>
+
 =for HTML <a 
href='https://coveralls.io/github/briandfoy/business-isbn?branch=master'><img 
src='https://coveralls.io/repos/github/briandfoy/business-isbn/badge.svg?branch=master'
 alt='Coverage Status' /></a>
 
 =for HTML <a 
href="https://github.com/briandfoy/Business-ISBN/blob/master/LICENSE";><img 
src="https://img.shields.io/cpan/l/Business-ISBN.svg"; /></a>
 
-=for HTML <a href="http://www.metacpan.org/module/Business::ISBN";><img 
src="https://img.shields.io/cpan/v/Business-ISBN.svg"; /></A>
+=for HTML <a href="https://metacpan.org/pod/Business::ISBN";><img 
src="https://img.shields.io/cpan/v/Business-ISBN.svg"; /></A>
 
 =head1 The Business::ISBN module
 
@@ -23,7 +25,7 @@
 
 To read about L<Business::ISBN>, look at the embedded documentation
 in the module itself. Inside the distribution, you can format it
-with L<perldoc|http://perldoc.perl.org/perldoc.html>:
+with L<perldoc|https://perldoc.perl.orgperldoc.html>:
 
        % perldoc lib/Business/ISBN.pm
 
@@ -32,17 +34,8 @@
 
        % perldoc Business::ISBN
 
-You can read the documentation and inspect the meta data on one of the
-CPAN web interfaces, such as L<CPAN 
Search|http://search.cpan.org/dist/Business-ISBN> or
-L<MetaCPAN|http://www.metacpan.org/module/Business::ISBN>:
-
-=over 4
-
-=item *        L<http://search.cpan.org/dist/Business-ISBN>
-
-=item *        L<http://www.metacpan.org/module/Business::ISBN>
-
-=back
+You can read the documentation and inspect the meta data at
+L<MetaCPAN|https://metacpan.org/pod/Business::ISBN>.
 
 The standard module documentation has example uses in the SYNOPSIS
 section, but you can also look in the I<examples/> directory (if it's
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/bad-isbn13s.txt 
new/Business-ISBN-3.005/bad-isbn13s.txt
--- old/Business-ISBN-3.004/bad-isbn13s.txt     2017-04-24 22:04:32.000000000 
+0200
+++ new/Business-ISBN-3.005/bad-isbn13s.txt     2019-12-11 21:27:36.000000000 
+0100
@@ -1,4 +1,5 @@
 9780596527246
 978059652724
 978059652724T
-9705965272421
\ No newline at end of file
+9705965272421
+9791200000006
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/isbn13s.txt 
new/Business-ISBN-3.005/isbn13s.txt
--- old/Business-ISBN-3.004/isbn13s.txt 2017-04-24 22:04:32.000000000 +0200
+++ new/Business-ISBN-3.005/isbn13s.txt 2019-12-11 21:27:36.000000000 +0100
@@ -7,4 +7,5 @@
 9780060533229
 9789607771278
 9780900083181
-9780596527242
\ No newline at end of file
+9780596527242
+9791220012348
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/lib/Business/ISBN.pm 
new/Business-ISBN-3.005/lib/Business/ISBN.pm
--- old/Business-ISBN-3.004/lib/Business/ISBN.pm        2017-04-24 
22:04:32.000000000 +0200
+++ new/Business-ISBN-3.005/lib/Business/ISBN.pm        2019-12-11 
21:27:36.000000000 +0100
@@ -67,16 +67,26 @@
        BAD_ISBN
        ARTICLE_CODE_OUT_OF_RANGE
        );
-use vars qw( $VERSION @ISA @EXPORT_OK %EXPORT_TAGS $debug %group_data
-       $MAX_GROUP_CODE_LENGTH %ERROR_TEXT );
+use vars qw(
+       @EXPORT_OK
+       %EXPORT_TAGS
+       %group_data
+       $MAX_GROUP_CODE_LENGTH
+       );
 
 use Carp qw(carp croak cluck);
-use base qw(Exporter);
+use Exporter qw(import);
 
-use Business::ISBN::Data 20140910.002; # now a separate module
+use Business::ISBN::Data 20191107; # now a separate module
 # ugh, hack
 *group_data = *Business::ISBN::country_data;
-sub _group_data { $group_data{ $_[1] } }
+sub _group_data {
+  my $isbn_prefix
+    = ref $_[0] eq 'Business::ISBN13'
+    ? $_[0]->prefix
+    : "978";
+  return $group_data{ $isbn_prefix }->{ $_[1] };
+}
 
 sub _max_group_code_length  { $Business::ISBN::MAX_COUNTRY_CODE_LENGTH };
 sub _max_publisher_code_length  {
@@ -110,7 +120,7 @@
                );
        };
 
-$VERSION   = '3.004';
+our $VERSION   = '3.005';
 
 sub ARTICLE_CODE_OUT_OF_RANGE () { -5 }
 sub INVALID_PREFIX            () { -4 };
@@ -120,7 +130,7 @@
 sub GOOD_ISBN                 () {  1 };
 sub BAD_ISBN                  () {  0 };
 
-%ERROR_TEXT = (
+our %ERROR_TEXT = (
         0 => "Bad ISBN",
         1 => "Good ISBN",
        -1 => "Bad ISBN checksum",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/lib/Business/ISBN10.pm 
new/Business-ISBN-3.005/lib/Business/ISBN10.pm
--- old/Business-ISBN-3.004/lib/Business/ISBN10.pm      2017-04-24 
22:04:32.000000000 +0200
+++ new/Business-ISBN-3.005/lib/Business/ISBN10.pm      2019-12-11 
21:27:36.000000000 +0100
@@ -5,8 +5,6 @@
 use Business::ISBN qw(:all);
 
 use vars qw(
-       $VERSION
-       $debug
        $MAX_GROUP_CODE_LENGTH
        %ERROR_TEXT
        );
@@ -15,7 +13,7 @@
 
 my $debug = 0;
 
-$VERSION   = '3.004';
+our $VERSION   = '3.005';
 
 sub _max_length { 10 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Business-ISBN-3.004/lib/Business/ISBN13.pm 
new/Business-ISBN-3.005/lib/Business/ISBN13.pm
--- old/Business-ISBN-3.004/lib/Business/ISBN13.pm      2017-04-24 
22:04:32.000000000 +0200
+++ new/Business-ISBN-3.005/lib/Business/ISBN13.pm      2019-12-11 
21:27:36.000000000 +0100
@@ -5,16 +5,11 @@
 use Business::ISBN qw(:all);
 use Data::Dumper;
 
-use vars qw(
-       $VERSION
-       $debug
-       );
-
 use Carp qw(carp croak cluck);
 
 my $debug = 0;
 
-$VERSION   = '3.004';
+our $VERSION   = '3.005';
 
 sub _max_length { 13 }
 


Reply via email to