Update to 0.015
This commit is contained in:
parent
6a4985b6ae
commit
60d71e369b
|
@ -1,2 +1,3 @@
|
|||
/MooX-Cmd-0.009.tar.gz
|
||||
/MooX-Cmd-0.011.tar.gz
|
||||
/MooX-Cmd-0.015.tar.gz
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
from Config import *
|
||||
addFilter("spelling-error .* instantiation");
|
|
@ -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 <ppisar@redhat.com> - 0.015-1
|
||||
- Update to 0.015 (thanks to Emmanuel Seyman)
|
||||
- Clean up spec file
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue