Name: perl-Error Version: 0.15 Release: 6mdk License: GPL or Artistic %define realname Error Group: Development/Perl Summary: Error module for perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Error/%{realname}-%{version}.tar.bz2 Url: http://www.cpan.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel Requires: perl >= 5.005 BuildArch: noarch %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. %prep %setup -q -n %{realname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog README example MANIFEST %{perl_vendorlib}/*.pm %{_mandir}/*/* %changelog * Thu Aug 14 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.15-6mdk - rebuild for new perl - rm -rf $RPM_BUILD_ROOT in %%install, not %%prep - drop Prefix tag - drop $RPM_OPT_FLAGS, noarch.. - use %%makeinstall_std macro * Wed May 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.15-4mdk - rebuild for new auto{prov,req} * Fri Jan 24 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.15-3mdk - rebuilt * Wed Jul 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.15-2mdk - rebuild with new perl * Fri Mar 8 2002 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 0.15-1mdk - First MandrakeSoft Package