|
|
505f548 |
Name: perl-Try-Tiny
|
|
|
505f548 |
Summary: Minimal try/catch with proper localization of $@
|
|
|
64f7b53 |
Version: 0.11
|
|
|
64f7b53 |
Release: 1%{?dist}
|
|
|
505f548 |
License: MIT
|
|
Chris Weyl |
c1bbc6c |
Group: Development/Libraries
|
|
|
0d9574b |
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz
|
|
Chris Weyl |
c1bbc6c |
URL: http://search.cpan.org/dist/Try-Tiny
|
|
Chris Weyl |
c1bbc6c |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Chris Weyl |
c1bbc6c |
BuildArch: noarch
|
|
Chris Weyl |
c1bbc6c |
|
|
Chris Weyl |
c1bbc6c |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
Chris Weyl |
c1bbc6c |
BuildRequires: perl(Test::More)
|
|
Chris Weyl |
c1bbc6c |
|
|
Chris Weyl |
413b007 |
%{?perl_default_filter}
|
|
Chris Weyl |
c1bbc6c |
%{?perl_default_subpackage_tests}
|
|
Chris Weyl |
413b007 |
|
|
Chris Weyl |
413b007 |
%description
|
|
Chris Weyl |
413b007 |
The main focus of this module is to provide simple and reliable error
|
|
Chris Weyl |
413b007 |
handling for those having a hard time installing TryCatch, but who still
|
|
Chris Weyl |
413b007 |
want to write correct 'eval' blocks without 5 lines of boilerplate each
|
|
Chris Weyl |
413b007 |
time.
|
|
Chris Weyl |
413b007 |
|
|
Chris Weyl |
413b007 |
%prep
|
|
Chris Weyl |
413b007 |
%setup -q -n Try-Tiny-%{version}
|
|
Chris Weyl |
413b007 |
|
|
Chris Weyl |
413b007 |
%build
|
|
Chris Weyl |
413b007 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
Chris Weyl |
413b007 |
make %{?_smp_mflags}
|
|
Chris Weyl |
413b007 |
|
|
Chris Weyl |
413b007 |
%install
|
|
Chris Weyl |
c1bbc6c |
make pure_install DESTDIR=%{buildroot}
|
|
Chris Weyl |
413b007 |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
Chris Weyl |
413b007 |
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
Chris Weyl |
413b007 |
|
|
Chris Weyl |
413b007 |
%{_fixperms} %{buildroot}/*
|
|
Chris Weyl |
413b007 |
|
|
Chris Weyl |
413b007 |
%check
|
|
Chris Weyl |
413b007 |
make test
|
|
Chris Weyl |
413b007 |
|
|
Chris Weyl |
413b007 |
%files
|
|
|
505f548 |
%doc Changes
|
|
|
505f548 |
%{perl_vendorlib}/Try/
|
|
|
505f548 |
%{_mandir}/man3/Try::Tiny.3pm*
|
|
Chris Weyl |
413b007 |
|
|
Chris Weyl |
413b007 |
%changelog
|
|
|
64f7b53 |
* Sun Oct 02 2011 Iain Arnell <iarnell@gmail.com> 0.11-1
|
|
|
64f7b53 |
- update to latest upstream version
|
|
|
64f7b53 |
|
|
|
3d2f283 |
* Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.09-2
|
|
|
3d2f283 |
- Perl mass rebuild
|
|
|
3d2f283 |
|
|
|
0d9574b |
* Fri Mar 18 2011 Iain Arnell <iarnell@gmail.com> 0.09-1
|
|
|
0d9574b |
- update to latest upstream version
|
|
|
0d9574b |
- clean up spec for modern rpmbuild
|
|
|
0d9574b |
|
|
|
c6b3987 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-2
|
|
|
c6b3987 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
c6b3987 |
|
|
|
505f548 |
* Mon Nov 1 2010 Paul Howarth <paul@city-fan.org> 0.07-1
|
|
|
505f548 |
- update to 0.07:
|
|
|
505f548 |
- allow multiple finally blocks
|
|
|
505f548 |
- pass the error, if any, to finally blocks when called
|
|
|
505f548 |
- documentation fixes and clarifications
|
|
|
505f548 |
- this release by RJBS -> update source URL
|
|
|
505f548 |
|
|
|
34a9d28 |
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.04-2
|
|
|
34a9d28 |
- Mass rebuild with perl-5.12.0
|
|
|
34a9d28 |
|
|
Chris Weyl |
c1bbc6c |
* Tue Mar 02 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.04-1
|
|
Chris Weyl |
c1bbc6c |
- update by Fedora::App::MaintainerTools 0.004
|
|
Chris Weyl |
c1bbc6c |
- PERL_INSTALL_ROOT => DESTDIR
|
|
Chris Weyl |
c1bbc6c |
- updating to latest GA CPAN version (0.04)
|
|
Chris Weyl |
c1bbc6c |
|
|
|
9479ae7 |
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.02-2
|
|
|
9479ae7 |
- rebuild against perl 5.10.1
|
|
|
9479ae7 |
|
|
Chris Weyl |
413b007 |
* Tue Sep 15 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
|
|
Chris Weyl |
413b007 |
- submission
|
|
Chris Weyl |
413b007 |
|
|
Chris Weyl |
413b007 |
* Tue Sep 15 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-0
|
|
Chris Weyl |
413b007 |
- initial RPM packaging
|
|
Chris Weyl |
413b007 |
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
|