diff --git a/Class-Method-Modifiers-2.11.tar.gz b/Class-Method-Modifiers-2.11.tar.gz deleted file mode 100644 index 132f446..0000000 --- a/Class-Method-Modifiers-2.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:debf979fbd9ac25cc6fe7d1cab81103c60a21f7027d2a9b4bf5cb264e313d392 -size 35364 diff --git a/Class-Method-Modifiers-2.12.tar.gz b/Class-Method-Modifiers-2.12.tar.gz new file mode 100644 index 0000000..98e4b0f --- /dev/null +++ b/Class-Method-Modifiers-2.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e44c1073020bf55b8c97975ed77235fd7e2a6a56f29b5c702301721184e27ac8 +size 38979 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Class-Method-Modifiers.changes b/perl-Class-Method-Modifiers.changes index f8450f1..324aed2 100644 --- a/perl-Class-Method-Modifiers.changes +++ b/perl-Class-Method-Modifiers.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 8 09:56:35 UTC 2016 - coolo@suse.com + +- updated to 2.12 + see /usr/share/doc/packages/perl-Class-Method-Modifiers/Changes + + 2.12 2016-03-04 22:12:15Z + - minor documentation tweaks + ------------------------------------------------------------------- Tue Sep 16 08:07:56 UTC 2014 - coolo@suse.com diff --git a/perl-Class-Method-Modifiers.spec b/perl-Class-Method-Modifiers.spec index 0795b21..b15e2b8 100644 --- a/perl-Class-Method-Modifiers.spec +++ b/perl-Class-Method-Modifiers.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Class-Method-Modifiers # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,19 +17,21 @@ Name: perl-Class-Method-Modifiers -Version: 2.11 +Version: 2.12 Release: 0 %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+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Class-Method-Modifiers/ -Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::Requires) %{perl_requires} @@ -56,23 +58,21 @@ a base class that provides the skeleton methods of each operation, and have plugins modify those methods to flesh out the specifics. Parent classes need not know about 'Class::Method::Modifiers'. This means -you should be able to modify methods in _any_ subclass. See the -Term::VT102::ZeroBased manpage for an example of subclassing with -'ClasS::Method::Modifiers'. +you should be able to modify methods in _any_ subclass. See +Term::VT102::ZeroBased for an example of subclassing with +'Class::Method::Modifiers'. 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 -the Moose manpage. See 'benchmark/method_modifiers.pl' in the the Moose -manpage distribution. +Moose. See 'benchmark/method_modifiers.pl' in the Moose distribution. 'Class::Method::Modifiers' also provides an additional "modifier" type, 'fresh'; see below. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor