8
0

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:
2019-08-10 14:49:11 +00:00
committed by Git OBS Bridge
parent 359d4d309a
commit 2de7a88b64
4 changed files with 27 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
#
# 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
# 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)
# 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
Version: 2.12
Version: 2.13
Release: 0
%define cpan_name Class-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
Url: http://search.cpan.org/dist/Class-Method-Modifiers/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -32,7 +32,7 @@ BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Test::Needs)
%{perl_requires}
%description
@@ -48,7 +48,7 @@ bad!
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
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.
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.
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,
'fresh'; see below.
@@ -75,11 +75,11 @@ Moose. See 'benchmark/method_modifiers.pl' in the Moose distribution.
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
@@ -88,6 +88,7 @@ Moose. See 'benchmark/method_modifiers.pl' in the Moose distribution.
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING LICENSE README
%doc Changes CONTRIBUTING README
%license LICENSE
%changelog