From ef046a4edcc5927d60738f72ef61f3f13077b5f1a8d744d9715374d524ae991c Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 17 Jan 2023 15:40:55 +0000 Subject: [PATCH] Accepting request 1059011 from devel:languages:perl:autoupdate - updated to 0.59 see /usr/share/doc/packages/perl-List-SomeUtils/Changes 0.59 2022-12-10 * Require Module::Implementation 0.04. Without this tests fail. Reported by Eric Brine. GH #11. OBS-URL: https://build.opensuse.org/request/show/1059011 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-List-SomeUtils?expand=0&rev=11 --- List-SomeUtils-0.58.tar.gz | 3 --- List-SomeUtils-0.59.tar.gz | 3 +++ cpanspec.yml | 7 +++++++ perl-List-SomeUtils.changes | 11 +++++++++++ perl-List-SomeUtils.spec | 24 +++++++++++------------- 5 files changed, 32 insertions(+), 16 deletions(-) delete mode 100644 List-SomeUtils-0.58.tar.gz create mode 100644 List-SomeUtils-0.59.tar.gz diff --git a/List-SomeUtils-0.58.tar.gz b/List-SomeUtils-0.58.tar.gz deleted file mode 100644 index 52118cc..0000000 --- a/List-SomeUtils-0.58.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:96eafb359339d22bf2a2de421298847a3c40f6a28b6d44005d0965da86a5469d -size 67003 diff --git a/List-SomeUtils-0.59.tar.gz b/List-SomeUtils-0.59.tar.gz new file mode 100644 index 0000000..b29efac --- /dev/null +++ b/List-SomeUtils-0.59.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fab30372e4c67bf5a46062da38d1d0c8756279feada866eb439fa29571a2dc7b +size 69166 diff --git a/cpanspec.yml b/cpanspec.yml index 76ad4a4..8ba8a42 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -10,6 +10,7 @@ #patches: # foo.patch: -p1 # bar.patch: +# baz.patch: PATCH-FIX-OPENSUSE #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- @@ -26,3 +27,9 @@ #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module +skip_doc: .*\.yml .*\.toml +#add_doc: files to add to docs +#misc: |- +#anything else to be added to spec file +#follows directly after %files section, so it can contain new blocks or also +#changes to %files section diff --git a/perl-List-SomeUtils.changes b/perl-List-SomeUtils.changes index bcb4ab4..0eac0fa 100644 --- a/perl-List-SomeUtils.changes +++ b/perl-List-SomeUtils.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Jan 17 15:37:49 UTC 2023 - Dirk Stoecker + +- updated to 0.59 + see /usr/share/doc/packages/perl-List-SomeUtils/Changes + + 0.59 2022-12-10 + + * Require Module::Implementation 0.04. Without this tests fail. Reported by + Eric Brine. GH #11. + ------------------------------------------------------------------- Mon Oct 28 10:52:52 UTC 2019 - diff --git a/perl-List-SomeUtils.spec b/perl-List-SomeUtils.spec index f9d44e9..ef354a1 100644 --- a/perl-List-SomeUtils.spec +++ b/perl-List-SomeUtils.spec @@ -1,7 +1,7 @@ # # spec file for package perl-List-SomeUtils # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,26 +16,24 @@ # -Name: perl-List-SomeUtils -Version: 0.58 -Release: 0 %define cpan_name List-SomeUtils -Summary: Provide the stuff missing in List::Util +Name: perl-List-SomeUtils +Version: 0.59 +Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +Summary: Provide the stuff missing in List::Util +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(List::SomeUtils::XS) >= 0.54 -BuildRequires: perl(Module::Implementation) +BuildRequires: perl(Module::Implementation) >= 0.04 BuildRequires: perl(Test::LeakTrace) BuildRequires: perl(Test::More) >= 0.96 Requires: perl(List::SomeUtils::XS) >= 0.54 -Requires: perl(Module::Implementation) +Requires: perl(Module::Implementation) >= 0.04 %{perl_requires} %description @@ -49,11 +47,12 @@ pure-Perl implementation of these functions only serves as a fallback in case the C portions of this module couldn't be compiled on this machine. %prep -%setup -q -n %{cpan_name}-%{version} +%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} +%make_build %check make test @@ -64,7 +63,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md %license LICENSE