Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Spreadsheet-ParseExcel for 
openSUSE:Factory checked in at 2024-01-05 21:40:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Spreadsheet-ParseExcel (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Spreadsheet-ParseExcel.new.28375 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Spreadsheet-ParseExcel"

Fri Jan  5 21:40:31 2024 rev:10 rq:1136878 version:0.660.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Spreadsheet-ParseExcel/perl-Spreadsheet-ParseExcel.changes
  2014-03-25 13:25:51.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Spreadsheet-ParseExcel.new.28375/perl-Spreadsheet-ParseExcel.changes
       2024-01-05 21:40:48.372948168 +0100
@@ -1,0 +2,12 @@
+Fri Dec 29 03:09:14 UTC 2023 - Tina Müller <[email protected]>
+
+- updated to 0.66
+   see /usr/share/doc/packages/perl-Spreadsheet-ParseExcel/Changes
+
+  0.66 December 29 2023
+  ! Fix for CVE-2023-7101 [bsc#1218414]
+    https://github.com/runrig/spreadsheet-parseexcel/issues/33
+    * Unvalidated input can lead to arbitrary code execution.
+    * https://github.com/runrig/spreadsheet-parseexcel/issues/33
+
+-------------------------------------------------------------------
@@ -77 +88,0 @@
-

Old:
----
  Spreadsheet-ParseExcel-0.65.tar.gz

New:
----
  Spreadsheet-ParseExcel-0.66.tar.gz

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

Other differences:
------------------
++++++ perl-Spreadsheet-ParseExcel.spec ++++++
--- /var/tmp/diff_new_pack.1SZbCa/_old  2024-01-05 21:40:49.068973618 +0100
+++ /var/tmp/diff_new_pack.1SZbCa/_new  2024-01-05 21:40:49.072973764 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Spreadsheet-ParseExcel
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,20 @@
 # 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/
 #
 
 
+%define cpan_name Spreadsheet-ParseExcel
 Name:           perl-Spreadsheet-ParseExcel
-Version:        0.65
+Version:        0.660.0
 Release:        0
-%define cpan_name Spreadsheet-ParseExcel
-Summary:        Read information from an Excel file.
-License:        Artistic-1.0 or GPL-1.0+
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Spreadsheet-ParseExcel/
-Source:         
http://www.cpan.org/authors/id/D/DO/DOUGW/%{cpan_name}-%{version}.tar.gz
+%define cpan_version 0.66
+License:        Artistic-1.0 OR GPL-1.0-or-later
+Summary:        Read information from an Excel file
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/J/JM/JMCNAMARA/%{cpan_name}-%{cpan_version}.tar.gz
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Crypt::RC4)
@@ -37,6 +36,22 @@
 Requires:       perl(Digest::Perl::MD5)
 Requires:       perl(IO::Scalar)
 Requires:       perl(OLE::Storage_Lite) >= 0.19
+Provides:       perl(Spreadsheet::ParseExcel) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::Cell) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::Dump) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::FmtDefault) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::FmtJapan) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::FmtJapan2) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::FmtUnicode) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::Font) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::Format) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::SaveParser) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::SaveParser::Workbook) = 
%{version}
+Provides:       perl(Spreadsheet::ParseExcel::SaveParser::Worksheet) = 
%{version}
+Provides:       perl(Spreadsheet::ParseExcel::Utility) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::Workbook) = %{version}
+Provides:       perl(Spreadsheet::ParseExcel::Worksheet) = %{version}
+%define         __perllib_provides /bin/true
 %{perl_requires}
 
 %description
@@ -44,18 +59,19 @@
 Excel 95-2003 binary files.
 
 The module cannot read files in the Excel 2007 Open XML XLSX format. See
-the the Spreadsheet::XLSX manpage module instead.
+the Spreadsheet::XLSX module instead.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+%autosetup  -n %{cpan_name}-%{cpan_version}
+
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 
644
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install
@@ -63,6 +79,5 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes CP932Excel.map examples README README_Japan.htm
 

++++++ Spreadsheet-ParseExcel-0.65.tar.gz -> Spreadsheet-ParseExcel-0.66.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-ParseExcel-0.65/Changes 
new/Spreadsheet-ParseExcel-0.66/Changes
--- old/Spreadsheet-ParseExcel-0.65/Changes     2014-03-18 21:03:17.000000000 
+0100
+++ new/Spreadsheet-ParseExcel-0.66/Changes     2023-12-29 01:56:40.000000000 
+0100
@@ -1,5 +1,10 @@
 Revision history for Perl module Spreadsheet::ParseExcel.
 
+0.66 December 29 2023
+
+    ! Fix for CVE-2023-7101
+      https://github.com/runrig/spreadsheet-parseexcel/issues/33
+
 0.65 March 15 2014
     ! Merge support for accessing hyperlink data
 
@@ -268,9 +273,7 @@
 0.43 January 7 2009
 
     + Restructured and rewrote the main documentation. This is the start of
-      a general refactoring. If you would like to keep up to date with it
-      keep an eye on the Spreadsheet::ParseExcel Google Group.
-      http://groups.google.com/group/spreadsheet-parseexcel
+      a general refactoring.
 
     + Added worksheets() Workbook method to iterate over the Worksheet objects.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-ParseExcel-0.65/META.json 
new/Spreadsheet-ParseExcel-0.66/META.json
--- old/Spreadsheet-ParseExcel-0.65/META.json   2014-03-18 21:45:20.000000000 
+0100
+++ new/Spreadsheet-ParseExcel-0.66/META.json   2023-12-29 02:00:06.000000000 
+0100
@@ -1,16 +1,16 @@
 {
    "abstract" : "Read information from an Excel file.",
    "author" : [
-      "Douglas Wilson ([email protected])"
+      "John McNamara ([email protected])"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter 
version 2.133380",
+   "generated_by" : "ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
+      "version" : 2
    },
    "name" : "Spreadsheet-ParseExcel",
    "no_index" : {
@@ -44,13 +44,13 @@
    "release_status" : "stable",
    "resources" : {
       "bugtracker" : {
-         "web" : "http://github.com/runrig/spreadsheet-parseexcel/issues";
+         "web" : "http://github.com/jmcnamara/spreadsheet-parseexcel/issues";
       },
-      "homepage" : "http://github.com/runrig/spreadsheet-parseexcel/";,
+      "homepage" : "http://github.com/jmcnamara/spreadsheet-parseexcel/";,
       "repository" : {
-         "url" : "http://github.com/runrig/spreadsheet-parseexcel";
-      },
-      "x_MailingList" : "http://groups.google.com/group/spreadsheet-parseexcel";
+         "url" : "http://github.com/jmcnamara/spreadsheet-parseexcel";
+      }
    },
-   "version" : "0.65"
+   "version" : "0.66",
+   "x_serialization_backend" : "JSON::PP version 4.06"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-ParseExcel-0.65/META.yml 
new/Spreadsheet-ParseExcel-0.66/META.yml
--- old/Spreadsheet-ParseExcel-0.65/META.yml    2014-03-18 21:45:20.000000000 
+0100
+++ new/Spreadsheet-ParseExcel-0.66/META.yml    2023-12-29 02:00:05.000000000 
+0100
@@ -1,13 +1,13 @@
 ---
 abstract: 'Read information from an Excel file.'
 author:
-  - 'Douglas Wilson ([email protected])'
+  - 'John McNamara ([email protected])'
 build_requires:
   ExtUtils::MakeMaker: '0'
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 
2.133380'
+generated_by: 'ExtUtils::MakeMaker version 7.62, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,8 +25,8 @@
   OLE::Storage_Lite: '0.19'
   Scalar::Util: '0'
 resources:
-  MailingList: http://groups.google.com/group/spreadsheet-parseexcel
-  bugtracker: http://github.com/runrig/spreadsheet-parseexcel/issues
-  homepage: http://github.com/runrig/spreadsheet-parseexcel/
-  repository: http://github.com/runrig/spreadsheet-parseexcel
-version: '0.65'
+  bugtracker: http://github.com/jmcnamara/spreadsheet-parseexcel/issues
+  homepage: http://github.com/jmcnamara/spreadsheet-parseexcel/
+  repository: http://github.com/jmcnamara/spreadsheet-parseexcel
+version: '0.66'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-ParseExcel-0.65/Makefile.PL 
new/Spreadsheet-ParseExcel-0.66/Makefile.PL
--- old/Spreadsheet-ParseExcel-0.65/Makefile.PL 2014-03-10 19:14:09.000000000 
+0100
+++ new/Spreadsheet-ParseExcel-0.66/Makefile.PL 2023-12-29 01:46:54.000000000 
+0100
@@ -15,14 +15,13 @@
 );
 
 my %resources = (
-    homepage  => 'http://github.com/runrig/spreadsheet-parseexcel/',
-    repository  => 'http://github.com/runrig/spreadsheet-parseexcel',
-    bugtracker  => 'http://github.com/runrig/spreadsheet-parseexcel/issues',
-    MailingList => 'http://groups.google.com/group/spreadsheet-parseexcel',
+    homepage  => 'http://github.com/jmcnamara/spreadsheet-parseexcel/',
+    repository  => 'http://github.com/jmcnamara/spreadsheet-parseexcel',
+    bugtracker  => 'http://github.com/jmcnamara/spreadsheet-parseexcel/issues',
 );
 
 my %params = (
-    'AUTHOR'        => 'Douglas Wilson ([email protected])',
+    'AUTHOR'        => 'John McNamara ([email protected])',
     'NAME'          => 'Spreadsheet::ParseExcel',
     'ABSTRACT'      => 'Read information from an Excel file.',
     'VERSION_FROM'  => 'lib/Spreadsheet/ParseExcel.pm',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Spreadsheet-ParseExcel-0.65/README 
new/Spreadsheet-ParseExcel-0.66/README
--- old/Spreadsheet-ParseExcel-0.65/README      2014-02-26 20:34:50.000000000 
+0100
+++ new/Spreadsheet-ParseExcel-0.66/README      2023-12-29 01:40:40.000000000 
+0100
@@ -52,7 +52,9 @@
 
 AUTHOR
 
-    Current maintainer 0.40+: John McNamara [email protected]
+    Maintainer 0.60+: Douglas Wilson [email protected]
+
+    Maintainer 0.40-0.59: John McNamara [email protected]
 
     Maintainer 0.27-0.33: Gabor Szabo [email protected]
 
@@ -60,14 +62,5 @@
 
 
 SUPPORT
-    Before you report problems, please check the "KNOWN PROBLEMS" section
-    in the manual page for Spreadsheet::ParseExcel.
-
-    There is a Google group for discussing and asking questions about
-    Spreadsheet::ParseExcel.
-    http://groups-beta.google.com/group/spreadsheet-parseexcel/
-
-    Bugs can be reported via rt.cpan.org. See the following for instructions:
-    http://rt.cpan.org/Public/Dist/Display.html?Name=Spreadsheet-ParseExcel
-
-    Test cases are always welcome.
+    Please check the "KNOWN PROBLEMS" section in the manual page
+    for Spreadsheet::ParseExcel.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Cell.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Cell.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Cell.pm  
2014-03-18 21:14:53.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Cell.pm  
2023-12-29 01:43:02.000000000 +0100
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 ###############################################################################
 #
@@ -160,7 +160,7 @@
     return undef;
 }
 
-# 
+#
 ###############################################################################
 #
 # Mapping between legacy method names and new names.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Dump.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Dump.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Dump.pm  
2014-03-18 21:03:17.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Dump.pm  
2023-12-29 01:43:02.000000000 +0100
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 my %NameTbl = (
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/FmtDefault.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/FmtDefault.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/FmtDefault.pm    
2014-03-18 21:03:17.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/FmtDefault.pm    
2023-12-29 01:43:02.000000000 +0100
@@ -20,7 +20,7 @@
 use warnings;
 
 use Spreadsheet::ParseExcel::Utility qw(ExcelFmt);
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 my %hFmtDefault = (
     0x00 => 'General',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/FmtJapan.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/FmtJapan.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/FmtJapan.pm      
2014-03-18 21:03:17.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/FmtJapan.pm      
2023-12-29 01:43:02.000000000 +0100
@@ -22,7 +22,7 @@
 
 use Encode qw(find_encoding decode);
 use base 'Spreadsheet::ParseExcel::FmtDefault';
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 my %FormatTable = (
     0x00 => 'General',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/FmtJapan2.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/FmtJapan2.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/FmtJapan2.pm     
2014-03-18 21:03:17.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/FmtJapan2.pm     
2023-12-29 01:43:02.000000000 +0100
@@ -22,7 +22,7 @@
 use Jcode;
 use Unicode::Map;
 use base 'Spreadsheet::ParseExcel::FmtJapan';
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 #------------------------------------------------------------------------------
 # new (for Spreadsheet::ParseExcel::FmtJapan2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/FmtUnicode.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/FmtUnicode.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/FmtUnicode.pm    
2014-03-18 21:03:17.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/FmtUnicode.pm    
2023-12-29 01:43:02.000000000 +0100
@@ -22,7 +22,7 @@
 use Unicode::Map;
 use base 'Spreadsheet::ParseExcel::FmtDefault';
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 #------------------------------------------------------------------------------
 # new (for Spreadsheet::ParseExcel::FmtUnicode)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Font.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Font.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Font.pm  
2014-03-18 21:03:17.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Font.pm  
2023-12-29 01:43:02.000000000 +0100
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 sub new {
     my ( $class, %rhIni ) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Format.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Format.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Format.pm        
2014-03-18 21:03:18.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Format.pm        
2023-12-29 01:43:02.000000000 +0100
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 sub new {
     my ( $class, %rhIni ) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/SaveParser/Workbook.pm
 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/SaveParser/Workbook.pm
--- 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/SaveParser/Workbook.pm
   2014-03-18 21:03:18.000000000 +0100
+++ 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/SaveParser/Workbook.pm
   2023-12-29 01:43:02.000000000 +0100
@@ -20,7 +20,7 @@
 use warnings;
 
 use base 'Spreadsheet::ParseExcel::Workbook';
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 #==============================================================================
 # Spreadsheet::ParseExcel::SaveParser::Workbook
@@ -255,7 +255,7 @@
                 }
             }
         }
-        
+
                my $merged_areas = $oWkS->get_merged_areas();
                my $merged_areas_h = {};
                if ($merged_areas) {
@@ -263,7 +263,7 @@
                                $merged_areas_h->{$range->[0]}{$range->[1]} = 
$range;
                        }
                }
-               
+
                for (
             my $iR = $oWkS->{MinRow} ;
             defined $oWkS->{MaxRow} && $iR <= $oWkS->{MaxRow} ;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/SaveParser/Worksheet.pm
 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/SaveParser/Worksheet.pm
--- 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/SaveParser/Worksheet.pm
  2014-03-18 21:03:18.000000000 +0100
+++ 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/SaveParser/Worksheet.pm
  2023-12-29 01:43:02.000000000 +0100
@@ -24,7 +24,7 @@
 #==============================================================================
 
 use base 'Spreadsheet::ParseExcel::Worksheet';
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 sub new {
     my ( $sClass, %rhIni ) = @_;
@@ -36,7 +36,7 @@
 #------------------------------------------------------------------------------
 sub AddCell {
     my ( $oSelf, $iR, $iC, $sVal, $oCell, $sCode ) = @_;
-    
+
        $oSelf->{_Book}
       ->AddCell( $oSelf->{_SheetNo}, $iR, $iC, $sVal, $oCell, $sCode );
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/SaveParser.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/SaveParser.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/SaveParser.pm    
2014-03-18 21:03:18.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/SaveParser.pm    
2023-12-29 01:43:02.000000000 +0100
@@ -25,7 +25,7 @@
 use Spreadsheet::WriteExcel;
 use base 'Spreadsheet::ParseExcel';
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 ###############################################################################
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Utility.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Utility.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Utility.pm       
2014-03-18 21:03:18.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Utility.pm       
2023-12-29 01:43:02.000000000 +0100
@@ -25,7 +25,7 @@
 @EXPORT_OK = qw(ExcelFmt LocaltimeExcel ExcelLocaltime
   col2int int2col sheetRef xls2csv);
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 my $qrNUMBER = qr/(^[+-]?\d+(\.\d+)?$)|(^[+-]?\d+\.?(\d*)[eE][+-](\d+))$/;
 
@@ -78,10 +78,12 @@
     $format_str = '@' if uc($format_str) eq "GENERAL";
 
     # Check for a conditional at the start of the format. See notes above.
-    my $conditional;
-    if ( $format_str =~ /^\[([<>=][^\]]+)\](.*)$/ ) {
-        $conditional = $1;
-        $format_str  = $2;
+    my $conditional_op;
+    my $conditional_value;
+    if ( $format_str =~ /^\[([<>=]+)([^\]]+)\](.*)$/ ) {
+        $conditional_op = $1;
+        $conditional_value = $2;
+        $format_str = $3;
     }
 
     # Ignore the underscore token which is used to indicate a padding space.
@@ -166,12 +168,23 @@
     }
 
     # Override the previous choice if the format is conditional.
-    if ($conditional) {
-
-        # TODO. Replace string eval with a function.
-        $section = eval "$number $conditional" ? 0 : 1;
+    if ($conditional_op) {
+        if ($conditional_op eq '>') {
+            $section = $number > $conditional_value ? 0 : 1;
+        } elsif ($conditional_op eq '>=') {
+            $section = $number >= $conditional_value ? 0 : 1;
+        } elsif ($conditional_op eq '<') {
+            $section = $number < $conditional_value ? 0 : 1;
+        } elsif ($conditional_op eq '<=') {
+            $section = $number <= $conditional_value ? 0 : 1;
+        } elsif ($conditional_op eq '=') {
+            $section = $number == $conditional_value ? 0 : 1;
+        } elsif ($conditional_op eq '==') {
+            $section = $number == $conditional_value ? 0 : 1;
+        } elsif ($conditional_op eq '<>') {
+            $section = $number != $conditional_value ? 0 : 1;
+        }
     }
-
     # We now have the required format.
     $format = $formats[$section];
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Workbook.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Workbook.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Workbook.pm      
2014-03-18 21:03:18.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Workbook.pm      
2023-12-29 01:43:02.000000000 +0100
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 ###############################################################################
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Worksheet.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Worksheet.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel/Worksheet.pm     
2014-03-18 21:03:18.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel/Worksheet.pm     
2023-12-29 01:43:02.000000000 +0100
@@ -20,7 +20,7 @@
 use warnings;
 use Scalar::Util qw(weaken);
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 ###############################################################################
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel.pm 
new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel.pm
--- old/Spreadsheet-ParseExcel-0.65/lib/Spreadsheet/ParseExcel.pm       
2014-03-18 21:04:14.000000000 +0100
+++ new/Spreadsheet-ParseExcel-0.66/lib/Spreadsheet/ParseExcel.pm       
2023-12-29 01:52:53.000000000 +0100
@@ -26,7 +26,7 @@
 use Crypt::RC4;
 use Digest::Perl::MD5;
 
-our $VERSION = '0.65';
+our $VERSION = '0.66';
 
 use Spreadsheet::ParseExcel::Workbook;
 use Spreadsheet::ParseExcel::Worksheet;
@@ -627,7 +627,7 @@
 
     # Reset the error status in case method is called more than once.
     $self->{_error_status} = ErrorNone;
- 
+
     my $ref = ref($source);
 
     if ( $ref ) {
@@ -1428,7 +1428,7 @@
 
 # Helper: Extract a counted (16-bit) unicode string, returns string,
 # updates $offset
-# $zterm == 1 if string is null-terminated. 
+# $zterm == 1 if string is null-terminated.
 # $bc if length is in bytes (not chars)
 
 sub _getustr {
@@ -3413,8 +3413,6 @@
 
 =over
 
-=item * Issues reported by users: 
L<http://rt.cpan.org/Public/Dist/Display.html?Name=Spreadsheet-ParseExcel>
-
 =item * This module cannot read the values of formulas from files created with 
Spreadsheet::WriteExcel unless the user specified the values when creating the 
file (which is generally not the case). The reason for this is that 
Spreadsheet::WriteExcel writes the formula but not the formula result since it 
isn't in a position to calculate arbitrary Excel formulas without access to 
Excel's formula engine.
 
 =item * If Excel has date fields where the specified format is equal to the 
system-default for the short-date locale, Excel does not store the format, but 
defaults to an internal format which is system dependent. In these cases 
ParseExcel uses the date format 'yyyy-mm-dd'.
@@ -3426,9 +3424,9 @@
 
 =head1 REPORTING A BUG
 
-Bugs can be reported via rt.cpan.org. See the following for instructions on 
bug reporting for Spreadsheet::ParseExcel
+Please report bugs on GitHub with a complete, working, sample application and 
a test xls file.
 
-L<http://rt.cpan.org/Public/Dist/Display.html?Name=Spreadsheet-ParseExcel>
+L<https://github.com/jmcnamara/spreadsheet-parseexcel/issues>
 
 
 
@@ -3459,13 +3457,6 @@
 
 
 
-
-=head1 MAILING LIST
-
-There is a Google group for discussing and asking questions about 
Spreadsheet::ParseExcel. This is a good place to search to see if your question 
has been asked before:  
L<http://groups-beta.google.com/group/spreadsheet-parseexcel/>
-
-
-
 
 =head1 DONATIONS
 

Reply via email to