forked from pool/perl-Class-Method-Modifiers
Accepting request 722121 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/722121 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Method-Modifiers?expand=0&rev=27
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e44c1073020bf55b8c97975ed77235fd7e2a6a56f29b5c702301721184e27ac8
|
|
||||||
size 38979
|
|
3
Class-Method-Modifiers-2.13.tar.gz
Normal file
3
Class-Method-Modifiers-2.13.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ab5807f71018a842de6b7a4826d6c1f24b8d5b09fcce5005a3309cf6ea40fd63
|
||||||
|
size 41385
|
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 10 05:04:47 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||||
|
|
||||||
|
- updated to 2.13
|
||||||
|
see /usr/share/doc/packages/perl-Class-Method-Modifiers/Changes
|
||||||
|
|
||||||
|
2.13 2019-08-10 00:18:50Z
|
||||||
|
- bypass prototypes when testing for lvalue attribute
|
||||||
|
- fixed a class name in tests to avoid conflicting with a core module
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 8 09:56:35 UTC 2016 - coolo@suse.com
|
Tue Mar 8 09:56:35 UTC 2016 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Class-Method-Modifiers
|
# spec file for package perl-Class-Method-Modifiers
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -12,19 +12,19 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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-Class-Method-Modifiers
|
Name: perl-Class-Method-Modifiers
|
||||||
Version: 2.12
|
Version: 2.13
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name Class-Method-Modifiers
|
%define cpan_name Class-Method-Modifiers
|
||||||
Summary: Provides Moose-like method modifiers
|
Summary: Provides Moose-like method modifiers
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/Class-Method-Modifiers/
|
Url: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@@ -32,7 +32,7 @@ BuildRequires: perl
|
|||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Test::Fatal)
|
BuildRequires: perl(Test::Fatal)
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
BuildRequires: perl(Test::Requires)
|
BuildRequires: perl(Test::Needs)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -48,7 +48,7 @@ bad!
|
|||||||
and 'after'. 'before' and 'after' are run just before and after the method
|
and 'after'. 'before' and 'after' are run just before and after the method
|
||||||
they modify, but can not really affect that original method. 'around' is
|
they modify, but can not really affect that original method. 'around' is
|
||||||
run in place of the original method, with a hook to easily call that
|
run in place of the original method, with a hook to easily call that
|
||||||
original method. See the 'MODIFIERS' section for more details on how the
|
original method. See the MODIFIERS section for more details on how the
|
||||||
particular modifiers work.
|
particular modifiers work.
|
||||||
|
|
||||||
One clear benefit of using 'Class::Method::Modifiers' is that you can
|
One clear benefit of using 'Class::Method::Modifiers' is that you can
|
||||||
@@ -66,7 +66,7 @@ In short, 'Class::Method::Modifiers' solves the problem of making sure you
|
|||||||
call '$self->SUPER::foo(@_)', and provides a cleaner interface for it.
|
call '$self->SUPER::foo(@_)', and provides a cleaner interface for it.
|
||||||
|
|
||||||
As of version 1.00, 'Class::Method::Modifiers' is faster in some cases than
|
As of version 1.00, 'Class::Method::Modifiers' is faster in some cases than
|
||||||
Moose. See 'benchmark/method_modifiers.pl' in the Moose distribution.
|
Moose. See _benchmark/method_modifiers.pl_ in the Moose distribution.
|
||||||
|
|
||||||
'Class::Method::Modifiers' also provides an additional "modifier" type,
|
'Class::Method::Modifiers' also provides an additional "modifier" type,
|
||||||
'fresh'; see below.
|
'fresh'; see below.
|
||||||
@@ -75,11 +75,11 @@ Moose. See 'benchmark/method_modifiers.pl' in the Moose distribution.
|
|||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
@@ -88,6 +88,7 @@ Moose. See 'benchmark/method_modifiers.pl' in the Moose distribution.
|
|||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes CONTRIBUTING LICENSE README
|
%doc Changes CONTRIBUTING README
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user