|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: perl-MooseX-Types
|
|
|
|
|
Version: 0.31
|
|
|
|
|
Version: 0.35
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# see Makefile.PL, lib/MooseX/Types.pm
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
@ -33,7 +33,7 @@ BuildRequires: perl(Sub::Name)
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The types provided with the Moose manpage are by design global. This
|
|
|
|
|
The types provided with the Moose man page are by design global. This
|
|
|
|
|
package helps you to organize and selectively import your own and the
|
|
|
|
|
built-in types in libraries. As a nice side effect, it catches typos at
|
|
|
|
|
compile-time too.
|
|
|
|
@ -48,6 +48,9 @@ easier to use Moose types in your code.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n MooseX-Types-%{version}
|
|
|
|
|
|
|
|
|
|
# silence rpmlint
|
|
|
|
|
sed -i '1s,^#!.*perl,#!%{__perl},' t/*.t
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
@ -55,7 +58,6 @@ make %{?_smp_mflags}
|
|
|
|
|
%install
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
@ -68,6 +70,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jun 09 2012 Iain Arnell <iarnell@gmail.com> 0.35-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
|
|
* Thu Jan 12 2012 Iain Arnell <iarnell@gmail.com> 0.31-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
|
|