From 2429b6735de2796cd7f201e3b90ffecb550639e15cf25e128b825646da09d701 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Mon, 20 Feb 2023 14:06:43 +0000 Subject: [PATCH] Accepting request 1066773 from devel:languages:perl:autoupdate - updated to 0.18 see /usr/share/doc/packages/perl-Package-DeprecationManager/Changes 0.18 2023-02-19 - Use Sub::Util instead of Sub::Name, which is part of Scalar-List-Utils, which itself is a dependency already. Implemented by Aristotle Pagaltzis. GH #3. OBS-URL: https://build.opensuse.org/request/show/1066773 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Package-DeprecationManager?expand=0&rev=29 --- Package-DeprecationManager-0.17.tar.gz | 3 --- Package-DeprecationManager-0.18.tar.gz | 3 +++ perl-Package-DeprecationManager.changes | 12 +++++++++ perl-Package-DeprecationManager.spec | 36 ++++++++++++------------- 4 files changed, 33 insertions(+), 21 deletions(-) delete mode 100644 Package-DeprecationManager-0.17.tar.gz create mode 100644 Package-DeprecationManager-0.18.tar.gz diff --git a/Package-DeprecationManager-0.17.tar.gz b/Package-DeprecationManager-0.17.tar.gz deleted file mode 100644 index ed84aa8..0000000 --- a/Package-DeprecationManager-0.17.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d743ada482b5c9871d894966e87d4c20edc96931bb949fb2638b000ddd6684b -size 27647 diff --git a/Package-DeprecationManager-0.18.tar.gz b/Package-DeprecationManager-0.18.tar.gz new file mode 100644 index 0000000..d6bfb43 --- /dev/null +++ b/Package-DeprecationManager-0.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b68d3f0ced55b7615fddbb6029b89f92a34fe0dd8c6fd6bceffc157d56834fe8 +size 31812 diff --git a/perl-Package-DeprecationManager.changes b/perl-Package-DeprecationManager.changes index f1c912b..7a5e29f 100644 --- a/perl-Package-DeprecationManager.changes +++ b/perl-Package-DeprecationManager.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Feb 20 03:07:10 UTC 2023 - Tina Müller + +- updated to 0.18 + see /usr/share/doc/packages/perl-Package-DeprecationManager/Changes + + 0.18 2023-02-19 + + - Use Sub::Util instead of Sub::Name, which is part of Scalar-List-Utils, + which itself is a dependency already. Implemented by Aristotle Pagaltzis. GH + #3. + ------------------------------------------------------------------- Thu Jun 23 06:50:18 UTC 2016 - coolo@suse.com diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec index 6de4e53..a5dd7f1 100644 --- a/perl-Package-DeprecationManager.spec +++ b/perl-Package-DeprecationManager.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Package-DeprecationManager # -# Copyright (c) 2016 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 @@ -12,29 +12,27 @@ # 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-Package-DeprecationManager -Version: 0.17 -Release: 0 %define cpan_name Package-DeprecationManager -Summary: Manage deprecation warnings for your distribution +Name: perl-Package-DeprecationManager +Version: 0.18 +Release: 0 License: Artistic-2.0 -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Package-DeprecationManager/ -Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz +Summary: Manage deprecation warnings for your distribution +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::Util) >= 1.33 BuildRequires: perl(Package::Stash) BuildRequires: perl(Params::Util) BuildRequires: perl(Sub::Install) -BuildRequires: perl(Sub::Name) +BuildRequires: perl(Sub::Util) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::Warnings) @@ -42,7 +40,7 @@ Requires: perl(List::Util) >= 1.33 Requires: perl(Package::Stash) Requires: perl(Params::Util) Requires: perl(Sub::Install) -Requires: perl(Sub::Name) +Requires: perl(Sub::Util) %{perl_requires} %description @@ -96,14 +94,16 @@ itself. This means that if you provide several different error messages for the same feature, all of those errors will appear. %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} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -111,7 +111,7 @@ the same feature, all of those errors will appear. %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) -%doc Changes CONTRIBUTING.md LICENSE README.md +%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md +%license LICENSE %changelog