From 80ad39e357dc35352a6e2ca12d0556a5cc488d0af36f41ae8e521230945cdca0 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 22 Oct 2020 08:28:34 +0000 Subject: [PATCH] Accepting request 843342 from devel:languages:perl:autoupdate - updated to 1.100 see /usr/share/doc/packages/perl-Params-Util/Changes OBS-URL: https://build.opensuse.org/request/show/843342 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Params-Util?expand=0&rev=23 --- Params-Util-1.07.tar.gz | 3 --- Params-Util-1.100.tar.gz | 3 +++ cpanspec.yml | 28 ++++++++++++++++++++++++++++ perl-Params-Util.changes | 6 ++++++ perl-Params-Util.spec | 33 +++++++++++++++++++-------------- 5 files changed, 56 insertions(+), 17 deletions(-) delete mode 100644 Params-Util-1.07.tar.gz create mode 100644 Params-Util-1.100.tar.gz create mode 100644 cpanspec.yml diff --git a/Params-Util-1.07.tar.gz b/Params-Util-1.07.tar.gz deleted file mode 100644 index dc812dd..0000000 --- a/Params-Util-1.07.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30f1ec3f2cf9ff66ae96f973333f23c5f558915bb6266881eac7423f52d7c76c -size 40726 diff --git a/Params-Util-1.100.tar.gz b/Params-Util-1.100.tar.gz new file mode 100644 index 0000000..fbaaad2 --- /dev/null +++ b/Params-Util-1.100.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c38d7f6330e9e5a4adf8bb04b5a0fe5554e60a8e07f9fc1a46339247072fe2c +size 186757 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Params-Util.changes b/perl-Params-Util.changes index a35dea6..282109b 100644 --- a/perl-Params-Util.changes +++ b/perl-Params-Util.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 22 03:20:38 UTC 2020 - Tina Müller + +- updated to 1.100 + see /usr/share/doc/packages/perl-Params-Util/Changes + ------------------------------------------------------------------- Fri Mar 16 09:27:34 UTC 2012 - lars@linux-schulserver.de diff --git a/perl-Params-Util.spec b/perl-Params-Util.spec index f55b09b..af39dbb 100644 --- a/perl-Params-Util.spec +++ b/perl-Params-Util.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Params-Util # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,29 @@ # 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-Params-Util -Version: 1.07 +Version: 1.100 Release: 0 -%define cpan_name Params-Util +%define cpan_name Params-Util Summary: Simple, compact and correct param-checking functions -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Params-Util/ -Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(ExtUtils::CBuilder) >= 0.27 -#BuildRequires: perl(A) -#BuildRequires: perl(Params::Util) +BuildRequires: perl(IPC::Cmd) +BuildRequires: perl(Test::LeakTrace) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(XSLoader) >= 0.22 +BuildRequires: perl(parent) +Requires: perl(XSLoader) >= 0.22 %{perl_requires} %description @@ -63,13 +67,14 @@ additions to 'Params::Util' may clash) %prep %setup -q -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 OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -78,6 +83,6 @@ additions to 'Params::Util' may clash) %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes LICENSE MYMETA.json README +%doc Changes README.md %changelog