Accepting request 943416 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/943416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Slurper?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2022-01-03 09:48:54 +00:00 committed by Git OBS Bridge
commit 227849cad4
4 changed files with 24 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4efb2ea416b110a1bda6f8133549cc6ea3676402e3caf7529fce0313250aa578
size 15517

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2f6a4029a6a242d50054044f1fb86770b9b5cc4daeb1a967f91ffb42716a8c5
size 16095

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Dec 26 03:07:43 UTC 2021 - Tina Müller <timueller+perl@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
-------------------------------------------------------------------
Wed Feb 21 06:21:07 UTC 2018 - coolo@suse.com

View File

@ -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