Name: perl-Throwable Version: 0.100090 Release: 1%{?dist} Summary: Role for classes that can be thrown License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Throwable/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Throwable-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Devel::StackTrace) >= 1.21 BuildRequires: perl(ExtUtils::MakeMaker) >= 6.11 BuildRequires: perl(Moose) >= 0.87 BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) # not available yet #BuildRequires: perl(Pod::Coverage::TrustPod) Requires: perl(Devel::StackTrace) >= 1.21 Requires: perl(ExtUtils::MakeMaker) >= 6.11 Requires: perl(Moose) >= 0.87 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Throwable is a role for classes that are meant to be thrown as exceptions to standard program flow. It is very simple and does only two things: saves any previous value for $@ and calls die $self. %prep %setup -q -n Throwable-%{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 RELEASE_TESTING=1 make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Jan 14 2010 Iain Arnell 0.100090-1 - Specfile autogenerated by cpanspec 1.78.