rpms/perl-Crypt-DH/devel perl-Crypt-DH.spec,1.5,1.6

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Mar 8 11:23:06 UTC 2007


Author: pghmcfc

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

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


Index: perl-Crypt-DH.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Crypt-DH/devel/perl-Crypt-DH.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-Crypt-DH.spec	29 Aug 2006 17:00:59 -0000	1.5
+++ perl-Crypt-DH.spec	8 Mar 2007 11:22:33 -0000	1.6
@@ -4,7 +4,7 @@
 Summary:	Perl module implementing the Diffie-Hellman key exchange system
 Name:		perl-Crypt-DH
 Version:	0.06
-Release:	5%{?dist}
+Release:	6%{?dist}
 License:	GPL or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Crypt-DH/
@@ -12,6 +12,9 @@
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:	noarch
+%if 0%{?fedora} > 6
+BuildRequires:	perl-devel
+%endif
 
 %description
 Crypt::DH is a Perl implementation of the Diffie-Hellman key exchange system.
@@ -34,19 +37,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 ToDo
 %{perl_vendorlib}/Crypt/
 %{_mandir}/man3/Crypt::DH.3pm*
 
 %changelog
+* Thu Mar  8 2007 Paul Howarth <paul at city-fan.org> 0.06-6
+- 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.06-5
 - FE6 mass rebuild
 




More information about the scm-commits mailing list