Accepting request 862617 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/862617 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Role-Tiny?expand=0&rev=18
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:92ba5712850a74102c93c942eb6e7f62f7a4f8f483734ed289d08b324c281687
|
||||
size 31569
|
||||
3
Role-Tiny-2.002003.tar.gz
Normal file
3
Role-Tiny-2.002003.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6981e5f2d0beded157840199d678da462b22a9a3753333cab322ab6efb0fbb89
|
||||
size 35945
|
||||
@@ -1,3 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 12 03:09:13 UTC 2021 - Tina Müller <timueller+perl@suse.de>
|
||||
|
||||
- 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 - <timueller+perl@suse.de>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user