Name: perl-Class-Throwable Version: 0.10 Release: 5%{?dist} Summary: A minimal lightweight exception class Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Class-Throwable/ Source0: http://search.cpan.org/CPAN/authors/id/S/ST/STEVAN/Class-Throwable-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) %description This module implements a minimal lightweight exception object. It is meant to be a compromise between more basic solutions like Carp which can only print information and cannot handle exception objects, and more complex solutions like Exception::Class which can be used to define complex inline exceptions and has a number of module dependencies. %prep %setup -q -n Class-Throwable-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %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 -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README t/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.10-5 - Mass rebuild with perl-5.12.0 * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.10-4 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Jan 6 2008 Gabriel Somlo <somlo at cmu.edu> 0.10-1 - Initial Fedora package