|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-MooseX-Types
|
|
|
|
|
Version: 0.21
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
# see Makefile.PL, lib/MooseX/Types.pm
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -38,6 +38,8 @@ Requires: perl(Sub::Install) >= 0.924
|
|
|
|
|
Requires: perl(Sub::Name)
|
|
|
|
|
Requires: perl(namespace::clean) >= 0.08
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
@ -54,23 +56,6 @@ easier to use Moose types in your code.
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n MooseX-Types-%{version}
|
|
|
|
|
|
|
|
|
|
# make sure doc/tests don't generate provides
|
|
|
|
|
cat << \EOF > %{name}-prov
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
%{__perl_provides} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
%define __perl_provides %{_builddir}/MooseX-Types-%{version}/%{name}-prov
|
|
|
|
|
chmod +x %{__perl_provides}
|
|
|
|
|
|
|
|
|
|
cat << \EOF > %{name}-req
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
%{__perl_requires} `perl -p -e 's|\S+%{_docdir}/%{name}-%{version}\S+||'`
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
%define __perl_requires %{_builddir}/MooseX-Types-%{version}/%{name}-req
|
|
|
|
|
chmod +x %{__perl_requires}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
@ -97,6 +82,10 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 05 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.21-2
|
|
|
|
|
- add perl_default_filter (and drop custom filtering scheme)
|
|
|
|
|
- PERL_INSTALL_ROOT => DESTDIR in install
|
|
|
|
|
|
|
|
|
|
* Wed Jan 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.21-1
|
|
|
|
|
- auto-update to 0.21 (by cpan-spec-update 0.01)
|
|
|
|
|
- altered br on perl(Moose) (0.61 => 0.93)
|
|
|
|
|