Hello community, here is the log from the commit of package perl-Spreadsheet-Read for openSUSE:Factory checked in at 2018-01-23 13:53:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Spreadsheet-Read (Old) and /work/SRC/openSUSE:Factory/.perl-Spreadsheet-Read.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Spreadsheet-Read" Tue Jan 23 13:53:09 2018 rev:12 rq:568402 version:0.74 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Spreadsheet-Read/perl-Spreadsheet-Read.changes 2013-06-25 06:58:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Spreadsheet-Read.new/perl-Spreadsheet-Read.changes 2018-01-23 13:53:11.617041770 +0100 @@ -1,0 +2,152 @@ +Wed Jan 3 14:58:21 UTC 2018 - stefan.bru...@rwth-aachen.de + +- Resurrect description, the one from CPAN is insufficient +- Do not install examples to bin, conflicts with gnumeric and xls2csv +- Remove executable flags from all examples + +------------------------------------------------------------------- +Wed Oct 18 21:53:29 UTC 2017 - jam...@vicidial.com + +- nonstdperlpath.patch added + * Change non-standard /pro/bin/perl path to /usr/bin/perl + +------------------------------------------------------------------- +Sun Oct 8 08:18:15 UTC 2017 - co...@suse.com + +- updated to 0.74 + see /usr/share/doc/packages/perl-Spreadsheet-Read/Changes + + 0.74 - 27 Aug 2017, H.Merijn Brand + * Re-enable opening files with bad characters in the filename (issue#14) + + 0.73 - 30 Jul 2017, H.Merijn Brand + * Spreadsheet::XLSX::Reader::LibXML support completely dropped + * New options for ss2tk (font specs and SS labels) + * Safer xls2csv option parsing/passing + * Pass unknown command-line options to the parser + * Fix ReadData ("a,b,c +1,2,3 +", parser => "csv") + * Drop 5.8.0 support. 5.8.1 is now minimum + + 0.72 - 25 May 2017, H.Merijn Brand + * get_active_sheet is only available as of Spreadsheet::ParseExcel 0.61 + * Support password protected spreadsheets (implementation just for Excel) + * Do not warn on undefined labels (xlscat) + + 0.71 - 13 May 2017, H.Merijn Brand + * Use -w as intended + * Add option pivot + * No trailing spaces on xlscat -L + * Lexicalize code snippet (issue#12) + * Add attr method + * Remove special chars from worksheet name component (Windows, PR#13) + * Add refresh to ss2tk / csv2tk + * Add shortcut for UTF-8 output to xlscat + * Upgrade recommended modules to required for cpancover + + 0.70 - 02 Mar 2017, H.Merijn Brand + * Add label functionality to ::Sheet + * Add ->column and ->cellcolumn for ::Sheet + * Add col2label sub/method + * Sanitize xls2csv export filenames + * Fix sorting in xlscat for un-aligned columns + * It's 2017 + * Be overly verbose about maxrow and maxcol being 1-based (RT#120476) + + 0.69 - 02 Dec 2016, H.Merijn Brand + * Several OO fixes, more tests, more docs + + 0.68 - 29 Nov 2016, H.Merijn Brand + * List non-core modules/version used on very verbose in xlscat + * Option to export all sheets in a spreadsheet to CSV (UTF-8 only) + * Add OO interface + * Feature: add new spreadsheets to existing book (even of different types) + + 0.67 - 17 Jun 2016, H.Merijn Brand + * CPANTESTERS showed that some versions really messed op numeric/percentage + + 0.66 - 16 Jun 2016, H.Merijn Brand + * Remove Spreadsheet::XLSX::Reader::LibXML test files from distribution + * Allow old versions of Spreadsheet::ParseXLSX to "fail" on percentage tests + + 0.65 - 15 Jun 2016, H.Merijn Brand + * Test with perl-5.24.0 + * Show parser-version used under debug + * No more Spreadsheet::XLSX::Reader::LibXML + * Cells will inherit hidden state from hidden rows and columns + * Require 5.8.0 as 5.6.x does not include required Encode + + 0.64 - 22 Apr 2016, H.Merijn Brand + * It's 2016 + * Allow inconsistent Spreadsheet::XLSX releases on Debian (tests) + * Decode utf-16be entries in Excel when appropriate + * Two examples in xlscat + + 0.63 - 10 Oct 2015, H.Merijn Brand + * Guard against negative MinRow in XLSX + * Documentation updated + * Support Spreadsheet::XLSX::Reader::LibXML disabled on author request + * Fix warning in utilities + * Check minimum parser version for pre-selected parser + + 0.62 - 16 Aug 2015, H.Merijn Brand + * Fix documentation structure + * Test all supported parsers (not just the preferred one) + * Basic support for Spreadsheet::XLSX::Reader::LibXML (work in progress) + * Copy example file if link fails (Alan Berndt) + * Add a contributing guide + + 0.61 - 13 Jun 2015, H.Merijn Brand + * Discourage Spreadsheet::XLSX + * A space is not an empty field in XLS + * Strip the correct selection (RT#105197) + + 0.60 - 30 Mar 2015, H.Merijn Brand + * No merged cell support in Spreadsheet::XLSX + + 0.59 - 26 Mar 2015, H.Merijn Brand + * Minimal support (+ docs) for merged cells + * Make parser errors report at one level up + * Don't select non-existing columns in xlscat + + 0.58 - 11 Feb 2015, H.Merijn Brand + * Remove perl recommendation from META as it breaks cpan clients + * Move sort instruction to correct place in xlscat's help + + 0.57 - 08 Feb 2015, H.Merijn Brand + * Moved project to github + * Add --sort to xlscat + * Clip before conversion + * Removed an unneeded localizing of $/ (related to p5 RT#123218) + + 0.56 - 05 Jan 2015, H.Merijn Brand + * printf does not play nice with encoding (related to RT#98436) + * default output UTF-8 if whole line is UTF-8 + + 0.55 - 01 Jan 2015, H.Merijn Brand + * Mention Spreadsheet::CSV in documentation + * Add ssdiff to examples + * Amend xlscat -n to also number in HTML + * Updated copyright to 2015 + + 0.54 - 30 Jan 2014, H.Merijn Brand + * Optional features required versions now builtin + + 0.53 - 29 Jan 2014, H.Merijn Brand + * Updated copyright to 2014 + * Prefer Data::Peek over Data::Dumper + * Support (and prefer) Spreadsheet::ParseXLSX for .xlsx + + 0.52 - 05 Dec 2013, H.Merijn Brand + * Store CSV parse error - if any - in $ss->[0]{error} + + 0.51 - 30 Oct 2013, H.Merijn Brand + * Link xlsgrep during install + + 0.50 - 24 Oct 2013, H.Merijn Brand + * Added xlsgrep to examples + * Allow -C B,D for xlscat + * More prominent reference to xlscat in docs + +------------------------------------------------------------------- Old: ---- Spreadsheet-Read-0.49.tgz New: ---- Spreadsheet-Read-0.74.tgz cpanspec.yml nonstdperlpath.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Spreadsheet-Read.spec ++++++ --- /var/tmp/diff_new_pack.lXcq8A/_old 2018-01-23 13:53:12.501000475 +0100 +++ /var/tmp/diff_new_pack.lXcq8A/_new 2018-01-23 13:53:12.501000475 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-Spreadsheet-Read # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,47 +16,41 @@ # -%bcond_with opt - Name: perl-Spreadsheet-Read -Version: 0.49 +Version: 0.74 Release: 0 %define cpan_name Spreadsheet-Read Summary: Read the data from a spreadsheet -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Spreadsheet-Read/ -Source: http://www.cpan.org/authors/id/H/HM/HMBRAND/%{cpan_name}-%{version}.tgz +Source0: https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/%{cpan_name}-%{version}.tgz +Source1: cpanspec.yml +Patch1: nonstdperlpath.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -Obsoletes: xls2csv < 1.07 -Provides: xls2csv = 1.07 BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::Harness) -%if 0%{?suse_version} >= 1120 +BuildRequires: perl(Data::Peek) +BuildRequires: perl(File::Temp) >= 0.22 +BuildRequires: perl(IO::Scalar) BuildRequires: perl(Test::More) >= 0.88 -%endif BuildRequires: perl(Test::NoWarnings) -# -BuildRequires: perl(File::Temp) -%if %{with opt} -BuildRequires: perl(Spreadsheet::ParseExcel) >= 0.26 -BuildRequires: perl(Spreadsheet::ParseExcel::FmtDefault) -BuildRequires: perl(Spreadsheet::ReadSXC) >= 0.2 -BuildRequires: perl(Text::CSV) >= 1.15 -BuildRequires: perl(Text::CSV_PP) >= 1.23 -BuildRequires: perl(Text::CSV_XS) >= 0.69 -%endif +Requires: perl(Data::Peek) +Requires: perl(File::Temp) >= 0.22 +Requires: perl(IO::Scalar) +Requires: perl(Test::More) >= 0.88 +Requires: perl(Test::NoWarnings) +Recommends: perl(Data::Peek) >= 0.47 +Recommends: perl(File::Temp) >= 0.2304 +Recommends: perl(IO::Scalar) +Recommends: perl(Test::More) >= 1.302086 +Recommends: perl(Spreadsheet::ReadSXC) +Recommends: perl(Spreadsheet::ParseExcel) +Recommends: perl(Spreadsheet::ParseXLSX) +Recommends: perl(Text::CSV_XS) +Recommends: perl(Text::CSV_PP) %{perl_requires} -%if 0%{?suse_version} > 1010 -Recommends: perl(Spreadsheet::ParseExcel) >= 0.26 -Recommends: perl(Spreadsheet::ParseExcel::FmtDefault) -Recommends: perl(Spreadsheet::ReadSXC) >= 0.2 -Recommends: perl(Text::CSV) >= 1.15 -Recommends: perl(Text::CSV_PP) >= 1.23 -Recommends: perl(Text::CSV_XS) >= 0.69 -%endif %description Spreadsheet::Read tries to transparently read *any* spreadsheet and return @@ -76,22 +70,11 @@ %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 -%if 0%{?suse_version} < 1120 || 0%{?rhel_version} || 0%{?centos_version} -%if %{with opt} -#for tfile in $(%{__grep} -lr "done_testing" t/*); do -for tfile in 20_csv 21_csv 22_csv 23_csv 24_csv 31_clr 32_fmt 33_misc 34_dates 35_perc 40_sxc 45_ods 50_sc 51_sc; do - %{__perl} -p -i\ - -e 's|(use).*(Test::More);|\1 \2 qw(no_plan);|,s|(done_testing.*)|#\1|' t/${tfile}.t -done -%else -for tfile in 50_sc 51_sc; do - %{__perl} -p -i\ - -e 's|(use).*(Test::More);|\1 \2 qw(no_plan);|,s|(done_testing.*)|#\1|' t/${tfile}.t -done -%endif -%endif +%patch -P 1 -p1 %build +# Disable installation of examples to {_bindir} +export AUTOMATED_TESTING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} @@ -103,11 +86,8 @@ %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes examples README +%doc Changes CONTRIBUTING.md examples README %changelog ++++++ Spreadsheet-Read-0.49.tgz -> Spreadsheet-Read-0.74.tgz ++++++ ++++ 7598 lines of diff (skipped) ++++++ cpanspec.yml ++++++ --- description_paragraphs: 5 description: |- Spreadsheet::Read tries to transparently read *any* spreadsheet and return its content in a universal manner independent of the parsing module that does the actual spreadsheet scanning. For OpenOffice this module uses Spreadsheet::ReadSXC For Microsoft Excel this module uses Spreadsheet::ParseExcel or Spreadsheet::XLSX For CSV this module uses Text::CSV_XS (0.29 or up required, 0.73 or up preferred) or Text::CSV_PP (1.05 or up required). For SquirrelCalc there is a very simplistic built-in parser #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: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module # Patch to fix non-standard perl path in source nonstdperlpath.patch: -p1 ++++++ nonstdperlpath.patch ++++++ diff -Naur Spreadsheet-Read-0.74/Read.pm Spreadsheet-Read-0.74-new/Read.pm --- Spreadsheet-Read-0.74/Read.pm 2017-08-27 09:45:47.000000000 -0400 +++ Spreadsheet-Read-0.74-new/Read.pm 2017-10-18 17:43:25.174589145 -0400 @@ -1,4 +1,4 @@ -#!/pro/bin/perl +#!/usr/bin/perl package Spreadsheet::Read; diff -Naur Spreadsheet-Read-0.74/examples/ss-dups-tk.pl Spreadsheet-Read-0.74-new/examples/ss-dups-tk.pl --- Spreadsheet-Read-0.74/examples/ss-dups-tk.pl 2017-02-28 12:18:59.000000000 -0500 +++ Spreadsheet-Read-0.74-new/examples/ss-dups-tk.pl 2017-10-18 17:42:53.064862460 -0400 @@ -1,4 +1,4 @@ -#!/pro/bin/perl +#!/usr/bin/perl # ss-dup-tk.pl: Find dups in spreadsheet # (m)'09 [23-01-2009] Copyright H.M.Brand 2005-2017 diff -Naur Spreadsheet-Read-0.74/examples/ss2tk Spreadsheet-Read-0.74-new/examples/ss2tk --- Spreadsheet-Read-0.74/examples/ss2tk 2017-07-03 07:12:00.000000000 -0400 +++ Spreadsheet-Read-0.74-new/examples/ss2tk 2017-10-18 17:42:53.064862460 -0400 @@ -1,4 +1,4 @@ -#!/pro/bin/perl +#!/usr/bin/perl # ss2tk: show SpreadSheet file in Tk::TableMatrix::Spreadsheet (*) # (m)'17 [2017-07-03] Copyright H.M.Brand 2005-2017 diff -Naur Spreadsheet-Read-0.74/examples/ssdiff Spreadsheet-Read-0.74-new/examples/ssdiff --- Spreadsheet-Read-0.74/examples/ssdiff 2016-11-27 06:28:35.000000000 -0500 +++ Spreadsheet-Read-0.74-new/examples/ssdiff 2017-10-18 17:42:53.064862460 -0400 @@ -1,4 +1,4 @@ -#!/pro/bin/perl +#!/usr/bin/perl use strict; use warnings; diff -Naur Spreadsheet-Read-0.74/examples/xls2csv Spreadsheet-Read-0.74-new/examples/xls2csv --- Spreadsheet-Read-0.74/examples/xls2csv 2017-06-07 06:18:22.000000000 -0400 +++ Spreadsheet-Read-0.74-new/examples/xls2csv 2017-10-18 17:42:53.064862460 -0400 @@ -1,4 +1,4 @@ -#!/pro/bin/perl +#!/usr/bin/perl # xls2csv: Convert Microsoft Excel spreadsheet to CSV # (m)'17 [07-06-2017] Copyright H.M.Brand 2008-2017 diff -Naur Spreadsheet-Read-0.74/examples/xlscat Spreadsheet-Read-0.74-new/examples/xlscat --- Spreadsheet-Read-0.74/examples/xlscat 2017-07-29 09:43:06.000000000 -0400 +++ Spreadsheet-Read-0.74-new/examples/xlscat 2017-10-18 17:42:53.068862177 -0400 @@ -1,4 +1,4 @@ -#!/pro/bin/perl +#!/usr/bin/perl # xlscat: show XLS/SXC file as Text # xlsgrep: grep pattern