Update to 0.14

- New upstream release 0.14:
  - Use Module::Implementation to handle loading the XS or PP versions of the
    code; using this module fixes a few bugs
  - Under taint mode, setting an implementation in the
    CLASS_LOAD_IMPLEMENTATION env var caused a taint error
  - An invalid value in the CLASS_LOAD_IMPLEMENTATION env var is now detected
    and reported immediately; no attempt is made to load an invalid
    implementation
- BR: perl(Module::Implementation)
- BR: perl(base), perl(Carp), perl(strict) and perl(warnings) for completeness
- Drop version requirement for perl(Package::Stash), no longer present upstream
- Drop explicit runtime dependencies, no longer needed
- Don't BR: perl(Class::Load::XS) or perl(Pod::Coverage::Moose) if we're
  bootstrapping
- Don't run the release tests when bootstrapping as the Pod coverage test will
  fail in the absence of Pod::Coverage::Moose
epel9
Paul Howarth 13 years ago
parent de11424560
commit 7fba86ad86

@ -1,6 +1,6 @@
Name: perl-Class-Load Name: perl-Class-Load
Version: 0.13 Version: 0.14
Release: 2%{?dist} Release: 1%{?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
@ -14,13 +14,22 @@ BuildRequires: perl(ExtUtils::MakeMaker)
# =================================================================== # ===================================================================
# Module requirements # Module requirements
# =================================================================== # ===================================================================
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Data::OptList) BuildRequires: perl(Data::OptList)
BuildRequires: perl(Module::Implementation)
BuildRequires: perl(Module::Runtime) >= 0.011 BuildRequires: perl(Module::Runtime) >= 0.011
BuildRequires: perl(Package::Stash) >= 0.32 BuildRequires: perl(Package::Stash)
BuildRequires: perl(strict)
BuildRequires: perl(Try::Tiny) BuildRequires: perl(Try::Tiny)
BuildRequires: perl(warnings)
# =================================================================== # ===================================================================
# Regular test suite requirements # Regular test suite requirements
# =================================================================== # ===================================================================
# Class::Load::XS -> Class::Load
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Class::Load::XS)
%endif
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)
@ -28,20 +37,21 @@ BuildRequires: perl(version)
# =================================================================== # ===================================================================
# Author/Release test requirements # Author/Release test requirements
# =================================================================== # ===================================================================
# Pod::Coverage::Moose -> Moose -> Class::Load
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Pod::Coverage::Moose)
%endif
BuildRequires: perl(Test::CPAN::Changes)
BuildRequires: perl(Test::EOL) BuildRequires: perl(Test::EOL)
BuildRequires: perl(Test::NoTabs) BuildRequires: perl(Test::NoTabs)
BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(Test::Spelling), aspell-en
BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::Requires)
BuildRequires: perl(Pod::Coverage::Moose) BuildRequires: perl(Test::Spelling), aspell-en
BuildRequires: perl(Test::CPAN::Changes)
# =================================================================== # ===================================================================
# Runtime requirements # Runtime requirements
# =================================================================== # ===================================================================
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Module::Runtime) >= 0.011
Requires: perl(Package::Stash) >= 0.32
# Also requires core module perl(Exporter) via a "use base" construct # Also requires core module perl(Exporter) via a "use base" construct
%description %description
@ -71,7 +81,7 @@ find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
make test RELEASE_TESTING=1 make test %{!?perl_bootstrap:RELEASE_TESTING=1}
%files %files
%doc Changes LICENSE README %doc Changes LICENSE README
@ -79,6 +89,24 @@ make test RELEASE_TESTING=1
%{_mandir}/man3/Class::Load.3pm* %{_mandir}/man3/Class::Load.3pm*
%changelog %changelog
* Tue Feb 7 2012 Paul Howarth <paul@city-fan.org> - 0.14-1
- Update to 0.14:
- Use Module::Implementation to handle loading the XS or PP versions of the
code; using this module fixes a few bugs
- Under taint mode, setting an implementation in the
CLASS_LOAD_IMPLEMENTATION env var caused a taint error
- An invalid value in the CLASS_LOAD_IMPLEMENTATION env var is now detected
and reported immediately; no attempt is made to load an invalid
implementation
- BR: perl(Module::Implementation)
- BR: perl(base), perl(Carp), perl(strict) and perl(warnings) for completeness
- Drop version requirement for perl(Package::Stash), no longer present upstream
- Drop explicit runtime dependencies, no longer needed
- Don't BR: perl(Class::Load::XS) or perl(Pod::Coverage::Moose) if we're
bootstrapping
- Don't run the release tests when bootstrapping as the Pod coverage test will
fail in the absence of Pod::Coverage::Moose
* Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.13-2 * Tue Jan 10 2012 Paul Howarth <paul@city-fan.org> - 0.13-2
- Fedora 17 mass rebuild - Fedora 17 mass rebuild

@ -1 +1 @@
d26a8c6da4e12d72d9f06a47c89c6a73 Class-Load-0.13.tar.gz dcae0c8fef65ec193cfafc0f624c4be4 Class-Load-0.14.tar.gz

Loading…
Cancel
Save