|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
Name: perl-MooseX-Types
|
|
|
|
|
Version: 0.22
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 0.25
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# see Makefile.PL, lib/MooseX/Types.pm
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Summary: Organise your Moose types in libraries
|
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/MooseX-Types-%{version}.tar.gz
|
|
|
|
|
Summary: Organize your Moose types in libraries
|
|
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/MooseX-Types-%{version}.tar.gz
|
|
|
|
|
Url: http://search.cpan.org/dist/MooseX-Types
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
@ -19,8 +18,9 @@ BuildRequires: perl(Moose) >= 1.06
|
|
|
|
|
BuildRequires: perl(namespace::clean) >= 0.08
|
|
|
|
|
BuildRequires: perl(Sub::Install) >= 0.924
|
|
|
|
|
# tests
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.80
|
|
|
|
|
BuildRequires: perl(Test::Exception)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
|
BuildRequires: perl(Test::Requires)
|
|
|
|
|
BuildRequires: perl(Sub::Exporter)
|
|
|
|
|
# for M::I
|
|
|
|
|
BuildRequires: perl(CPAN)
|
|
|
|
@ -42,7 +42,7 @@ Requires: perl(namespace::clean) >= 0.08
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The types provided with the Moose manpage are by design global. This
|
|
|
|
|
package helps you to organise and selectively import your own and the
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
@ -61,8 +61,6 @@ easier to use Moose types in your code.
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
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 ';'
|
|
|
|
@ -72,9 +70,6 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Changes README t/
|
|
|
|
@ -82,6 +77,10 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Mar 06 2011 Iain Arnell <iarnell@gmail.com> 0.25-1
|
|
|
|
|
- update to latest upstream version
|
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|