@ -1,6 +1,6 @@
Name: perl-Class-Load
Version: 0.19
Release: 6 %{?dist}
Release: 7 %{?dist}
Summary: A working (require "Class::Name") and more
Group: Development/Libraries
License: GPL+ or Artistic
@ -21,9 +21,8 @@ BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Implementation) >= 0.04
BuildRequires: perl(Module::Runtime) >= 0.012
BuildRequires: perl(Package::Stash) >= 0.14
BuildRequires: perl(strict )
BuildRequires: perl(Scalar::Util )
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(warnings)
# ===================================================================
# Regular test suite requirements
# ===================================================================
@ -31,6 +30,7 @@ BuildRequires: perl(warnings)
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Class::Load::XS)
%endif
BuildRequires: perl(lib)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Without::Module)
@ -38,6 +38,12 @@ BuildRequires: perl(version)
# ===================================================================
# Author/Release test requirements
# ===================================================================
# Can't use aspell-en from EPEL-7 as BR: for RHEL-7 package so skip the spell
# check test there; test would fail rather than skip without Test::Spelling so
# we need to keep that as a buildreq
%if 0%{?rhel} < 7
BuildRequires: aspell-en
%endif
# Pod::Coverage::Moose -> Moose -> Class::Load
%if 0%{!?perl_bootstrap:1} && 0%{?rhel} < 7
BuildRequires: perl(Pod::Coverage::Moose)
@ -49,12 +55,6 @@ BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Requires)
BuildRequires: perl(Test::Spelling)
# Can't use aspell-en from EPEL-7 as BR: for RHEL-7 package so skip the spell
# check test there; test would fail rather than skip without Test::Spelling so
# we need to keep that as a buildreq
%if 0%{?rhel} < 7
BuildRequires: aspell-en
%endif
# ===================================================================
# Runtime requirements
# ===================================================================
@ -99,11 +99,27 @@ make test
%{_mandir}/man3/Class::Load.3pm*
%changelog
* Sun Jul 15 2012 Paul Howarth <paul@city-fan.org> - 0.19-7
- New upstream re-release of 0.19 by DROLSKY
- The load_class() subroutine now returns the class name on success
(CPAN RT#76931)
- Exceptions and errors from Class::Load no longer contain references to line
numbers in Class::Load or Module::Runtime; this applies to exceptions
thrown by load_class, load_first_existing_class, and load_optional_class,
as well as the error returned by try_load_class
- Exceptions are now croaked properly so they appear to come from the calling
code, not from an internal subroutine; this makes the exceptions look more
like the ones thrown by Perl's require (CPAN RT#68663)
- This release by DROLSKY -> update source URL
- BR: perl(Scalar::Util) for the module
- BR: perl(lib) for the test suite
- Drop buildreqs perl(strict) and perl(warnings) - not dual-lived
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.19-6
- Perl 5.16 re-rebuild of bootstrapped packages
* Tue Jun 26 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.19-5
- conditionalize Pod::Coverage::Moose
- C onditionalize Pod::Coverage::Moose
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.19-4
- Perl 5.16 rebuild