Name: perl-HTTP-Exception Version: 0.04001 Release: 1%{?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} find . -type f -exec chmod 644 {} \; %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install 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 make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Feb 25 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 0.04001-1 - Update to 0.04001 * Tue Feb 21 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 0.04000-1 - Update to 0.04 (using the version 0.04000 for rpm's sake) - Move from the Build.PL method to the Makefile.PL one * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.03001-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * 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.