Name: perl-Exception-Class-TryCatch Version: 1.12 Release: 9%{?dist} Summary: Syntactic try/catch sugar for use with Exception::Class License: ASL 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/Exception-Class-TryCatch/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Exception-Class-TryCatch-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Exception::Class) >= 1.2 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) >= 0.47 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Exception::Class::TryCatch provides syntactic sugar for use with Exception::Class using the familiar keywords try and catch. Its primary objective is to allow users to avoid dealing directly with $@ by ensuring that any exceptions caught in an eval are captured as Exception::Class objects, whether they were thrown objects to begin with or whether the error resulted from die. This means that users may immediately use isa and various Exception::Class methods to process the exception. %prep %setup -q -n Exception-Class-TryCatch-%{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 Changes LICENSE README Todo %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Jan 13 2012 Fedora Release Engineering - 1.12-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 21 2011 Marcela Mašláňová - 1.12-8 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 1.12-6 - 661697 rebuild for fixing problems with vendorach/lib * Sat May 01 2010 Marcela Maslanova - 1.12-5 - Mass rebuild with perl-5.12.0 * Fri Apr 30 2010 Marcela Maslanova - 1.12-4 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 1.12-3 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Dec 22 2008 Emmanuel Seyman 1.12-1 - Specfile autogenerated by cpanspec 1.77.