- cosmetic spec changes for new maintainer's preferences

- fix argument order for find with -depth
- add buildreqs db4-devel and gdbm-devel for alignment optimization
epel9
Paul Howarth 17 years ago
parent 7cf6a291b5
commit 1d18b8b2da

@ -1,49 +1,41 @@
Name: perl-Digest-MD4 Name: perl-Digest-MD4
Version: 1.5 Version: 1.5
Release: 3%{?dist}.1 Release: 4%{?dist}
Summary: Perl interface to the MD4 Algorithm Summary: Perl interface to the MD4 Algorithm
Group: Development/Libraries
Group: Development/Libraries License: GPL+ or Artistic
License: GPL+ or Artistic URL: http://search.cpan.org/dist/Digest-MD4/
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
Source0: http://www.cpan.org/authors/id/M/MI/MIKEM/DigestMD4/Digest-MD4-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(ExtUtils::MakeMaker), db4-devel, gdbm-devel
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
The Digest::MD4 module allows you to use the RSA Data Security The Digest::MD4 module allows you to use the RSA Data Security Inc. MD4 Message
Inc. MD4 Message Digest algorithm from within Perl programs. The Digest algorithm from within Perl programs. The algorithm takes as input a
algorithm takes as input a message of arbitrary length and produces as message of arbitrary length and produces as output a 128-bit "fingerprint" or
output a 128-bit "fingerprint" or "message digest" of the input. "message digest" of the input.
%prep %prep
%setup -q -n Digest-MD4-%{version} %setup -q -n Digest-MD4-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags} %{__make} %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' /usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' /usr/bin/find %{buildroot} -type f -name '*.bs' -empty -exec %{__rm} -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' /usr/bin/find %{buildroot} -depth -type d -exec %{__rmdir} {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/* %{__chmod} -R u+w %{buildroot}/*
%check %check
make test %{__make} test
%clean %clean
rm -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -52,8 +44,12 @@ rm -rf $RPM_BUILD_ROOT
%{perl_vendorarch}/auto/Digest/ %{perl_vendorarch}/auto/Digest/
%{_mandir}/man3/*.3pm* %{_mandir}/man3/*.3pm*
%changelog %changelog
* Wed Nov 28 2007 Paul Howarth <paul@city-fan.org> - 1.5-4
- cosmetic spec changes for new maintainer's preferences
- fix argument order for find with -depth
- add buildreqs db4-devel and gdbm-devel for alignment optimization
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-3.1 * Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-3.1
- correct license tag - correct license tag
- add BR: perl(ExtUtils::MakeMaker) - add BR: perl(ExtUtils::MakeMaker)

Loading…
Cancel
Save