|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
Name: perl-MooseX-Getopt
|
|
|
|
|
Summary: Moose role for processing command line options
|
|
|
|
|
Version: 0.40
|
|
|
|
|
Version: 0.45
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Getopt-%{version}.tar.gz
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Getopt-%{version}.tar.gz
|
|
|
|
|
URL: http://search.cpan.org/dist/MooseX-Getopt/
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -18,12 +18,14 @@ BuildRequires: perl(MooseX::Role::Parameterized)
|
|
|
|
|
%if !0%{?perl_bootstrap}
|
|
|
|
|
BuildRequires: perl(MooseX::SimpleConfig) >= 0.07
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: perl(Path::Class)
|
|
|
|
|
BuildRequires: perl(Test::Deep)
|
|
|
|
|
BuildRequires: perl(Test::Fatal) >= 0.003
|
|
|
|
|
BuildRequires: perl(Test::Moose)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Requires) >= 0.05
|
|
|
|
|
BuildRequires: perl(Test::Trap)
|
|
|
|
|
BuildRequires: perl(Test::Warn) >= 0.21
|
|
|
|
|
|
|
|
|
|
# obsolete/provide old tests subpackage
|
|
|
|
@ -51,7 +53,6 @@ make %{?_smp_mflags}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
@ -59,11 +60,14 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc ChangeLog README t/
|
|
|
|
|
%doc Changes LICENSE README t/
|
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 18 2012 Iain Arnell <iarnell@gmail.com> 0.45-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
|
|
* Fri Apr 20 2012 Iain Arnell <iarnell@gmail.com> 0.40-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
|
|