a89d49
Name:           perl-Exception-Class
a89d49
Version:        1.44
a89d49
Release:        13%{?dist}
a89d49
Summary:        Module that allows you to declare real exception classes in Perl
a89d49
License:        GPL+ or Artistic
a89d49
URL:            https://metacpan.org/release/Exception-Class
a89d49
Source0:        https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Exception-Class-%{version}.tar.gz
a89d49
BuildArch:      noarch
a89d49
# Module Build
a89d49
BuildRequires:  coreutils
a89d49
BuildRequires:  findutils
a89d49
BuildRequires:  make
a89d49
BuildRequires:  perl-generators
a89d49
BuildRequires:  perl-interpreter
a89d49
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.75
a89d49
# Module Runtime
a89d49
BuildRequires:  perl(base)
a89d49
BuildRequires:  perl(Class::Data::Inheritable) >= 0.02
a89d49
BuildRequires:  perl(Devel::StackTrace) >= 2.00
a89d49
BuildRequires:  perl(overload)
a89d49
BuildRequires:  perl(Scalar::Util)
a89d49
BuildRequires:  perl(strict)
a89d49
BuildRequires:  perl(warnings)
a89d49
# Test Suite
a89d49
BuildRequires:  perl(File::Spec)
a89d49
BuildRequires:  perl(Test::More) >= 0.96
a89d49
# Optional Tests
a89d49
BuildRequires:  perl(CPAN::Meta) >= 2.120900
a89d49
BuildRequires:  perl(CPAN::Meta::Prereqs)
a89d49
# Runtime
a89d49
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
a89d49
a89d49
%description
a89d49
Exception::Class allows you to declare exception hierarchies in your
a89d49
modules in a "Java-esque" manner.
a89d49
a89d49
%prep
a89d49
%setup -q -n Exception-Class-%{version}
a89d49
a89d49
%build
a89d49
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
a89d49
make %{?_smp_mflags}
a89d49
a89d49
%install
a89d49
make install DESTDIR=%{buildroot}
a89d49
%{_fixperms} -c %{buildroot}
a89d49
a89d49
%check
a89d49
make test
a89d49
a89d49
%files
a89d49
%license LICENSE
a89d49
%doc Changes CONTRIBUTING.md README.md
a89d49
%{perl_vendorlib}/Exception/
a89d49
%{_mandir}/man3/Exception::Class.3*
a89d49
%{_mandir}/man3/Exception::Class::Base.3*
a89d49
a89d49
%changelog
a89d49
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.44-13
a89d49
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
a89d49
  Related: rhbz#1991688
a89d49
a89d49
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.44-12
a89d49
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
a89d49
a89d49
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-11
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
a89d49
a89d49
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-10
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a89d49
a89d49
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-9
a89d49
- Perl 5.32 rebuild
a89d49
a89d49
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-8
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
a89d49
a89d49
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-7
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a89d49
a89d49
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-6
a89d49
- Perl 5.30 rebuild
a89d49
a89d49
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-5
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a89d49
a89d49
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-4
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a89d49
a89d49
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-3
a89d49
- Perl 5.28 rebuild
a89d49
a89d49
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-2
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a89d49
a89d49
* Mon Dec 11 2017 Paul Howarth <paul@city-fan.org> - 1.44-1
a89d49
- Update to 1.44
a89d49
  - You can now pass "frame_filter", "filter_frames_early" and "skip_frames"
a89d49
    to the throw() method of an exception class; these will be passed on to
a89d49
    the Devel::StackTrace constructor (GH#6)
a89d49
a89d49
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.43-2
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a89d49
a89d49
* Mon Jul 10 2017 Paul Howarth <paul@city-fan.org> - 1.43-1
a89d49
- Update to 1.43
a89d49
  - The full_message() method in Exception::Class::Base now calls message()
a89d49
    instead of accessing the object's hash key, which makes it easier to
a89d49
    override message() in a subclass (GH#11)
a89d49
a89d49
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.42-3
a89d49
- Perl 5.26 rebuild
a89d49
a89d49
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.42-2
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a89d49
a89d49
* Thu Jan  5 2017 Paul Howarth <paul@city-fan.org> - 1.42-1
a89d49
- Update to 1.42
a89d49
  - Generated exception classes are now added to %%INC; if you subclass a
a89d49
    generated class with "use base" then base.pm will no longer attempt to load
a89d49
    the requested class (GH#8)
a89d49
a89d49
* Fri Dec  9 2016 Paul Howarth <paul@city-fan.org> - 1.41-1
a89d49
- Update to 1.41
a89d49
  - Switch to GitHub Issues
a89d49
- Author/Release tests moved to xt/, so don't bother trying to run them
a89d49
a89d49
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.40-3
a89d49
- Perl 5.24 rebuild
a89d49
a89d49
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.40-2
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
a89d49
a89d49
* Sat Jan 30 2016 Paul Howarth <paul@city-fan.org> - 1.40-1
a89d49
- Update to 1.40
a89d49
  - Fixed broken metadata (GH#3)
a89d49
- Add patch to support building without Test::Code::TidyAll
a89d49
a89d49
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.39-3
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a89d49
a89d49
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.39-2
a89d49
- Perl 5.22 rebuild
a89d49
a89d49
* Wed Nov 12 2014 Paul Howarth <paul@city-fan.org> - 1.39-1
a89d49
- Update to 1.39
a89d49
  - Replaced the Exception::Class::Base->NoRefs method with UnsafeRefCapture to
a89d49
    match changes in Devel::StackTrace 2.00; the old method is deprecated but
a89d49
    will continue to work
a89d49
- Classify buildreqs by usage
a89d49
- Modernize spec
a89d49
- Run the author/release tests too
a89d49
a89d49
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-3
a89d49
- Perl 5.20 rebuild
a89d49
a89d49
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.38-2
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a89d49
a89d49
* Mon May  5 2014 Paul Howarth <paul@city-fan.org> - 1.38-1
a89d49
- Update to 1.38
a89d49
  - An exception without a message will now default to either the associated
a89d49
    exception class description or the string "[Generic exception]" (PR #2)
a89d49
  - Added field_hash() and context_hash() methods (PR #1)
a89d49
a89d49
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.37-4
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a89d49
a89d49
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 1.37-3
a89d49
- Perl 5.18 rebuild
a89d49
a89d49
* Wed Jun 26 2013 Jitka Plesnikova <jplesnik@redhat.com> - 1.37-2
a89d49
- License is GPL+ or Artistic now
a89d49
- Specify all dependencies
a89d49
a89d49
* Sun Feb 24 2013 Paul Howarth <paul@city-fan.org> - 1.37-1
a89d49
- Update to 1.37
a89d49
  - I now recommend you use Throwable instead of this module; it has a nicer,
a89d49
    more modern interface
a89d49
  - Fixed warning from basic.t on 5.17.x (CPAN RT#79121)
a89d49
  - 1.33 did not declare any prereqs (CPAN RT#79677)
a89d49
  - Require Class::Data::Inheritable ≥ 0.02
a89d49
  - Fixed some stupidity in the tests that appears to have been highlighted by
a89d49
    recent changes to Devel::StackTrace (CPAN RT#81245)
a89d49
  - Fixed various bugs and confusion in the docs
a89d49
- Don't need to remove empty directories from the buildroot
a89d49
- Don't use macros for commands
a89d49
- Make the %%files list more explicit
a89d49
- Use DESTDIR rather than PERL_INSTALL_ROOT
a89d49
- Drop release testing (now more extensive and would fail anyway)
a89d49
- Drop support for distributions older than EL-6 (test suite would need
a89d49
  patching for EL-5 anyway)
a89d49
a89d49
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-8
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a89d49
a89d49
* Thu Nov 15 2012 Jitka Plesnikova <jplesnik@redhat.com> - 1.32-7
a89d49
- Update dependencies
a89d49
a89d49
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-6
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a89d49
a89d49
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.32-5
a89d49
- Perl 5.16 rebuild
a89d49
a89d49
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-4
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a89d49
a89d49
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.32-3
a89d49
- Perl mass rebuild
a89d49
a89d49
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.32-2
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a89d49
a89d49
* Wed Dec 22 2010 Steven Pritchard <steve@kspei.com> 1.32-1
a89d49
- Update to 1.32.
a89d49
- License is now Artistic 2.0.
a89d49
- Switch back to building with ExtUtils::MakeMaker/Makefile.PL.  (Dave
a89d49
  Rolsky needs to make up his mind.)
a89d49
- Add README to docs.
a89d49
a89d49
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-5
a89d49
- Rebuild to fix problems with vendorarch/lib (#661697)
a89d49
a89d49
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-4
a89d49
- Mass rebuild with perl-5.12.0
a89d49
a89d49
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.29-3
a89d49
- Mass rebuild with perl-5.12.0
a89d49
a89d49
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.29-2
a89d49
- rebuild against perl 5.10.1
a89d49
a89d49
* Thu Jul 30 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.29-1
a89d49
- Upstream update (Required by other packages, fix mass rebuild breakdowns).
a89d49
a89d49
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-3
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a89d49
a89d49
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.26-2
a89d49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a89d49
a89d49
* Fri Dec 12 2008 Steven Pritchard <steve@kspei.com> 1.26-1
a89d49
- Update to 1.26.
a89d49
- Bump Devel::StackTrace dependency to 1.20.
a89d49
a89d49
* Sat May 31 2008 Steven Pritchard <steve@kspei.com> 1.24-1
a89d49
- Update to 1.24.
a89d49
- Bump Devel::StackTrace dependency to 1.17.
a89d49
- Clean up to match current cpanspec output.
a89d49
- Improve Summary and description.
a89d49
- Build with Module::Build.
a89d49
- BR Test::Pod and Test::Pod::Coverage and define IS_MAINTAINER.
a89d49
a89d49
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.23-6
a89d49
- Rebuild for perl 5.10 (again)
a89d49
a89d49
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.23-5
a89d49
- rebuild against new perl
a89d49
a89d49
* Sat Dec 29 2007 Ralf Corsépius 1.23-4
a89d49
- BR: perl(Test::More) (BZ 419631).
a89d49
- Adjust License-tag.
a89d49
a89d49
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 1.23-3
a89d49
- Use fixperms macro instead of our own chmod incantation.
a89d49
- BR ExtUtils::MakeMaker.
a89d49
a89d49
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 1.23-2
a89d49
- Canonicalize Source0 URL.
a89d49
- Fix find option order.
a89d49
- Drop executable bit from Exception/Class.pm to avoid a rpmlint warning.
a89d49
a89d49
* Fri Feb 03 2006 Steven Pritchard <steve@kspei.com> 1.23-1
a89d49
- Update to 1.23
a89d49
a89d49
* Tue Jan 10 2006 Steven Pritchard <steve@kspei.com> 1.22-1
a89d49
- Update to 1.22
a89d49
a89d49
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 1.21-3
a89d49
- Remove explicit core module dependencies
a89d49
- Add COPYING and Artistic
a89d49
a89d49
* Wed Aug 17 2005 Steven Pritchard <steve@kspei.com> 1.21-2
a89d49
- Minor spec cleanup
a89d49
a89d49
* Tue Aug 16 2005 Steven Pritchard <steve@kspei.com> 1.21-1
a89d49
- Specfile autogenerated.