From 50b53a6948d8c3c90e0fcaa0dbbdf9a9455dc448 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 13 Jan 2021 16:48:33 +0000 Subject: [PATCH] Spec tidy-up - Use author-independent source URL - Specify all build dependencies - Simplify find command using -delete - Fix permissions verbosely - Make %files list more explicit --- perl-Params-Check.spec | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/perl-Params-Check.spec b/perl-Params-Check.spec index 2c66934..38ba969 100644 --- a/perl-Params-Check.spec +++ b/perl-Params-Check.spec @@ -2,15 +2,17 @@ Name: perl-Params-Check # Epoch to compete with perl.spec Epoch: 1 Version: 0.38 -Release: 457%{?dist} +Release: 458%{?dist} Summary: Generic input parsing/checking mechanism License: GPL+ or Artistic URL: https://metacpan.org/release/Params-Check -Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/Params-Check-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Params/Params-Check-%{version}.tar.gz BuildArch: noarch -BuildRequires: make -BuildRequires: perl-interpreter +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(strict) # Run-time: @@ -37,18 +39,26 @@ make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -%{_fixperms} $RPM_BUILD_ROOT/* +find $RPM_BUILD_ROOT -type f -name .packlist -delete +%{_fixperms} -c $RPM_BUILD_ROOT %check make test %files %doc CHANGES README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/Params/ +%{_mandir}/man3/Params::Check.3* %changelog +* Wed Jan 13 2021 Paul Howarth - 1:0.38-458 +- Spec tidy-up + - Use author-independent source URL + - Specify all build dependencies + - Simplify find command using -delete + - Fix permissions verbosely + - Make %%files list more explicit + * Tue Jul 28 2020 Fedora Release Engineering - 1:0.38-457 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild