Update to 1.8

- New upstream release 1.8
  - Fixed example output in doc in MD4.pm
  - Removed defunct code that prevented building on 64-bit platform
- BR: perl(Exporter) and perl(File::Spec)
- BR: libdb-devel where available
- Drop %defattr, redundant since rpm 4.4
- No need to remove empty directories from the buildroot
epel9
Paul Howarth 12 years ago
parent f53f282ac6
commit 33d0c86d05

2
.gitignore vendored

@ -1 +1 @@
Digest-MD4-1.5.tar.gz
/Digest-MD4-[0-9.]*.tar.gz

@ -1,13 +1,21 @@
Name: perl-Digest-MD4
Version: 1.5
Release: 20%{?dist}
Version: 1.8
Release: 1%{?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)
BuildRequires: perl(ExtUtils::MakeMaker), db4-devel, gdbm-devel
%if 0%{?fedora} > 13 || 0%{?rhel} > 6
BuildRequires: libdb-devel
%else
BuildRequires: db4-devel
%endif
BuildRequires: gdbm-devel
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Don't "provide" private Perl libs
@ -31,7 +39,6 @@ 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} -depth -type d -exec rmdir {} ';' 2>/dev/null
%{_fixperms} %{buildroot}
%check
@ -41,13 +48,21 @@ make test
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README rfc1320.txt
%{perl_vendorarch}/Digest/
%{perl_vendorarch}/auto/Digest/
%{_mandir}/man3/Digest::MD4.3pm*
%changelog
* Fri Mar 15 2013 Paul Howarth <paul@city-fan.org> - 1.8-1
- Update to 1.8
- Fixed example output in doc in MD4.pm
- Removed defunct code that prevented building on 64-bit platform
- BR: perl(Exporter) and perl(File::Spec)
- BR: libdb-devel where available
- Drop %%defattr, redundant since rpm 4.4
- No need to remove empty directories from the buildroot
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

@ -1 +1 @@
594d661c18b46a4aea97931dcaf5ce14 Digest-MD4-1.5.tar.gz
b6e612cde0bfc48a580724db42291e15 Digest-MD4-1.8.tar.gz

Loading…
Cancel
Save