@ -1,6 +1,6 @@
Name: perl-Class-Load
Version: 0.21
Release: 3 %{?dist}
Version: 0.22
Release: 1 %{?dist}
Summary: A working (require "Class::Name") and more
Group: Development/Libraries
License: GPL+ or Artistic
@ -10,7 +10,8 @@ BuildArch: noarch
# ===================================================================
# Module build requirements
# ===================================================================
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl
BuildRequires: perl(Module::Build::Tiny) >= 0.037
# ===================================================================
# Module requirements
# ===================================================================
@ -20,21 +21,20 @@ BuildRequires: perl(Data::OptList)
BuildRequires: perl(Exporter)
BuildRequires: perl(Module::Implementation) >= 0.04
BuildRequires: perl(Module::Runtime) >= 0.012
BuildRequires: perl(namespace::clean)
BuildRequires: perl(Package::Stash) >= 0.14
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Try::Tiny)
# ===================================================================
# Regular test suite requirements
# ===================================================================
# Class::Load::XS -> Class::Load
# Class::Load::XS → Class::Load
%if 0%{!?perl_bootstrap:1}
BuildRequires: perl(Class::Load::XS)
%endif
BuildRequires: perl(CPAN::Meta)
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120900
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
BuildRequires: perl(List::Util)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Requires)
@ -73,12 +73,23 @@ perl Build.PL --installdirs=vendor
./Build test
%files
%doc Changes CONTRIBUTING LICENSE README README.md
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/Class/
%{_mandir}/man3/Class::Load.3pm*
%{_mandir}/man3/Class::Load::PP.3pm*
%changelog
* Thu Sep 4 2014 Paul Howarth <paul@city-fan.org> - 0.22-1
- Update to 0.22
- Document some of the caveats to using this module, and refer to
Module::Runtime as an alternative
- Use %%license where possible
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.21-3
- Perl 5.20 rebuild