Name: perl-MooX-TypeTiny Version: 0.001003 Release: 1%{?dist} Summary: Optimized type checks for Moo + Type::Tiny License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooX-TypeTiny/ Source0: http://www.cpan.org/authors/id/H/HA/HAARG/MooX-TypeTiny-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Moo) >= 1.004003 BuildRequires: perl(Test::Fatal) >= 0.003 BuildRequires: perl(Test::More) >= 0.94 BuildRequires: perl(Type::Tiny) >= 1.000002 Requires: perl(Moo) >= 1.004003 Requires: perl(Type::Tiny) >= 1.000002 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module optimizes Moo type checks when used with Type::Tiny to perform better. It will automatically apply to isa checks and coercions that use Type::Tiny. Non-Type::Tiny isa checks will work as normal. %prep %setup -q -n MooX-TypeTiny-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Jan 31 2018 Dave Cross 0.001003-1 - Specfile autogenerated by cpanspec 1.78.