Version 0.19 re-released

- 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
epel9
Paul Howarth 13 years ago
parent cb89cbb9e8
commit 0139052b56

@ -1,6 +1,6 @@
Name: perl-Class-Load Name: perl-Class-Load
Version: 0.19 Version: 0.19
Release: 6%{?dist} Release: 7%{?dist}
Summary: A working (require "Class::Name") and more Summary: A working (require "Class::Name") and more
Group: Development/Libraries Group: Development/Libraries
License: GPL+ or Artistic License: GPL+ or Artistic
@ -21,9 +21,8 @@ BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Implementation) >= 0.04 BuildRequires: perl(Module::Implementation) >= 0.04
BuildRequires: perl(Module::Runtime) >= 0.012 BuildRequires: perl(Module::Runtime) >= 0.012
BuildRequires: perl(Package::Stash) >= 0.14 BuildRequires: perl(Package::Stash) >= 0.14
BuildRequires: perl(strict) BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Try::Tiny) BuildRequires: perl(Try::Tiny)
BuildRequires: perl(warnings)
# =================================================================== # ===================================================================
# Regular test suite requirements # Regular test suite requirements
# =================================================================== # ===================================================================
@ -31,6 +30,7 @@ BuildRequires: perl(warnings)
%if 0%{!?perl_bootstrap:1} %if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Class::Load::XS) BuildRequires: perl(Class::Load::XS)
%endif %endif
BuildRequires: perl(lib)
BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Without::Module) BuildRequires: perl(Test::Without::Module)
@ -38,6 +38,12 @@ BuildRequires: perl(version)
# =================================================================== # ===================================================================
# Author/Release test requirements # 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 # Pod::Coverage::Moose -> Moose -> Class::Load
%if 0%{!?perl_bootstrap:1} && 0%{?rhel} < 7 %if 0%{!?perl_bootstrap:1} && 0%{?rhel} < 7
BuildRequires: perl(Pod::Coverage::Moose) BuildRequires: perl(Pod::Coverage::Moose)
@ -49,12 +55,6 @@ BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Requires)
BuildRequires: perl(Test::Spelling) 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 # Runtime requirements
# =================================================================== # ===================================================================
@ -99,11 +99,27 @@ make test
%{_mandir}/man3/Class::Load.3pm* %{_mandir}/man3/Class::Load.3pm*
%changelog %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 * Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.19-6
- Perl 5.16 re-rebuild of bootstrapped packages - Perl 5.16 re-rebuild of bootstrapped packages
* Tue Jun 26 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.19-5 * Tue Jun 26 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.19-5
- conditionalize Pod::Coverage::Moose - Conditionalize Pod::Coverage::Moose
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.19-4 * Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.19-4
- Perl 5.16 rebuild - Perl 5.16 rebuild

@ -1 +1 @@
1a81421fda749d36952e7ada7876bcc7 Class-Load-0.19.tar.gz 81fcbf9b7c4ec9795344b96eb26dcd06 Class-Load-0.19.tar.gz

Loading…
Cancel
Save