diff --git a/perl-Params-Coerce.spec b/perl-Params-Coerce.spec index 5e9c7c5..f369703 100644 --- a/perl-Params-Coerce.spec +++ b/perl-Params-Coerce.spec @@ -1,11 +1,10 @@ Name: perl-Params-Coerce -Version: 0.14 -Release: 37%{?dist} +Version: 0.15 +Release: 1%{?dist} Summary: Allows your classes to do coercion of parameters License: GPL+ or Artistic URL: https://metacpan.org/release/Params-Coerce Source0: https://cpan.metacpan.org/modules/by-module/Params/Params-Coerce-%{version}.tar.gz -Patch0: https://rt.cpan.org/Ticket/Attachment/1727800/928987/Params-Coerce-0.14-Fix-building-on-Perl-without-.-in-INC.patch BuildArch: noarch # Module Build BuildRequires: coreutils @@ -13,26 +12,17 @@ BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter -# Dependencies of bundled Module::Install -BuildRequires: perl(Config) -BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(ExtUtils::Manifest) -BuildRequires: perl(File::Find) -BuildRequires: perl(File::Path) -BuildRequires: perl(File::Spec) -BuildRequires: perl(FindBin) -BuildRequires: perl(YAML) # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(Params::Util) >= 0.05 BuildRequires: perl(Scalar::Util) >= 1.11 BuildRequires: perl(strict) -BuildRequires: perl(vars) # Test Suite -BuildRequires: perl(Test::More) -# Optional Tests -BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::More) >= 0.47 +BuildRequires: perl(vars) +BuildRequires: perl(warnings) # Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -45,9 +35,6 @@ negligible additional complexity to your code. %prep %setup -q -n Params-Coerce-%{version} -# Fix building on Perl without "." in @INC (CPAN RT#121730) -%patch0 -p1 - %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} @@ -58,19 +45,20 @@ find %{buildroot} -type f -name .packlist -delete %{_fixperms} -c %{buildroot} %check -make test AUTOMATED_TESTING=1 +make test %files -%if 0%{?_licensedir:1} %license LICENSE -%else -%doc LICENSE -%endif -%doc Changes README +%doc Changes CONTRIBUTING README %{perl_vendorlib}/Params/ %{_mandir}/man3/Params::Coerce.3* %changelog +* Sun Jan 10 2021 Paul Howarth - 0.15-1 +- Update to 0.15 + - Distribution tooling updates +- Use %%license unconditionally + * Tue Jul 28 2020 Fedora Release Engineering - 0.14-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index cba6659..aecd81c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a8439ea6777c9156424ef6dd74c83945 Params-Coerce-0.14.tar.gz +SHA512 (Params-Coerce-0.15.tar.gz) = 6d03cd874505d0b29d17028f0c613ba2512a57a6f5eaea24d25d404287da913a6930ea9468b182cc085a0a0f978ddc4eb1b1ec74eac78f28936544535567bc36