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