From 72b942741c7ba9b09a8083d93efe53acd64fb64952a06bd1e4c6a96e5fb8eecf Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 4 Oct 2013 15:14:23 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Method-Modifiers?expand=0&rev=15 --- Class-Method-Modifiers-2.04.tar.gz | 3 --- Class-Method-Modifiers-2.07.tar.gz | 3 +++ perl-Class-Method-Modifiers.changes | 13 +++++++++++ perl-Class-Method-Modifiers.spec | 35 +++++++++++++---------------- 4 files changed, 31 insertions(+), 23 deletions(-) delete mode 100644 Class-Method-Modifiers-2.04.tar.gz create mode 100644 Class-Method-Modifiers-2.07.tar.gz diff --git a/Class-Method-Modifiers-2.04.tar.gz b/Class-Method-Modifiers-2.04.tar.gz deleted file mode 100644 index d472f4e..0000000 --- a/Class-Method-Modifiers-2.04.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d8438dc8f91712cb30f3c2bfffd78038290269339fe69ad6c102d5b694cff52a -size 42886 diff --git a/Class-Method-Modifiers-2.07.tar.gz b/Class-Method-Modifiers-2.07.tar.gz new file mode 100644 index 0000000..fefefd6 --- /dev/null +++ b/Class-Method-Modifiers-2.07.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43dfefe6792aac521540b020e6cd6ecdf0dc3f8bdb619ed2d9329370d6843663 +size 29973 diff --git a/perl-Class-Method-Modifiers.changes b/perl-Class-Method-Modifiers.changes index d03a4ee..057eef5 100644 --- a/perl-Class-Method-Modifiers.changes +++ b/perl-Class-Method-Modifiers.changes @@ -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 diff --git a/perl-Class-Method-Modifiers.spec b/perl-Class-Method-Modifiers.spec index 4910f70..bb3bcd1 100644 --- a/perl-Class-Method-Modifiers.spec +++ b/perl-Class-Method-Modifiers.spec @@ -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