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