aa0049
Name:           perl-Error
aa0049
Version:        0.17020
aa0049
Release:        2%{?dist}
aa0049
Epoch:          1
aa0049
Summary:        Error/exception handling in an OO-ish way
aa0049
License:        (GPL+ or Artistic) and MIT
aa0049
Group:          Development/Libraries
aa0049
URL:            http://search.cpan.org/dist/Error/
aa0049
Source0:        http://www.cpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
aa0049
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
aa0049
BuildArch:      noarch
aa0049
BuildRequires:  perl(File::Spec)
aa0049
BuildRequires:  perl(lib)
aa0049
BuildRequires:  perl(Module::Build)
aa0049
# Run-requires:
aa0049
BuildRequires:  perl(Carp)
aa0049
BuildRequires:  perl(Exporter)
aa0049
BuildRequires:  perl(Scalar::Util)
aa0049
# Tests:
aa0049
BuildRequires:  perl(base)
aa0049
BuildRequires:  perl(Test::More)
aa0049
# Optional tests:
aa0049
%if !%{defined perl_bootstrap}
aa0049
BuildRequires:  perl(Test::Pod) >= 1.14
aa0049
BuildRequires:  perl(Test::Pod::Coverage) >= 1.04
aa0049
%endif
aa0049
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
aa0049
Requires:       perl(Carp)
aa0049
aa0049
# Avoid provides/requires from examples
aa0049
%global __provides_exclude_from ^%{_docdir}
aa0049
%global __requires_exclude_from ^%{_docdir}
aa0049
aa0049
%description
aa0049
The Error package provides two interfaces. Firstly Error provides a
aa0049
procedural interface to exception handling. Secondly Error is a base class
aa0049
for errors/exceptions that can either be thrown, for subsequent catch, or
aa0049
can simply be recorded.
aa0049
aa0049
%prep
aa0049
%setup -q -n Error-%{version}
aa0049
aa0049
%build
aa0049
perl Build.PL installdirs=vendor
aa0049
./Build
aa0049
aa0049
%install
aa0049
rm -rf $RPM_BUILD_ROOT
aa0049
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
aa0049
%{_fixperms} $RPM_BUILD_ROOT
aa0049
aa0049
%check
aa0049
./Build test
aa0049
aa0049
%clean
aa0049
rm -rf $RPM_BUILD_ROOT
aa0049
aa0049
%files
aa0049
# GPL+ or Artistic
aa0049
%doc ChangeLog README examples/
aa0049
%{perl_vendorlib}/Error.pm
aa0049
%{_mandir}/man3/Error.3pm*
aa0049
# MIT
aa0049
%{perl_vendorlib}/Error/
aa0049
%{_mandir}/man3/Error::Simple.3pm*
aa0049
aa0049
%changelog
aa0049
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1:0.17020-2
aa0049
- Mass rebuild 2013-12-27
aa0049
aa0049
* Sun May  5 2013 Paul Howarth <paul@city-fan.org> - 1:0.17020-1
aa0049
- Update to 0.17020
aa0049
  - Change to Shlomi Fish's new E-mail and web address
aa0049
  - Clarify the licence of lib/Error/Simple.pm (CPAN RT#81277)
aa0049
  - Correct typos (CPAN RT#85023)
aa0049
- Don't use macros for commands
aa0049
- Don't need to remove empty directories from the buildroot
aa0049
- Make %%files list more explicit
aa0049
- Drop %%defattr, redundant since rpm 4.4
aa0049
- Avoid provides/requires from examples
aa0049
aa0049
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17018-6
aa0049
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
aa0049
aa0049
* Mon Nov 19 2012 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.17018-5
aa0049
- Add MIT license
aa0049
aa0049
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17018-4
aa0049
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
aa0049
aa0049
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 1:0.17018-3
aa0049
- Perl 5.16 re-rebuild of bootstrapped packages
aa0049
aa0049
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1:0.17018-2
aa0049
- Perl 5.16 rebuild
aa0049
aa0049
* Thu Jun 07 2012 Petr Pisar <ppisar@redhat.com> - 1:0.17018-1
aa0049
- 0.17018 bump
aa0049
- Specify all dependencies
aa0049
- Skip POD tests on bootstrap
aa0049
aa0049
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17016-7
aa0049
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
aa0049
aa0049
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.17016-6
aa0049
- Perl mass rebuild
aa0049
aa0049
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17016-5
aa0049
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aa0049
aa0049
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-4
aa0049
- Rebuild to fix problems with vendorarch/lib (#661697)
aa0049
aa0049
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-3
aa0049
- Mass rebuild with perl-5.12.0
aa0049
aa0049
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:0.17016-2
aa0049
- Mass rebuild with perl-5.12.0
aa0049
aa0049
* Mon Jan 18 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:0.1716-1
aa0049
- update
aa0049
aa0049
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:0.17015-4
aa0049
- rebuild against perl 5.10.1
aa0049
aa0049
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17015-3
aa0049
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
aa0049
aa0049
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.17015-2
aa0049
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
aa0049
aa0049
* Sat Aug 02 2008 Steven Pritchard <steve@kspei.com> 1:0.17015-1
aa0049
- Update to 0.17015.
aa0049
aa0049
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1:0.17014-1
aa0049
- Update to 0.17014.
aa0049
aa0049
* Tue Feb  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1:0.17012-2
aa0049
- rebuild for new perl
aa0049
aa0049
* Mon Jan 28 2008 Steven Pritchard <steve@kspei.com> 1:0.17012-1
aa0049
- Update to 0.17012.
aa0049
aa0049
* Mon Jan 07 2008 Steven Pritchard <steve@kspei.com> 1:0.17011-1
aa0049
- Update to 0.17011.
aa0049
- Canonicalize Source0 URL.
aa0049
- Fix find option order.
aa0049
- Use fixperms macro instead of our own chmod incantation.
aa0049
- Improve Summary.
aa0049
- Reformat to match cpanspec output.
aa0049
- Build with Module::Build.
aa0049
aa0049
* Tue Dec 04 2007 Ralf Corsépius <rc040203@freenet.de> - 1:0.17010-1
aa0049
- Upstream update.
aa0049
- Update license tag.
aa0049
aa0049
* Sat Oct 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17008-1
aa0049
- Update to 0.17008.
aa0049
aa0049
* Wed Oct 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17007-1
aa0049
- Update to 0.17007.
aa0049
aa0049
* Sat Oct  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17006-1
aa0049
- Update to 0.17006.
aa0049
- New build requirements: Test::Pod and Test::Pod::Coverage.
aa0049
aa0049
* Wed Oct  4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17005-1
aa0049
- Update to 0.17005.
aa0049
aa0049
* Mon Sep  4 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17004-1
aa0049
- Update to 0.17004.
aa0049
aa0049
* Mon Aug 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17003-1
aa0049
- Update to 0.17003.
aa0049
aa0049
* Wed Aug  9 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17001-1
aa0049
- Update to 0.17001.
aa0049
aa0049
* Fri Jul 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.17-1
aa0049
- Update to 0.17.
aa0049
aa0049
* Tue Jul 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1:0.16-1
aa0049
- Update to 0.16.
aa0049
aa0049
* Fri Apr 28 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15009-1
aa0049
- Update to 0.15009.
aa0049
aa0049
* Wed Apr 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15008-1
aa0049
- Update to 0.15008.
aa0049
aa0049
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-4
aa0049
- Rebuild for FC5 (perl 5.8.8).
aa0049
aa0049
* Thu Dec 29 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.15-3
aa0049
- Dist tag.
aa0049
aa0049
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.15-2
aa0049
- rebuilt
aa0049
aa0049
* Fri Jun 11 2004 Steven Pritchard <steve@kspei.com> 0:0.15-1
aa0049
- Specfile autogenerated.