Name: perl-HTTP-Exception Version: 0.03001 Release: 2%{?dist} Summary: Throw HTTP-Errors as (Exception::Class-) Exceptions License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTTP-Exception/ Source0: http://www.cpan.org/authors/id/T/TM/TMUELLER/HTTP-Exception-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Exception::Class) BuildRequires: perl(HTTP::Status) BuildRequires: perl(Module::Build) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Plack) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Every HTTP::Exception is a Exception::Class - Class. So the same mechanisms apply as with Exception::Class-classes. In fact have a look at Exception::Class' docs for more general information on exceptions and Exception::Class::Base for information on what methods a caught exception also has. %prep %setup -q -n HTTP-Exception-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install ./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 %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.03001-2 - Perl mass rebuild * Mon Jun 20 2011 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 0.03001-1 - Specfile autogenerated by cpanspec 1.78.