spec cleanup

epel9
Paul Howarth 15 years ago
parent 9866a9c4b3
commit 9e10f08d3e

@ -1,6 +1,6 @@
Name: perl-Digest-MD4
Version: 1.5
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Perl interface to the MD4 Algorithm
Group: Development/Libraries
License: GPL+ or Artistic
@ -10,11 +10,8 @@ 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))
# don't "provide" private Perl libs
%global _use_internal_dependency_generator 0
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
%global __find_requires /bin/sh -c "%{__deploop R}"
# Don't "provide" private Perl libs
%{?perl_default_filter}
%description
The Digest::MD4 module allows you to use the RSA Data Security Inc. MD4 Message
@ -34,7 +31,7 @@ message of arbitrary length and produces as output a 128-bit "fingerprint" or
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
/usr/bin/find %{buildroot} -type f -name '*.bs' -empty -exec %{__rm} -f {} ';'
/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} ';' 2>/dev/null
%{__chmod} -R u+w %{buildroot}/*
%check
@ -48,23 +45,27 @@ message of arbitrary length and produces as output a 128-bit "fingerprint" or
%doc Changes README rfc1320.txt
%{perl_vendorarch}/Digest/
%{perl_vendorarch}/auto/Digest/
%{_mandir}/man3/*.3pm*
%{_mandir}/man3/Digest::MD4.3pm*
%changelog
* Wed Nov 25 2009 Paul Howarth <paul@city-fan.org> - 1.5-10
- use %%{?perl_default_filter} for provides filter
- make %%files list more explicit
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sat Mar 7 2009 Paul Howarth <paul@city-fan.org> - 1.5-8
- Filter out unwanted provides for perl shared objects
- filter out unwanted provides for perl shared objects
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Wed Mar 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5-6
- rebuild for new perl
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5-5
- Autorebuild for GCC 4.3
- autorebuild for GCC 4.3
* Wed Nov 28 2007 Paul Howarth <paul@city-fan.org> - 1.5-4
- cosmetic spec changes for new maintainer's preferences
@ -76,10 +77,10 @@ message of arbitrary length and produces as output a 128-bit "fingerprint" or
- add BR: perl(ExtUtils::MakeMaker)
* Thu Sep 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5-3
- Rebuild for FC6.
- rebuild for FC6
* Fri Feb 17 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5-2
- Rebuild for FC5 (perl 5.8.8).
- rebuild for FC5 (perl 5.8.8)
* Sat Sep 10 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.5-1
- First build.
- first build

Loading…
Cancel
Save