Name: perl-Try-Tiny Summary: Minimal try/catch with proper localization of $@ Version: 0.30 Release: 1%{?_dist_release} License: MIT Group: Development/Libraries Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz URL: http://search.cpan.org/dist/Try-Tiny BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(Test::More) BuildRequires: perl(Test::NoTabs) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Sub::Name) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # obsolete/provide old tests subpackage # can be removed during F19 development cycle Obsoletes: %{name}-tests < 0.11-3 Provides: %{name}-tests = %{version}-%{release} Vendor: Project Vine Distribution: Vine Linux Packager: shaolin %{?perl_default_filter} %description The main focus of this module is to provide simple and reliable error handling for those having a hard time installing TryCatch, but who still want to write correct 'eval' blocks without 5 lines of boilerplate each time. %prep %setup -q -n Try-Tiny-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %doc Changes t/ %{perl_vendorlib}/Try/ %{_mandir}/man3/Try::Tiny.3pm* %changelog * Thu May 16 2019 Tomohiro "Tomo-p" KATO 0.30-1 - new upstream release. - rebuilt with perl-5.26. * Sun Dec 21 2014 Ryoichi INAGAKI 0.22-1 - updated to 0.22 - updated BuildRequires * Mon Jun 30 2014 IWAI, Masaharu 0.11-2 - build with Perl 5.16 * Thu Mar 01 2012 MATSUBAYASHI Kohji - 0.11-1 - initial build for Vine Linux * Sun Jan 22 2012 Iain Arnell 0.11-3 - drop tests subpackage; move tests to main package documentation * Fri Jan 13 2012 Fedora Release Engineering - 0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Oct 02 2011 Iain Arnell 0.11-1 - update to latest upstream version * Wed Jun 15 2011 Marcela Mašláňová - 0.09-2 - Perl mass rebuild * Fri Mar 18 2011 Iain Arnell 0.09-1 - update to latest upstream version - clean up spec for modern rpmbuild * Wed Feb 09 2011 Fedora Release Engineering - 0.07-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Nov 1 2010 Paul Howarth 0.07-1 - update to 0.07: - allow multiple finally blocks - pass the error, if any, to finally blocks when called - documentation fixes and clarifications - this release by RJBS -> update source URL * Fri May 07 2010 Marcela Maslanova - 0.04-2 - Mass rebuild with perl-5.12.0 * Tue Mar 02 2010 Chris Weyl 0.04-1 - update by Fedora::App::MaintainerTools 0.004 - PERL_INSTALL_ROOT => DESTDIR - updating to latest GA CPAN version (0.04) * Fri Dec 4 2009 Stepan Kasal - 0.02-2 - rebuild against perl 5.10.1 * Tue Sep 15 2009 Chris Weyl 0.02-1 - submission * Tue Sep 15 2009 Chris Weyl 0.02-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)