rpms/perl-Crypt-SmbHash/devel perl-Crypt-SmbHash.spec,1.3,1.4

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Mar 8 13:15:42 UTC 2007


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Crypt-SmbHash/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27590

Modified Files:
	perl-Crypt-SmbHash.spec 
Log Message:
Buildrequire perl-devel for Fedora 7 onwards


Index: perl-Crypt-SmbHash.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Crypt-SmbHash/devel/perl-Crypt-SmbHash.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Crypt-SmbHash.spec	29 Aug 2006 17:16:46 -0000	1.3
+++ perl-Crypt-SmbHash.spec	8 Mar 2007 13:15:09 -0000	1.4
@@ -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 @@
 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 @@
 %{__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 <paul at city-fan.org> 0.12-5
+- Buildrequire perl-devel for Fedora 7 onwards
+- Fix argument order for find with -depth
+
 * Tue Aug 29 2006 Paul Howarth <paul at city-fan.org> 0.12-4
 - FE6 mass rebuild
 




More information about the fedora-extras-commits mailing list