From af4587904e6c593694e9681ecc575540810c5996 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Tue, 20 Feb 2018 14:33:31 +0000 Subject: [PATCH] Specify all explicitly-used build requirements Also, remove some legacy cruft - Drop Group: tag - Drop explicit buildroot cleaning in %install section --- perl-Digest-MD4.spec | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/perl-Digest-MD4.spec b/perl-Digest-MD4.spec index 5717a47..0fe710c 100644 --- a/perl-Digest-MD4.spec +++ b/perl-Digest-MD4.spec @@ -1,21 +1,24 @@ Name: perl-Digest-MD4 Version: 1.9 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Perl interface to the MD4 Algorithm -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Digest-MD4/ Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-%{version}.tar.gz # Module Build +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: gcc +BuildRequires: gdbm-devel %if 0%{?fedora} > 13 || 0%{?rhel} > 6 BuildRequires: libdb-devel %else BuildRequires: db4-devel %endif -BuildRequires: gdbm-devel -BuildRequires: perl-interpreter +BuildRequires: make BuildRequires: perl-devel BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime @@ -47,11 +50,10 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install -rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete find %{buildroot} -type f -name '*.bs' -empty -delete -%{_fixperms} %{buildroot} +%{_fixperms} -c %{buildroot} %check make test @@ -63,6 +65,13 @@ make test %{_mandir}/man3/Digest::MD4.3* %changelog +* Tue Feb 20 2018 Paul Howarth - 1.9-17 +- Specify all explicitly-used build requirements +- Remove some legacy cruft + - Drop BuildRoot: and Group: tags + - Drop explicit %%clean section + - Drop explicit buildroot cleaning in %%install section + * Thu Feb 08 2018 Fedora Release Engineering - 1.9-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild