@ -1,34 +1,47 @@
Name: perl-MooseX-Types
Version: 0.35
Release: 7%{?dist}
# see Makefile.PL, lib/MooseX/Types.pm
License: GPL+ or Artistic
Group: Development/Libraries
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
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Carp)
BuildRequires: perl(Carp::Clan) >= 6.00
BuildRequires: perl(FindBin)
BuildRequires: perl(Moose) >= 1.06
BuildRequires: perl(namespace::clean) >= 0.19
BuildRequires: perl(Sub::Install) >= 0.924
# tests
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Sub::Exporter)
# for M::I
BuildRequires: perl(CPAN)
BuildRequires: perl(Test::Moose)
Name: perl-MooseX-Types
Version: 0.44
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Summary: Organize your Moose types in libraries
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Types-%{version}.tar.gz
Url: http://search.cpan.org/dist/MooseX-Types
BuildArch: noarch
# Module Build
BuildRequires: perl
BuildRequires: perl(Module::Build::Tiny) >= 0.035
# Module Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Carp::Clan) >= 6.00
BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Moose) >= 1.06
BuildRequires: perl(Moose::Exporter)
BuildRequires: perl(Moose::Meta::TypeConstraint::Union)
BuildRequires: perl(Moose::Util::TypeConstraints)
BuildRequires: perl(namespace::autoclean) >= 0.08
BuildRequires: perl(namespace::clean)
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util) >= 1.19
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Sub::Name)
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(if)
BuildRequires: perl(lib)
BuildRequires: perl(List::Util)
BuildRequires: perl(Moose::Role)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Test::Moose)
BuildRequires: perl(version)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%{?perl_default_filter}
@ -52,24 +65,39 @@ easier to use Moose types in your code.
sed -i '1s,^#!.*perl,#!%{__perl},' t/*.t
%build
%{__perl} Makefile.PL INSTALLDIRS =vendor
make %{?_smp_mflags}
perl Build.PL --installdirs =vendor
./Build
%install
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
%{_fixperms} %{buildroot}/*
./Build install --destdir=%{buildroot} --create_packlist=0
%check
make test
./Build test
%files
%doc Changes README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%license LICENSE
%doc Changes CONTRIBUTING README README.md t/
%{perl_vendorlib}/MooseX/
%{_mandir}/man3/MooseX::Types.3*
%{_mandir}/man3/MooseX::Types::Base.3*
%{_mandir}/man3/MooseX::Types::CheckedUtilExports.3*
%{_mandir}/man3/MooseX::Types::Combine.3*
%{_mandir}/man3/MooseX::Types::Moose.3*
%{_mandir}/man3/MooseX::Types::TypeDecorator.3*
%{_mandir}/man3/MooseX::Types::UndefinedType.3*
%{_mandir}/man3/MooseX::Types::Util.3*
%{_mandir}/man3/MooseX::Types::Wrapper.3*
%changelog
* Fri Aug 1 2014 Paul Howarth <paul@city-fan.org> - 0.44-1
- Update to 0.44
- Namespace improvements
- Avoid use of deprecated Moose functionality
- Switch to Module::Build::Tiny flow
- Use %%license
- Classify buildreqs by usage
- Make %%files list more explicit
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.35-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild