8
0
Stephan Kulow
2013-10-04 15:14:23 +00:00
committed by Git OBS Bridge
parent 36085b6e24
commit 72b942741c
4 changed files with 31 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8438dc8f91712cb30f3c2bfffd78038290269339fe69ad6c102d5b694cff52a
size 42886

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43dfefe6792aac521540b020e6cd6ecdf0dc3f8bdb619ed2d9329370d6843663
size 29973

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Oct 4 09:15:23 UTC 2013 - coolo@suse.com
- updated to 2.07
- removed dependency on Test::Warnings in tests (now reserved for
author testing)
- now packaged with a Build.PL (for Module::Build::Tiny), and a
Makefile.PL (for legacy 5.6 and 5.8 users; prints a warning on
invocation)
- packaging the dist again with EUMM rather than MBT
- Support for handling lvalue methods (Graham Knop)
- convert to building with Dist::Zilla
-------------------------------------------------------------------
Mon Jun 3 15:36:16 UTC 2013 - coolo@suse.com

View File

@@ -17,10 +17,10 @@
Name: perl-Class-Method-Modifiers
Version: 2.04
Version: 2.07
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/
@@ -29,20 +29,15 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build::Tiny) >= 0.027
BuildRequires: perl(Test::CheckDeps) >= 0.007
BuildRequires: perl(Test::Fatal)
#BuildRequires: perl(App::pod2pdf)
BuildRequires: perl(Test::More) >= 0.94
#BuildRequires: perl(Class::Method::Modifiers)
#BuildRequires: perl(inc::Module::Install)
#BuildRequires: perl(JSON)
#BuildRequires: perl(LWP::Simple)
#BuildRequires: perl(Module::Build)
#BuildRequires: perl(Module::Install::AuthorRequires)
#BuildRequires: perl(Module::Install::AutoLicense)
#BuildRequires: perl(Module::Install::Base)
#BuildRequires: perl(Module::Install::GithubMeta)
#BuildRequires: perl(Module::Install::ReadmeFromPod)
#BuildRequires: perl(Parse::CPAN::Meta)
#BuildRequires: perl(YAML::Tiny)
#BuildRequires: perl(Pod::Wordlist)
#BuildRequires: perl(Test::Kwalitee)
#BuildRequires: perl(Test::NoTabs)
#BuildRequires: perl(Test::Spelling) >= 0.12
%{perl_requires}
%description
@@ -69,7 +64,8 @@ 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 CMM.
Term::VT102::ZeroBased manpage 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.
@@ -86,15 +82,14 @@ manpage distribution.
find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%{__perl} Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
%{__make} test
./Build test
%install
%perl_make_install
%perl_process_packlist
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files