Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Spreadsheet-XLSX for 
openSUSE:Factory checked in at 2021-11-10 21:46:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Spreadsheet-XLSX (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Spreadsheet-XLSX.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Spreadsheet-XLSX"

Wed Nov 10 21:46:58 2021 rev:11 rq:930664 version:0.17

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Spreadsheet-XLSX/perl-Spreadsheet-XLSX.changes  
    2021-11-03 17:27:06.761365010 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Spreadsheet-XLSX.new.1890/perl-Spreadsheet-XLSX.changes
    2021-11-10 21:47:39.459843077 +0100
@@ -1,0 +2,11 @@
+Thu Nov  4 03:06:26 UTC 2021 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 0.17
+   see /usr/share/doc/packages/perl-Spreadsheet-XLSX/Changes
+
+  0.17
+
+       - fix RT #139898: missing file from MANIFEST
+       - fix RT #127829, #80565, #79016: [Warning] Argument "#N/A" isn't 
numeric in int
+
+-------------------------------------------------------------------

Old:
----
  Spreadsheet-XLSX-0.16.tar.gz

New:
----
  Spreadsheet-XLSX-0.17.tar.gz

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

Other differences:
------------------
++++++ perl-Spreadsheet-XLSX.spec ++++++
--- /var/tmp/diff_new_pack.2eZ3ad/_old  2021-11-10 21:47:39.967843298 +0100
+++ /var/tmp/diff_new_pack.2eZ3ad/_new  2021-11-10 21:47:39.967843298 +0100
@@ -18,7 +18,7 @@
 
 %define cpan_name Spreadsheet-XLSX
 Name:           perl-Spreadsheet-XLSX
-Version:        0.16
+Version:        0.17
 Release:        0
 Summary:        Perl extension for reading MS Excel 2007 files;
 License:        Artistic-1.0 OR GPL-1.0-or-later
@@ -31,9 +31,9 @@
 BuildRequires:  perl(Archive::Zip) >= 1.18
 BuildRequires:  perl(Spreadsheet::ParseExcel)
 BuildRequires:  perl(Test::NoWarnings)
+BuildRequires:  perl(Test::Warnings)
 Requires:       perl(Archive::Zip) >= 1.18
 Requires:       perl(Spreadsheet::ParseExcel)
-Requires:       perl(Test::NoWarnings)
 %{perl_requires}
 
 %description

++++++ Spreadsheet-XLSX-0.16.tar.gz -> Spreadsheet-XLSX-0.17.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-XLSX-0.16/Changes 
new/Spreadsheet-XLSX-0.17/Changes
--- old/Spreadsheet-XLSX-0.16/Changes   2021-10-25 20:56:05.000000000 +0200
+++ new/Spreadsheet-XLSX-0.17/Changes   2021-11-03 21:33:57.000000000 +0100
@@ -1,5 +1,10 @@
 Revision history for Perl extension Spreadsheet::XLSX.
 
+0.17
+
+       - fix RT #139898: missing file from MANIFEST
+    - fix RT #127829, #80565, #79016: [Warning] Argument "#N/A" isn't numeric 
in int
+
 0.16
 
        - added GitHub repository
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-XLSX-0.16/MANIFEST 
new/Spreadsheet-XLSX-0.17/MANIFEST
--- old/Spreadsheet-XLSX-0.16/MANIFEST  2015-10-31 13:55:39.000000000 +0100
+++ new/Spreadsheet-XLSX-0.17/MANIFEST  2021-11-03 21:27:39.000000000 +0100
@@ -6,12 +6,13 @@
 MANIFEST                       This list of files
 META.yml                       Module meta-data (added by MakeMaker)
 README
-Spreadsheet-XLSX-0.14.tar.gz
 t/0____________use.t
 t/1_____loreyna126.t
 t/1_____loreyna126.xlsx
 t/2_____with_chart.t
 t/2_____with_chart.xlsx
+t/3_____invalid_formular.t
+t/3_____invalid_formular.xlsx
 t/empty_v_tag.t
 t/empty_v_tag.xlsx
 t/formats.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-XLSX-0.16/META.json 
new/Spreadsheet-XLSX-0.17/META.json
--- old/Spreadsheet-XLSX-0.16/META.json 2021-10-25 20:57:11.000000000 +0200
+++ new/Spreadsheet-XLSX-0.17/META.json 2021-11-03 21:37:49.000000000 +0100
@@ -34,8 +34,14 @@
       "runtime" : {
          "requires" : {
             "Archive::Zip" : "1.18",
-            "Spreadsheet::ParseExcel" : "0",
-            "Test::NoWarnings" : "0"
+            "Spreadsheet::ParseExcel" : "0"
+         }
+      },
+      "test" : {
+         "requires" : {
+            "Test::More" : "0",
+            "Test::NoWarnings" : "0",
+            "Test::Warnings" : "0"
          }
       }
    },
@@ -45,6 +51,6 @@
          "url" : "https://github.com/asb-capfan/Spreadsheet-XLSX";
       }
    },
-   "version" : "0.16",
+   "version" : "0.17",
    "x_serialization_backend" : "JSON::PP version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-XLSX-0.16/META.yml 
new/Spreadsheet-XLSX-0.17/META.yml
--- old/Spreadsheet-XLSX-0.16/META.yml  2021-10-25 20:57:10.000000000 +0200
+++ new/Spreadsheet-XLSX-0.17/META.yml  2021-11-03 21:37:47.000000000 +0100
@@ -5,6 +5,9 @@
   - 'Mike Blackwell <mike.blackw...@rrd.com'
 build_requires:
   ExtUtils::MakeMaker: '0'
+  Test::More: '0'
+  Test::NoWarnings: '0'
+  Test::Warnings: '0'
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
@@ -21,8 +24,7 @@
 requires:
   Archive::Zip: '1.18'
   Spreadsheet::ParseExcel: '0'
-  Test::NoWarnings: '0'
 resources:
   repository: https://github.com/asb-capfan/Spreadsheet-XLSX
-version: '0.16'
+version: '0.17'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-XLSX-0.16/Makefile.PL 
new/Spreadsheet-XLSX-0.17/Makefile.PL
--- old/Spreadsheet-XLSX-0.16/Makefile.PL       2021-10-23 12:36:27.000000000 
+0200
+++ new/Spreadsheet-XLSX-0.17/Makefile.PL       2021-11-03 21:15:31.000000000 
+0100
@@ -11,6 +11,10 @@
     PREREQ_PM         => {
         'Archive::Zip' => 1.18,
         'Spreadsheet::ParseExcel' => 0,
+    },
+    TEST_REQUIRES => {
+        'Test::More' => 0,
+        'Test::Warnings' => 0,
         'Test::NoWarnings' => 0,
     },
     META_MERGE     => {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-XLSX-0.16/README 
new/Spreadsheet-XLSX-0.17/README
--- old/Spreadsheet-XLSX-0.16/README    2015-04-23 01:10:29.000000000 +0200
+++ new/Spreadsheet-XLSX-0.17/README    2021-11-03 21:35:22.000000000 +0100
@@ -17,6 +17,7 @@
 This module requires these other modules and libraries:
 
   Archive::Zip
+  Spreadsheet::ParseExcel
 
 COPYRIGHT AND LICENCE
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-XLSX-0.16/lib/Spreadsheet/XLSX/Fmt2007.pm 
new/Spreadsheet-XLSX-0.17/lib/Spreadsheet/XLSX/Fmt2007.pm
--- old/Spreadsheet-XLSX-0.16/lib/Spreadsheet/XLSX/Fmt2007.pm   2021-10-25 
20:55:34.000000000 +0200
+++ new/Spreadsheet-XLSX-0.17/lib/Spreadsheet/XLSX/Fmt2007.pm   2021-11-03 
21:34:32.000000000 +0100
@@ -8,7 +8,7 @@
 use warnings;
 
 use Spreadsheet::XLSX::Utility2007 qw(ExcelFmt);
-our $VERSION = '0.16';    #
+our $VERSION = '0.17';    #
 
 my %hFmtDefault = (
     0x00 => '@',
@@ -94,6 +94,9 @@
 
     #        $oBook->{Format}[$oCell->{FormatNo}]->{FmtIdx}, $oBook);
 
+    # Check for formula error before evaluating format
+    return '@' if ( $oCell->{Val} =~ m/^#/ );
+    
     unless (defined($sFmtStr)) {
         if ($oCell->{Type} eq 'Numeric') {
             if ($oCell->{Format}) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-XLSX-0.16/lib/Spreadsheet/XLSX/Utility2007.pm 
new/Spreadsheet-XLSX-0.17/lib/Spreadsheet/XLSX/Utility2007.pm
--- old/Spreadsheet-XLSX-0.16/lib/Spreadsheet/XLSX/Utility2007.pm       
2021-10-25 20:56:16.000000000 +0200
+++ new/Spreadsheet-XLSX-0.17/lib/Spreadsheet/XLSX/Utility2007.pm       
2021-11-03 21:34:39.000000000 +0100
@@ -13,7 +13,7 @@
 use vars qw(@ISA @EXPORT_OK);
 @ISA       = qw(Exporter);
 @EXPORT_OK = qw(ExcelFmt LocaltimeExcel ExcelLocaltime col2int int2col 
sheetRef xls2csv);
-our $VERSION = '0.16';
+our $VERSION = '0.17';
 
 my $sNUMEXP = '(^[+-]?\d+(\.\d+)?$)|(^[+-]?\d+\.?(\d*)[eE][+-](\d+))$';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-XLSX-0.16/lib/Spreadsheet/XLSX.pm 
new/Spreadsheet-XLSX-0.17/lib/Spreadsheet/XLSX.pm
--- old/Spreadsheet-XLSX-0.16/lib/Spreadsheet/XLSX.pm   2021-10-25 
20:55:49.000000000 +0200
+++ new/Spreadsheet-XLSX-0.17/lib/Spreadsheet/XLSX.pm   2021-11-03 
21:34:23.000000000 +0100
@@ -6,7 +6,7 @@
 
 use base 'Spreadsheet::ParseExcel::Workbook';
 
-our $VERSION = '0.16';
+our $VERSION = '0.17';
 
 use Archive::Zip;
 use Spreadsheet::ParseExcel;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-XLSX-0.16/t/3_____invalid_formular.t 
new/Spreadsheet-XLSX-0.17/t/3_____invalid_formular.t
--- old/Spreadsheet-XLSX-0.16/t/3_____invalid_formular.t        1970-01-01 
01:00:00.000000000 +0100
+++ new/Spreadsheet-XLSX-0.17/t/3_____invalid_formular.t        2021-11-03 
21:02:41.000000000 +0100
@@ -0,0 +1,31 @@
+use strict;
+use warnings;
+use Test::More;
+use Spreadsheet::XLSX;
+
+BEGIN {
+    if( !$ENV{RELEASE_TESTING} ) {
+        plan skip_all => 'these tests are for release candidate testing';
+    }else{
+        eval{
+            require Test::Warnings;
+            Test::Warnings->import(('warning', ':no_end_test'));
+            1;
+        } or do {
+            plan skip_all => 'Skipping this test because Test::Warnings is not 
installed';
+        };
+    }
+}
+
+plan tests => 1;
+
+my $fn = __FILE__;
+
+$fn =~ s{t$}{xlsx};
+
+my $warning = warning { my $excel = Spreadsheet::XLSX->new($fn); };
+unlike(
+    $warning,
+    qr/isn't numeric/,
+    'got a "isn\'t numeric" warning when parsing the Excel file',
+) or diag 'got warning(s): ', explain($warning);
Binary files old/Spreadsheet-XLSX-0.16/t/3_____invalid_formular.xlsx and 
new/Spreadsheet-XLSX-0.17/t/3_____invalid_formular.xlsx differ

Reply via email to