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