From 60d71e369b1bd245545b85aee1ba9c50f0672be2 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Jul 20 2015 08:49:44 +0000 Subject: Update to 0.015 --- diff --git a/.gitignore b/.gitignore index cb99da1..aeb98a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /MooX-Cmd-0.009.tar.gz /MooX-Cmd-0.011.tar.gz +/MooX-Cmd-0.015.tar.gz diff --git a/.rpmlint b/.rpmlint new file mode 100644 index 0000000..9542d8d --- /dev/null +++ b/.rpmlint @@ -0,0 +1,2 @@ +from Config import * +addFilter("spelling-error .* instantiation"); diff --git a/perl-MooX-Cmd.spec b/perl-MooX-Cmd.spec index 1dd7b2a..944d10a 100644 --- a/perl-MooX-Cmd.spec +++ b/perl-MooX-Cmd.spec @@ -1,48 +1,58 @@ Name: perl-MooX-Cmd -Version: 0.011 -Release: 3%{?dist} +Version: 0.015 +Release: 1%{?dist} Summary: Giving an easy Moo style way to make command organized CLI apps License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooX-Cmd/ -Source0: http://www.cpan.org/modules/by-module/MooX/MooX-Cmd-%{version}.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/MooX-Cmd-%{version}.tar.gz BuildArch: noarch +BuildRequires: make BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Capture::Tiny) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(FindBin) -BuildRequires: perl(IO::TieCombine) -BuildRequires: perl(lib) -BuildRequires: perl(List::Util) +BuildRequires: perl(List::MoreUtils) >= 0.406 BuildRequires: perl(Module::Pluggable::Object) >= 4.8 BuildRequires: perl(Module::Runtime) -BuildRequires: perl(Moo) >= 0.009013 -BuildRequires: perl(Moo::Role) -BuildRequires: perl(MooX::Options) +# 0.009013 from Moo in META which is not used +BuildRequires: perl(Moo::Role) >= 0.009013 BuildRequires: perl(Package::Stash) >= 0.33 BuildRequires: perl(Params::Util) >= 0.37 BuildRequires: perl(parent) BuildRequires: perl(Regexp::Common) >= 2011121001 BuildRequires: perl(Scalar::Util) -BuildRequires: perl(strict) BuildRequires: perl(Test::Builder::Module) BuildRequires: perl(Test::More) >= 0.98 BuildRequires: perl(Text::ParseWords) -BuildRequires: perl(warnings) -Requires: perl(IO::TieCombine) +# Tests: +BuildRequires: perl(FindBin) +BuildRequires: perl(lib) +BuildRequires: perl(Moo) >= 0.009013 +BuildRequires: perl(MooX::Options) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(List::MoreUtils) >= 0.406 Requires: perl(Module::Pluggable::Object) >= 4.8 -Requires: perl(Moo) >= 0.009013 +# 0.009013 from Moo in META which is not used +Requires: perl(Moo::Role) >= 0.009013 Requires: perl(Package::Stash) >= 0.33 Requires: perl(Params::Util) >= 0.37 Requires: perl(Regexp::Common) >= 2011121001 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Test::More) >= 0.98 %{?perl_default_filter} +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(List::MoreUtils\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Module::Pluggable::Object\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moo::Role\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Package::Stash\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Params::Util\\)$ %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Regexp::Common\\)$ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Test::More\\)$ + %description Works together with MooX::Options for every command on its own, so options are parsed for the specific context and used for the instantiation: @@ -51,14 +61,11 @@ are parsed for the specific context and used for the instantiation: %setup -q -n MooX-Cmd-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT - -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; - %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -70,6 +77,10 @@ make test %{_mandir}/man3/* %changelog +* Mon Jul 20 2015 Petr Pisar - 0.015-1 +- Update to 0.015 (thanks to Emmanuel Seyman) +- Clean up spec file + * Thu Jun 18 2015 Fedora Release Engineering - 0.011-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index ca3e0d7..2fd26c8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -bc42831ce83542ed416abfb0d387820a MooX-Cmd-0.011.tar.gz +cef328aaec48414a399a9d2a4380fbc5 MooX-Cmd-0.015.tar.gz