From d4d42929adc52ae22a99d144ed149c2e932c5b894c1f6cff61241580d391e9ab Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Tue, 12 Jan 2021 12:06:07 +0000 Subject: [PATCH] Accepting request 862586 from devel:languages:perl:autoupdate - updated to 2.002003 see /usr/share/doc/packages/perl-Role-Tiny/Changes 2.002003 - 2021-01-11 - set dynamic_config to 0 and x_static_install to 1 - fixed filenames in dependents author test to not use colons - removed MRO::Compat from prereqs as it is no longer used - marked Class::Method::Modifiers as a hard developer dependency rather than a recommended developer dependency - rewrote test for namespace cleaning to not require namespace::clean, and moved it from an author test to a normal test - removed namespace::autoclean from developer prereqs 2.002_002 - 2021-01-03 - refactored some internals for subclasses to use - methods_provided_by will ensure the module is loaded before checking for methods 2.002_001 - 2020-12-27 - fix tests when Class::Method::Modifiers is not installed 2.002_000 - 2020-12-23 - Refactored create_class_with_roles to not use "composable packages". This was an optimization for when a role is used in many different uses of create_class_with_roles, but required an entirely separate implementation, which did not have fully compatible behavior. It would also result in methods using modifiers being slower. - Add documentation for what methods will be composed from a role (RT#133363) - Fix backwards compatibility with older versions of Moo when interacting with Moose. - Treat modifiers as required methods during create_class_with_roles. - Fixed methods being no longer composed after they participated in an allowed conflict. - Dropped use of MRO::Compat. - Test cleanups for checking requires during create_class_with_roles. - Additional tests to confirm internal role application steps can be fully qualified. - Fix Pod links to Class::Method::Modifiers - Tweaks to author tests - Additional tests for working with older Moo versions - Additional tests for module loading - Allow method modifiers to be specified with an array reference of method names, rather than a list. This now matches how the corresponding Class::Method::Modifiers subs can be called. OBS-URL: https://build.opensuse.org/request/show/862586 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Role-Tiny?expand=0&rev=33 --- Role-Tiny-2.001004.tar.gz | 3 --- Role-Tiny-2.002003.tar.gz | 3 +++ perl-Role-Tiny.changes | 46 +++++++++++++++++++++++++++++++++++++++ perl-Role-Tiny.spec | 17 ++++++--------- 4 files changed, 56 insertions(+), 13 deletions(-) delete mode 100644 Role-Tiny-2.001004.tar.gz create mode 100644 Role-Tiny-2.002003.tar.gz diff --git a/Role-Tiny-2.001004.tar.gz b/Role-Tiny-2.001004.tar.gz deleted file mode 100644 index efb3bd8..0000000 --- a/Role-Tiny-2.001004.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:92ba5712850a74102c93c942eb6e7f62f7a4f8f483734ed289d08b324c281687 -size 31569 diff --git a/Role-Tiny-2.002003.tar.gz b/Role-Tiny-2.002003.tar.gz new file mode 100644 index 0000000..fddf3a3 --- /dev/null +++ b/Role-Tiny-2.002003.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6981e5f2d0beded157840199d678da462b22a9a3753333cab322ab6efb0fbb89 +size 35945 diff --git a/perl-Role-Tiny.changes b/perl-Role-Tiny.changes index 628e8f0..cf2eae4 100644 --- a/perl-Role-Tiny.changes +++ b/perl-Role-Tiny.changes @@ -1,3 +1,49 @@ +------------------------------------------------------------------- +Tue Jan 12 03:09:13 UTC 2021 - Tina Müller + +- updated to 2.002003 + see /usr/share/doc/packages/perl-Role-Tiny/Changes + + 2.002003 - 2021-01-11 + - set dynamic_config to 0 and x_static_install to 1 + - fixed filenames in dependents author test to not use colons + - removed MRO::Compat from prereqs as it is no longer used + - marked Class::Method::Modifiers as a hard developer dependency rather than + a recommended developer dependency + - rewrote test for namespace cleaning to not require namespace::clean, and + moved it from an author test to a normal test + - removed namespace::autoclean from developer prereqs + 2.002_002 - 2021-01-03 + - refactored some internals for subclasses to use + - methods_provided_by will ensure the module is loaded before checking for + methods + 2.002_001 - 2020-12-27 + - fix tests when Class::Method::Modifiers is not installed + 2.002_000 - 2020-12-23 + - Refactored create_class_with_roles to not use "composable packages". This + was an optimization for when a role is used in many different uses of + create_class_with_roles, but required an entirely separate implementation, + which did not have fully compatible behavior. It would also result in + methods using modifiers being slower. + - Add documentation for what methods will be composed from a role + (RT#133363) + - Fix backwards compatibility with older versions of Moo when interacting + with Moose. + - Treat modifiers as required methods during create_class_with_roles. + - Fixed methods being no longer composed after they participated in an + allowed conflict. + - Dropped use of MRO::Compat. + - Test cleanups for checking requires during create_class_with_roles. + - Additional tests to confirm internal role application steps can be fully + qualified. + - Fix Pod links to Class::Method::Modifiers + - Tweaks to author tests + - Additional tests for working with older Moo versions + - Additional tests for module loading + - Allow method modifiers to be specified with an array reference of method + names, rather than a list. This now matches how the corresponding + Class::Method::Modifiers subs can be called. + ------------------------------------------------------------------- Mon Oct 28 11:01:38 UTC 2019 - diff --git a/perl-Role-Tiny.spec b/perl-Role-Tiny.spec index f6fd8a5..4cd8777 100644 --- a/perl-Role-Tiny.spec +++ b/perl-Role-Tiny.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Role-Tiny # -# Copyright (c) 2019 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 @@ -16,18 +16,16 @@ # -Name: perl-Role-Tiny -Version: 2.001004 -Release: 0 %define cpan_name Role-Tiny +Name: perl-Role-Tiny +Version: 2.002003 +Release: 0 Summary: Roles: a nouvelle cuisine portion size slice of Moose License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: https://metacpan.org/release/%{cpan_name} +URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) >= 0.88 @@ -38,11 +36,11 @@ Recommends: perl(Class::Method::Modifiers) >= 1.05 'Role::Tiny' is a minimalist role composition tool. %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +%make_build %check make test @@ -53,7 +51,6 @@ make test %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes README %license LICENSE