Specify all explicitly-used build requirements

Also, remove some legacy cruft
- Drop Group: tag
- Drop explicit buildroot cleaning in %install section
epel9
Paul Howarth 7 years ago
parent c2899ca502
commit af4587904e

@ -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 <paul@city-fan.org> - 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 <releng@fedoraproject.org> - 1.9-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save