Summary: Error/exception handling in an OO-ish way with Perl Summary(ja): エラーや例外をオブジェクト指向的に扱う Perl モジュール Name: perl-Error Version: 0.17029 Release: 1%{?_dist_release} Group: programming Vendor: Project Vine Distribution: Vine Linux License: Aristic and GPL URL: https://metacpan.org/pod/Error Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: perl >= 2:5.34.0 Requires: perl >= 2:5.34.0 %description The Error package provides two interfaces. Firstly Error provides a procedural interface to exception handling. Secondly Error is a base class for errors/exceptions that can either be thrown, for subsequent catch, or can simply be recorded. Errors in the class Error should not be thrown directly, but the user should throw errors from a sub-class of Error %description -l ja Errorパッケージはふたつのインターフェースを提供します。まず、 Errorは例外を扱うための手続き型インターフェースを提供します。 またErrorは、throw したり、あとでcatchしたり、もしくは単に recordしたりするための、エラーや例外のベースクラスとなること ができます。 Errorクラスのエラーを直接throwするべきではありません。Errorの サブクラスを使ってエラーを投げるようにしてください。 %prep %setup -q -n Error-%{version} %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 make %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root) %license LICENSE %doc README ChangeLog examples %{perl_vendorlib}/Error* %{_mandir}/*/* %changelog * Thu Nov 18 2021 Tomohiro "Tomo-p" KATO 0.17029-1 - new upstream release. - built with perl-5.34.0. * Thu Jul 3 2014 Tomohiro "Tomo-p" KATO 0.17022-1 - new upstream release. - applied versioning presented by upstream. * Sat Mar 26 2011 IWAI, Masaharu 0.17-2 - updated to 0.17016 - add %%{perl_vendorlib}/Error directory in %%files * Thu Aug 28 2008 Shu KONNO 0.17-1vl5 - applied new versioning policy, spec in utf-8 - built with perl-5.10.0 * Tue Sep 25 2007 Ryoichi INAGAKI 0.17-0vl1 - updated to 0.17009 - changed Group to Development/Libraries - install module files to vendor_perl dir * Sat May 10 2003 IWAI Masaharu 0.15-0vl1 - first build for Vine Linux