Update to 0.15

- New upstream release 0.15
  - Distribution tooling updates
- Use %license unconditionally
epel9
Paul Howarth 4 years ago
parent 9d37543290
commit bf6816892f

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

@ -1 +1 @@
a8439ea6777c9156424ef6dd74c83945 Params-Coerce-0.14.tar.gz SHA512 (Params-Coerce-0.15.tar.gz) = 6d03cd874505d0b29d17028f0c613ba2512a57a6f5eaea24d25d404287da913a6930ea9468b182cc085a0a0f978ddc4eb1b1ec74eac78f28936544535567bc36

Loading…
Cancel
Save