From 2ad967219636ce373ab3cf50dd19e5fab74d2e6c4dc05f9c46f1a264181eaecb Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sat, 1 Jan 2022 17:39:56 +0000 Subject: [PATCH] Accepting request 943101 from devel:languages:perl:autoupdate - 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 OBS-URL: https://build.opensuse.org/request/show/943101 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Slurper?expand=0&rev=11 --- File-Slurper-0.012.tar.gz | 3 --- File-Slurper-0.013.tar.gz | 3 +++ perl-File-Slurper.changes | 9 +++++++++ perl-File-Slurper.spec | 27 ++++++++++++--------------- 4 files changed, 24 insertions(+), 18 deletions(-) delete mode 100644 File-Slurper-0.012.tar.gz create mode 100644 File-Slurper-0.013.tar.gz diff --git a/File-Slurper-0.012.tar.gz b/File-Slurper-0.012.tar.gz deleted file mode 100644 index 2d16467..0000000 --- a/File-Slurper-0.012.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4efb2ea416b110a1bda6f8133549cc6ea3676402e3caf7529fce0313250aa578 -size 15517 diff --git a/File-Slurper-0.013.tar.gz b/File-Slurper-0.013.tar.gz new file mode 100644 index 0000000..72323b8 --- /dev/null +++ b/File-Slurper-0.013.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2f6a4029a6a242d50054044f1fb86770b9b5cc4daeb1a967f91ffb42716a8c5 +size 16095 diff --git a/perl-File-Slurper.changes b/perl-File-Slurper.changes index 6cba50b..0b0e4ee 100644 --- a/perl-File-Slurper.changes +++ b/perl-File-Slurper.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Dec 26 03:07:43 UTC 2021 - Tina Müller + +- 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 + ------------------------------------------------------------------- Wed Feb 21 06:21:07 UTC 2018 - coolo@suse.com diff --git a/perl-File-Slurper.spec b/perl-File-Slurper.spec index 8e2c4de..d7f9a4b 100644 --- a/perl-File-Slurper.spec +++ b/perl-File-Slurper.spec @@ -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/ # -Name: perl-File-Slurper -Version: 0.012 -Release: 0 %define cpan_name File-Slurper -Summary: Simple, Sane and Efficient Module to Slurp a File +Name: perl-File-Slurper +Version: 0.013 +Release: 0 +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 @@ All functions are optionally exported. All functions throw exceptions on 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 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %license LICENSE