Name: perl-Test-Exception-LessClever Version: 0.006 Release: 1%{?dist} Summary: Test::Exception simplified License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Exception-LessClever/ Source0: http://www.cpan.org/authors/id/E/EX/EXODIST/Test-Exception-LessClever-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(Mock::Quick) >= 1.100 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Simple) >= 0.88 Requires: perl(Carp) Requires: perl(Test::Builder) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description An alternative to Test::Exception that is much simpler. This alternative does not use fancy stack tricks to hide itself. The idea here is to keep it simple. This also solves the Test::Exception bug where some dies will be hidden when a DESTROY method calls eval. If a DESTROY method masks $@ a warning will be generated as well. %prep %setup -q -n Test-Exception-LessClever-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Feb 08 2013 Dave Cross 0.006-1 - Specfile autogenerated by cpanspec 1.78.