Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Spreadsheet-Read for 
openSUSE:Factory checked in at 2022-02-03 23:16:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Spreadsheet-Read (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Spreadsheet-Read.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Spreadsheet-Read"

Thu Feb  3 23:16:37 2022 rev:18 rq:950475 version:0.84

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Spreadsheet-Read/perl-Spreadsheet-Read.changes  
    2021-04-12 17:10:26.794570430 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Spreadsheet-Read.new.1898/perl-Spreadsheet-Read.changes
    2022-02-03 23:17:32.376181452 +0100
@@ -1,0 +2,16 @@
+Sat Jan 29 21:20:51 UTC 2022 - Asterios Dramis <asterios.dra...@gmail.com>
+
+- Do not install xls2csv and xls2csv.1 (conflict with libxls-tools
+  and xls2csv packages).
+
+-------------------------------------------------------------------
+Mon Dec 27 23:18:57 UTC 2021 - Asterios Dramis <asterios.dra...@gmail.com>
+
+- Enabled installation of package examples and added them in a
+  subpackage "scripts". Had to add also necessary Conflict entries
+  with the following packages:
+   gnumeric (Conflicts with ssdiff)
+   xls2csv (Conflicts with xls2csv and xls2csv.1)
+- Suggest new "scripts" subpackage in the main package.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ perl-Spreadsheet-Read.spec ++++++
--- /var/tmp/diff_new_pack.FGzf6k/_old  2022-02-03 23:17:33.036176947 +0100
+++ /var/tmp/diff_new_pack.FGzf6k/_new  2022-02-03 23:17:33.036176947 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Spreadsheet-Read
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,8 +20,8 @@
 Name:           perl-Spreadsheet-Read
 Version:        0.84
 Release:        0
-Summary:        Read the data from a spreadsheet
 License:        Artistic-1.0 OR GPL-1.0-or-later
+Summary:        Read the data from a spreadsheet
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/%{cpan_name}-%{version}.tgz
 Source1:        cpanspec.yml
@@ -42,7 +42,6 @@
 Recommends:     perl(Data::Peek) >= 0.50
 Recommends:     perl(File::Temp) >= 0.2311
 Recommends:     perl(IO::Scalar)
-Recommends:     perl(Test::More) >= 1.302183
 %{perl_requires}
 # MANUAL BEGIN
 BuildRequires:  perl(Spreadsheet::ParseExcel) >= 0.34
@@ -50,6 +49,7 @@
 BuildRequires:  perl(Spreadsheet::ParseXLSX) >= 0.24
 BuildRequires:  perl(Text::CSV_XS) >= 0.71
 Recommends:     perl(Spreadsheet::ReadSXC) >= 0.20
+Suggests:       perl-Spreadsheet-Read-scripts = %{version}
 # MANUAL END
 
 %description
@@ -72,10 +72,8 @@
 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 
 %build
-# disable installation of examples to {_bindir}
-export AUTOMATED_TESTING=1
 perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
 
 %check
 make test
@@ -83,9 +81,38 @@
 %install
 %perl_make_install
 %perl_process_packlist
+# MANUAL BEGIN
+# Remove xls2csv and xls2csv.1 (conflict with libxls-tools and xls2csv 
packages)
+rm -f %{buildroot}%{_bindir}/xls2csv
+rm -f %{buildroot}%{_mandir}/man1/xls2csv.1
+# MANUAL END
 %perl_gen_filelist
 
 %files -f %{name}.files
 %doc Changes CONTRIBUTING.md examples README
+%exclude %{_bindir}/*
+%exclude %{_mandir}/*
+
+%package scripts
+Summary:        Scripts to Work with Spreadsheets
+Requires:       perl(HTML::Entities)
+Requires:       perl(Spreadsheet::Read) = %{version}
+Requires:       perl(Term::ReadKey)
+Requires:       perl(Text::CSV_XS)
+Requires:       perl(Tk)
+Requires:       perl(Tk::TableMatrix::Spreadsheet)
+# Conflict with ssdiff
+Conflicts:      gnumeric
+
+%description scripts
+This package includes some scripts to work with spreadsheets.
+
+%files scripts
+%{_bindir}/ss2tk
+%{_bindir}/ssdiff
+%{_bindir}/xlscat
+%{_bindir}/xlsgrep
+%{_bindir}/xlsx2csv
+%{_mandir}/man1/xlsx2csv.1%{?ext_man}
 
 %changelog

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.FGzf6k/_old  2022-02-03 23:17:33.072176701 +0100
+++ /var/tmp/diff_new_pack.FGzf6k/_new  2022-02-03 23:17:33.076176674 +0100
@@ -4,17 +4,16 @@
   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
 
+  For SquirrelCalc there is a very simplistic built-in parser
 #summary: override summary from CPAN
 #no_testing: broken upstream
 #sources:
@@ -24,15 +23,39 @@
   # Patch to fix non-standard perl path in source
   nonstdperlpath.patch: -p1
 preamble: |-
-  BuildRequires:  perl(Text::CSV_XS) >= 0.71
   BuildRequires:  perl(Spreadsheet::ParseExcel) >= 0.34
   BuildRequires:  perl(Spreadsheet::ParseExcel::FmtDefault)
   BuildRequires:  perl(Spreadsheet::ParseXLSX) >= 0.24
+  BuildRequires:  perl(Text::CSV_XS) >= 0.71
   Recommends:     perl(Spreadsheet::ReadSXC) >= 0.20
-custom_build: |-
-  # disable installation of examples to {_bindir}
-  export AUTOMATED_TESTING=1
-  perl Makefile.PL INSTALLDIRS=vendor
-  make %{?_smp_mflags}
+  Suggests:       perl-Spreadsheet-Read-scripts = %{version}
+post_install: |-
+  # Remove xls2csv and xls2csv.1 (conflict with libxls-tools and xls2csv 
packages)
+  rm -f %{buildroot}%{_bindir}/xls2csv
+  rm -f %{buildroot}%{_mandir}/man1/xls2csv.1
+misc: |-
+  %exclude %{_bindir}/*
+  %exclude %{_mandir}/*
+
+  %package scripts
+  Summary:        Scripts to Work with Spreadsheets
+  Requires:       perl(HTML::Entities)
+  Requires:       perl(Spreadsheet::Read) = %{version}
+  Requires:       perl(Term::ReadKey)
+  Requires:       perl(Text::CSV_XS)
+  Requires:       perl(Tk)
+  Requires:       perl(Tk::TableMatrix::Spreadsheet)
+  # Conflict with ssdiff
+  Conflicts:      gnumeric
+
+  %description scripts
+  This package includes some scripts to work with spreadsheets.
 
+  %files scripts
+  %{_bindir}/ss2tk
+  %{_bindir}/ssdiff
+  %{_bindir}/xlscat
+  %{_bindir}/xlsgrep
+  %{_bindir}/xlsx2csv
+  %{_mandir}/man1/xlsx2csv.1%{?ext_man}
 

Reply via email to