rpms/perl-Digest-MD2/devel perl-Digest-MD2.spec,1.3,1.4

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Mar 8 14:08:38 UTC 2007


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Digest-MD2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32692

Modified Files:
	perl-Digest-MD2.spec 
Log Message:
Buildrequire perl-devel for Fedora 7 onwards


Index: perl-Digest-MD2.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Digest-MD2/devel/perl-Digest-MD2.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Digest-MD2.spec	29 Aug 2006 17:25:58 -0000	1.3
+++ perl-Digest-MD2.spec	8 Mar 2007 14:08:06 -0000	1.4
@@ -1,13 +1,16 @@
 Summary:	Perl interface to the MD2 Algorithm
 Name:		perl-Digest-MD2
 Version:	2.03
-Release:	3%{?dist}
+Release:	4%{?dist}
 License:	GPL or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Digest-MD2/
 Source0:	http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-MD2-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%if 0%{?fedora} > 6
+BuildRequires:	perl-devel
+%endif
 
 %description
 The Digest::MD2 module allows you to use the RSA Data Security Inc. MD2 Message
@@ -33,20 +36,24 @@
 %{__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' -a -size 0 -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 README Changes rfc1319.txt 
 %{perl_vendorarch}/Digest/
 %{perl_vendorarch}/auto/Digest/
 %{_mandir}/man3/Digest::MD2.3pm*
 
 %changelog
+* Thu Mar  8 2007 Paul Howarth <paul at city-fan.org> 2.03-4
+- 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> 2.03-3
 - FE6 mass rebuild
 




More information about the fedora-extras-commits mailing list