diff --git a/perl-MooseX-Role-WithOverloading.spec b/perl-MooseX-Role-WithOverloading.spec index c0285a3..9c9e9d5 100644 --- a/perl-MooseX-Role-WithOverloading.spec +++ b/perl-MooseX-Role-WithOverloading.spec @@ -1,6 +1,6 @@ Name: perl-MooseX-Role-WithOverloading Version: 0.13 -Release: 2%{?dist} +Release: 3%{?dist} # lib/MooseX/Role/WithOverloading.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries @@ -19,6 +19,7 @@ BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(namespace::clean) BuildRequires: perl(overload) +BuildRequires: perl(Test::CheckDeps) >= 0.002 BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Test::NoWarnings) >= 1.04 BuildRequires: perl(XSLoader) @@ -31,13 +32,9 @@ that defines overloaded operators and allows those operator overloadings to be composed into the classes/roles/instances it's compiled to, while plain roles would lose the overloading. - %prep %setup -q -n MooseX-Role-WithOverloading-%{version} -# we don't have Test::CheckDeps -rm -f t/00-check-deps.t - %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} @@ -46,19 +43,21 @@ make %{?_smp_mflags} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' - -%{_fixperms} %{buildroot}/* +%{_fixperms} %{buildroot} %check make test %files %doc Changes LICENSE README -%{perl_vendorarch}/* -%exclude %dir %{perl_vendorarch}/auto +%{perl_vendorarch}/auto/MooseX/ +%{perl_vendorarch}/MooseX/ %{_mandir}/man3/*.3* %changelog +* Thu Feb 27 2014 Paul Howarth - 0.13-3 +- We have Test::CheckDeps now + * Sat Aug 03 2013 Petr Pisar - 0.13-2 - Perl 5.18 rebuild