diff --git a/perl-Digest-Perl-MD5.spec b/perl-Digest-Perl-MD5.spec index a5e3537..1518e23 100644 --- a/perl-Digest-Perl-MD5.spec +++ b/perl-Digest-Perl-MD5.spec @@ -1,21 +1,27 @@ Name: perl-Digest-Perl-MD5 Version: 1.9 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Perl implementation of Ron Rivest's MD5 Algorithm License: GPL+ or Artistic URL: https://metacpan.org/release/Digest-Perl-MD5 -Source0: https://cpan.metacpan.org/authors/id/D/DE/DELTA/Digest-Perl-MD5-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Digest/Digest-Perl-MD5-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl-interpreter +# Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl-generators -BuildRequires: perl(Exporter) +BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(Exporter) BuildRequires: perl(integer) -BuildRequires: perl(lib) BuildRequires: perl(strict) BuildRequires: perl(Symbol) -BuildRequires: perl(Test) BuildRequires: perl(vars) +# Test Suite +BuildRequires: perl(lib) +BuildRequires: perl(Test) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Symbol) @@ -33,10 +39,9 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -%{_fixperms} %{buildroot} +find %{buildroot} -type f -name .packlist -delete +%{_fixperms} -c %{buildroot} %check make test @@ -44,9 +49,17 @@ make test %files %doc CHANGES %{perl_vendorlib}/Digest/ -%{_mandir}/man3/Digest::Perl::MD5.3pm* +%{_mandir}/man3/Digest::Perl::MD5.3* %changelog +* Mon Oct 7 2019 Paul Howarth - 1.9-18 +- Spec tidy-up + - Use author-independent source URL + - Classify buildreqs by usage + - Drop redundant buildroot cleaning in %%install section + - Simplify find command using -delete + - Fix permissions verbosely + * Fri Jul 26 2019 Fedora Release Engineering - 1.9-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild