|
|
e28e30f |
Name: perl-Exception-Class-TryCatch
|
|
|
e28e30f |
Version: 1.12
|
|
|
c4bce92 |
Release: 8%{?dist}
|
|
|
e28e30f |
Summary: Syntactic try/catch sugar for use with Exception::Class
|
|
|
e28e30f |
License: ASL 2.0
|
|
|
e28e30f |
Group: Development/Libraries
|
|
|
e28e30f |
URL: http://search.cpan.org/dist/Exception-Class-TryCatch/
|
|
|
e28e30f |
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Exception-Class-TryCatch-%{version}.tar.gz
|
|
|
e28e30f |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e28e30f |
BuildArch: noarch
|
|
|
e28e30f |
BuildRequires: perl(Exception::Class) >= 1.2
|
|
|
e28e30f |
BuildRequires: perl(Module::Build)
|
|
|
e28e30f |
BuildRequires: perl(Test::More) >= 0.47
|
|
|
e28e30f |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
e28e30f |
|
|
|
e28e30f |
%description
|
|
|
e28e30f |
Exception::Class::TryCatch provides syntactic sugar for use with
|
|
|
e28e30f |
Exception::Class using the familiar keywords try and catch. Its primary
|
|
|
e28e30f |
objective is to allow users to avoid dealing directly with $@ by ensuring
|
|
|
e28e30f |
that any exceptions caught in an eval are captured as Exception::Class
|
|
|
e28e30f |
objects, whether they were thrown objects to begin with or whether the
|
|
|
e28e30f |
error resulted from die. This means that users may immediately use isa and
|
|
|
e28e30f |
various Exception::Class methods to process the exception.
|
|
|
e28e30f |
|
|
|
e28e30f |
%prep
|
|
|
e28e30f |
%setup -q -n Exception-Class-TryCatch-%{version}
|
|
|
e28e30f |
|
|
|
e28e30f |
%build
|
|
|
e28e30f |
%{__perl} Build.PL installdirs=vendor
|
|
|
e28e30f |
./Build
|
|
|
e28e30f |
|
|
|
e28e30f |
%install
|
|
|
e28e30f |
rm -rf $RPM_BUILD_ROOT
|
|
|
e28e30f |
|
|
|
e28e30f |
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
|
|
e28e30f |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
e28e30f |
|
|
|
e28e30f |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
e28e30f |
|
|
|
e28e30f |
%check
|
|
|
e28e30f |
./Build test
|
|
|
e28e30f |
|
|
|
e28e30f |
%clean
|
|
|
e28e30f |
rm -rf $RPM_BUILD_ROOT
|
|
|
e28e30f |
|
|
|
e28e30f |
%files
|
|
|
e28e30f |
%defattr(-,root,root,-)
|
|
|
e28e30f |
%doc Changes LICENSE README Todo
|
|
|
e28e30f |
%{perl_vendorlib}/*
|
|
|
e28e30f |
%{_mandir}/man3/*
|
|
|
e28e30f |
|
|
|
e28e30f |
%changelog
|
|
|
c4bce92 |
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.12-8
|
|
|
c4bce92 |
- Perl mass rebuild
|
|
|
c4bce92 |
|
|
|
71818af |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-7
|
|
|
71818af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
71818af |
|
|
|
5d1cca3 |
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.12-6
|
|
|
5d1cca3 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
5d1cca3 |
|
|
|
31ee720 |
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.12-5
|
|
|
31ee720 |
- Mass rebuild with perl-5.12.0
|
|
|
31ee720 |
|
|
|
4317418 |
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.12-4
|
|
|
4317418 |
- Mass rebuild with perl-5.12.0
|
|
|
4317418 |
|
|
|
aca6425 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.12-3
|
|
|
aca6425 |
- rebuild against perl 5.10.1
|
|
|
aca6425 |
|
|
|
29c6b31 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
|
|
|
29c6b31 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
29c6b31 |
|
|
|
e28e30f |
* Mon Dec 22 2008 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 1.12-1
|
|
|
e28e30f |
- Specfile autogenerated by cpanspec 1.77.
|