perl-Role-Tiny/perl-Role-Tiny.spec

58 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Role-Tiny
#
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
2021-01-12 12:06:07 +00:00
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
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
2021-01-12 12:06:07 +00:00
%define cpan_name Role-Tiny
Name: perl-Role-Tiny
Version: 2.002004
Release: 0
Summary: Roles: a nouvelle cuisine portion size slice of Moose
License: Artistic-1.0 OR GPL-1.0-or-later
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
2021-01-12 12:06:07 +00:00
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
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.88
Recommends: perl(Class::Method::Modifiers) >= 1.05
%{perl_requires}
%description
'Role::Tiny' is a minimalist role composition tool.
%prep
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
2021-01-12 12:06:07 +00:00
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
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
2021-01-12 12:06:07 +00:00
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog