diff --git a/perl-Crypt-SmbHash.spec b/perl-Crypt-SmbHash.spec index 1ee0222..df0f791 100644 --- a/perl-Crypt-SmbHash.spec +++ b/perl-Crypt-SmbHash.spec @@ -1,7 +1,7 @@ Summary: Pure-perl Lanman and NT MD4 hash functions Name: perl-Crypt-SmbHash Version: 0.12 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL Group: Development/Libraries Url: http://search.cpan.org/dist/Crypt-SmbHash/ @@ -11,6 +11,9 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(Digest::MD4) Requires: perl(Digest::MD4) BuildArch: noarch +%if 0%{?fedora} > 6 +BuildRequires: perl-devel +%endif %description This module generates Lanman and NT MD4 style password hashes, using perl-only @@ -31,19 +34,23 @@ systems. %{__rm} -rf %{buildroot} %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} /usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';' -/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';' +/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';' %{__chmod} -R u+w %{buildroot}/* %clean %{__rm} -rf %{buildroot} %files -%defattr(-,root,root,0755) +%defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/Crypt/ %{_mandir}/man3/Crypt::SmbHash.3pm* %changelog +* Thu Mar 8 2007 Paul Howarth 0.12-5 +- Buildrequire perl-devel for Fedora 7 onwards +- Fix argument order for find with -depth + * Tue Aug 29 2006 Paul Howarth 0.12-4 - FE6 mass rebuild