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