From e0e5d4317268ce158e1805db1f4901067a1db54f Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 4 Sep 2014 14:26:10 +0100 Subject: [PATCH] Update to 0.22 - New upstream release 0.22 - Document some of the caveats to using this module, and refer to Module::Runtime as an alternative - Use %license where possible --- perl-Class-Load.spec | 29 ++++++++++++++++++++--------- sources | 2 +- 2 files changed, 21 insertions(+), 10 deletions(-) diff --git a/perl-Class-Load.spec b/perl-Class-Load.spec index 64599a2..d449282 100644 --- a/perl-Class-Load.spec +++ b/perl-Class-Load.spec @@ -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 - 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 - 0.21-3 - Perl 5.20 rebuild diff --git a/sources b/sources index 7e3f86d..196a287 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -67674318b7b47b519abfd9f16292dc35 Class-Load-0.21.tar.gz +ad59087e70b0df76d718c90b53e209d5 Class-Load-0.22.tar.gz