diff --git a/perl-Digest-MD4.spec b/perl-Digest-MD4.spec index 8358466..818ecaf 100644 --- a/perl-Digest-MD4.spec +++ b/perl-Digest-MD4.spec @@ -1,21 +1,33 @@ Name: perl-Digest-MD4 Version: 1.9 -Release: 9%{?dist} +Release: 10%{?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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +# Module Build %if 0%{?fedora} > 13 || 0%{?rhel} > 6 BuildRequires: libdb-devel %else BuildRequires: db4-devel %endif BuildRequires: gdbm-devel -BuildRequires: perl(Exporter) +BuildRequires: perl +BuildRequires: perl-devel +BuildRequires: perl(Config) BuildRequires: perl(ExtUtils::MakeMaker) +# Module Runtime +BuildRequires: perl(DynaLoader) +BuildRequires: perl(Exporter) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Test Suite +BuildRequires: perl(Encode) BuildRequires: perl(File::Spec) +BuildRequires: perl(MIME::Base64) +# Dependencies Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) # Don't "provide" private Perl libs @@ -37,8 +49,8 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} ';' -find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' +find %{buildroot} -type f -name .packlist -delete +find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} %{buildroot} %check @@ -51,9 +63,13 @@ rm -rf %{buildroot} %doc Changes README rfc1320.txt %{perl_vendorarch}/Digest/ %{perl_vendorarch}/auto/Digest/ -%{_mandir}/man3/Digest::MD4.3pm* +%{_mandir}/man3/Digest::MD4.3* %changelog +* Tue Apr 19 2016 Paul Howarth - 1.9-10 +- Classify buildreqs by usage +- Simplify find command using -delete + * Thu Feb 04 2016 Fedora Release Engineering - 1.9-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild