commit 7fba86ad86b98fcce0dc5cdfb018b062bb90a2f0
Author: Paul Howarth <[email protected]>
Date: Wed Feb 8 19:26:28 2012 +0000
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
perl-Class-Load.spec | 46 +++++++++++++++++++++++++++++++++++++---------
sources | 2 +-
2 files changed, 38 insertions(+), 10 deletions(-)
---
diff --git a/perl-Class-Load.spec b/perl-Class-Load.spec
index bb0416d..ca4623f 100644
--- a/perl-Class-Load.spec
+++ b/perl-Class-Load.spec
@@ -1,6 +1,6 @@
Name: perl-Class-Load
-Version: 0.13
-Release: 2%{?dist}
+Version: 0.14
+Release: 1%{?dist}
Summary: A working (require "Class::Name") and more
Group: Development/Libraries
License: GPL+ or Artistic
@@ -14,13 +14,22 @@ BuildRequires: perl(ExtUtils::MakeMaker)
# ===================================================================
# Module requirements
# ===================================================================
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
BuildRequires: perl(Data::OptList)
+BuildRequires: perl(Module::Implementation)
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(warnings)
# ===================================================================
# 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::More)
BuildRequires: perl(Test::Without::Module)
@@ -28,20 +37,21 @@ BuildRequires: perl(version)
# ===================================================================
# 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::NoTabs)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
-BuildRequires: perl(Test::Spelling), aspell-en
BuildRequires: perl(Test::Requires)
-BuildRequires: perl(Pod::Coverage::Moose)
-BuildRequires: perl(Test::CPAN::Changes)
+BuildRequires: perl(Test::Spelling), aspell-en
# ===================================================================
# Runtime requirements
# ===================================================================
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
%description
@@ -71,7 +81,7 @@ find %{buildroot} -depth -type d -exec rmdir {} ';'
2>/dev/null
%{_fixperms} %{buildroot}
%check
-make test RELEASE_TESTING=1
+make test %{!?perl_bootstrap:RELEASE_TESTING=1}
%files
%doc Changes LICENSE README
@@ -79,6 +89,24 @@ make test RELEASE_TESTING=1
%{_mandir}/man3/Class::Load.3pm*
%changelog
+* Tue Feb 7 2012 Paul Howarth <[email protected]> - 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 <[email protected]> - 0.13-2
- Fedora 17 mass rebuild
diff --git a/sources b/sources
index 75dd0dc..566fd24 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d26a8c6da4e12d72d9f06a47c89c6a73 Class-Load-0.13.tar.gz
+dcae0c8fef65ec193cfafc0f624c4be4 Class-Load-0.14.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel