Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-File-Slurper for openSUSE:Factory checked in at 2022-01-03 10:48:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-File-Slurper (Old) and /work/SRC/openSUSE:Factory/.perl-File-Slurper.new.1896 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-File-Slurper" Mon Jan 3 10:48:54 2022 rev:6 rq:943416 version:0.013 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-File-Slurper/perl-File-Slurper.changes 2018-02-27 16:57:52.484222253 +0100 +++ /work/SRC/openSUSE:Factory/.perl-File-Slurper.new.1896/perl-File-Slurper.changes 2022-01-03 10:48:58.903570391 +0100 @@ -1,0 +2,9 @@ +Sun Dec 26 03:07:43 UTC 2021 - Tina M??ller <timueller+p...@suse.de> + +- updated to 0.013 + see /usr/share/doc/packages/perl-File-Slurper/Changes + + 0.013 2021-12-25 10:09:17+01:00 Europe/Amsterdam + Always split on newlines in read_lines + +------------------------------------------------------------------- Old: ---- File-Slurper-0.012.tar.gz New: ---- File-Slurper-0.013.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-File-Slurper.spec ++++++ --- /var/tmp/diff_new_pack.dtiZrk/_old 2022-01-03 10:48:59.371570569 +0100 +++ /var/tmp/diff_new_pack.dtiZrk/_new 2022-01-03 10:48:59.379570573 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-File-Slurper # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,22 +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 File-Slurper Name: perl-File-Slurper -Version: 0.012 +Version: 0.013 Release: 0 -%define cpan_name File-Slurper -Summary: Simple, Sane and Efficient Module to Slurp a File +Summary: Simple, sane and efficient module to slurp a file License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/File-Slurper/ +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::Warnings) @@ -40,15 +38,15 @@ errors, write functions don't return any meaningful value. %prep -%setup -q -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -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 @@ -56,7 +54,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %license LICENSE ++++++ File-Slurper-0.012.tar.gz -> File-Slurper-0.013.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurper-0.012/Changes new/File-Slurper-0.013/Changes --- old/File-Slurper-0.012/Changes 2018-02-20 21:53:32.000000000 +0100 +++ new/File-Slurper-0.013/Changes 2021-12-25 10:09:19.000000000 +0100 @@ -1,5 +1,8 @@ Revision history for File-Slurper +0.013 2021-12-25 10:09:17+01:00 Europe/Amsterdam + Always split on newlines in read_lines + 0.012 2018-02-20 21:53:30+01:00 Europe/Amsterdam Depend on Encode 2.11 for STOP_AT_PARTIAL diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurper-0.012/INSTALL new/File-Slurper-0.013/INSTALL --- old/File-Slurper-0.012/INSTALL 2018-02-20 21:53:32.000000000 +0100 +++ new/File-Slurper-0.013/INSTALL 2021-12-25 10:09:19.000000000 +0100 @@ -8,10 +8,10 @@ % cpanm File::Slurper -If you are installing into a system-wide directory, you may need to pass the -"-S" flag to cpanm, which uses sudo to install the module: - - % cpanm -S File::Slurper +If it does not have permission to install modules to the current perl, cpanm +will automatically set up and install to a local::lib in your home directory. +See the local::lib documentation (https://metacpan.org/pod/local::lib) for +details on enabling it in your environment. ## Installing with the CPAN shell @@ -22,7 +22,7 @@ ## Manual installation As a last resort, you can manually install it. Download the tarball, untar it, -then build it: +install configure prerequisites (see below), then build it: % perl Makefile.PL % make && make test @@ -31,13 +31,42 @@ % make install -If you are installing into a system-wide directory, you may need to run: +On Windows platforms, you should use `dmake` or `nmake`, instead of `make`. + +If your perl is system-managed, you can create a local::lib in your home +directory to install modules to. For details, see the local::lib documentation: +https://metacpan.org/pod/local::lib + +The prerequisites of this distribution will also have to be installed manually. The +prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated +by running the manual build process described above. + +## Configure Prerequisites + +This distribution requires other modules to be installed before this +distribution's installer can be run. They can be found under the +"configure_requires" key of META.yml or the +"{prereqs}{configure}{requires}" key of META.json. - % sudo make install +## Other Prerequisites + +This distribution may require additional modules to be installed after running +Makefile.PL. +Look for prerequisites in the following phases: + +* to run make, PHASE = build +* to use the module code itself, PHASE = runtime +* to run tests, PHASE = test + +They can all be found in the "PHASE_requires" key of MYMETA.yml or the +"{prereqs}{PHASE}{requires}" key of MYMETA.json. ## Documentation File-Slurper documentation is available as POD. -You can run perldoc from a shell to read the documentation: +You can run `perldoc` from a shell to read the documentation: % perldoc File::Slurper + +For more information on installing Perl modules via CPAN, please see: +https://www.cpan.org/modules/INSTALL.html diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurper-0.012/MANIFEST new/File-Slurper-0.013/MANIFEST --- old/File-Slurper-0.012/MANIFEST 2018-02-20 21:53:32.000000000 +0100 +++ new/File-Slurper-0.013/MANIFEST 2021-12-25 10:09:19.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.020. Changes INSTALL LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurper-0.012/META.json new/File-Slurper-0.013/META.json --- old/File-Slurper-0.012/META.json 2018-02-20 21:53:32.000000000 +0100 +++ new/File-Slurper-0.013/META.json 2021-12-25 10:09:19.000000000 +0100 @@ -4,7 +4,7 @@ "Leon Timmermans <le...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.020, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -58,7 +58,7 @@ "provides" : { "File::Slurper" : { "file" : "lib/File/Slurper.pm", - "version" : "0.012" + "version" : "0.013" } }, "release_status" : "stable", @@ -73,13 +73,15 @@ "web" : "https://github.com/Leont/file-slurp-sane" } }, - "version" : "0.012", + "version" : "0.013", "x_contributors" : [ "Jim Davis <revhip...@gmail.com>", "Leon Timmermans <faw...@gmail.com>", "Olivier Mengu\u00e9 <dol...@cpan.org>", "Philipp Gortan <philipp.gor...@apa.at>" ], - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0215" + "x_generated_by_perl" : "v5.32.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.19", + "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurper-0.012/META.yml new/File-Slurper-0.013/META.yml --- old/File-Slurper-0.012/META.yml 2018-02-20 21:53:32.000000000 +0100 +++ new/File-Slurper-0.013/META.yml 2021-12-25 10:09:19.000000000 +0100 @@ -13,7 +13,7 @@ ExtUtils::MakeMaker: '0' perl: '5.008' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.020, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -22,7 +22,7 @@ provides: File::Slurper: file: lib/File/Slurper.pm - version: '0.012' + version: '0.013' recommends: PerlIO::utf8_strict: '0' requires: @@ -37,10 +37,12 @@ resources: bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=File-Slurper repository: git://github.com/Leont/file-slurp-sane.git -version: '0.012' +version: '0.013' x_contributors: - 'Jim Davis <revhip...@gmail.com>' - 'Leon Timmermans <faw...@gmail.com>' - 'Olivier Mengu?? <dol...@cpan.org>' - 'Philipp Gortan <philipp.gor...@apa.at>' -x_serialization_backend: 'YAML::Tiny version 1.69' +x_generated_by_perl: v5.32.0 +x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurper-0.012/Makefile.PL new/File-Slurper-0.013/Makefile.PL --- old/File-Slurper-0.012/Makefile.PL 2018-02-20 21:53:32.000000000 +0100 +++ new/File-Slurper-0.013/Makefile.PL 2021-12-25 10:09:19.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.010. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.020. use strict; use warnings; @@ -32,7 +32,7 @@ "Test::More" => 0, "Test::Warnings" => 0 }, - "VERSION" => "0.012", + "VERSION" => "0.013", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurper-0.012/README new/File-Slurper-0.013/README --- old/File-Slurper-0.012/README 2018-02-20 21:53:32.000000000 +0100 +++ new/File-Slurper-0.013/README 2021-12-25 10:09:19.000000000 +0100 @@ -1,7 +1,5 @@ - - This archive contains the distribution File-Slurper, -version 0.012: +version 0.013: A simple, sane and efficient module to slurp a file @@ -11,5 +9,4 @@ the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v6.010. - +This README file was generated by Dist::Zilla::Plugin::Readme v6.020. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurper-0.012/lib/File/Slurper.pm new/File-Slurper-0.013/lib/File/Slurper.pm --- old/File-Slurper-0.012/lib/File/Slurper.pm 2018-02-20 21:53:32.000000000 +0100 +++ new/File-Slurper-0.013/lib/File/Slurper.pm 2021-12-25 10:09:19.000000000 +0100 @@ -1,5 +1,5 @@ package File::Slurper; -$File::Slurper::VERSION = '0.012'; +$File::Slurper::VERSION = '0.013'; use strict; use warnings; @@ -86,6 +86,7 @@ local $PerlIO::encoding::fallback = STOP_AT_PARTIAL | FB_CROAK; open my $fh, "<$layer", $filename or croak "Couldn't open $filename: $!"; + local $/ = "\n"; return <$fh> if $skip_chomp; my @buf = <$fh>; close $fh; @@ -115,7 +116,7 @@ =head1 VERSION -version 0.012 +version 0.013 =head1 SYNOPSIS @@ -138,7 +139,7 @@ =head2 read_lines($filename, $encoding, $crlf, $skip_chomp) -Reads file C<$filename> into a list/array line-by-line, after decoding from C<$encoding>, optional crlf translation and chomping. +Reads file C<$filename> into a list/array line-by-line, after decoding from C<$encoding>, optional crlf translation and chomping. It will always use newline as separator. =head2 write_text($filename, $content, $encoding, $crlf) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/File-Slurper-0.012/t/20-no-side-effects.t new/File-Slurper-0.013/t/20-no-side-effects.t --- old/File-Slurper-0.012/t/20-no-side-effects.t 2018-02-20 21:53:32.000000000 +0100 +++ new/File-Slurper-0.013/t/20-no-side-effects.t 2021-12-25 10:09:19.000000000 +0100 @@ -15,7 +15,7 @@ my $s = read_text( $inputfile, 'cp1252' ); -my ( $outfh, $outputfile ) = tempfile(); +my $outfh = tempfile(); binmode $outfh, ':encoding(utf8)'; print $outfh "Snowman! \x{2603}\n";