rpms/perl-Crypt-DH/F-9 perl-Crypt-DH.spec,1.9,1.10

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: pghmcfc

Update of /cvs/pkgs/rpms/perl-Crypt-DH/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9237

Modified Files:
	perl-Crypt-DH.spec 
Log Message:
Use Math::BigInt::GMP


Index: perl-Crypt-DH.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Crypt-DH/F-9/perl-Crypt-DH.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- perl-Crypt-DH.spec	6 Mar 2008 15:09:50 -0000	1.9
+++ perl-Crypt-DH.spec	3 Dec 2008 23:20:53 -0000	1.10
@@ -4,7 +4,7 @@
 Summary:	Perl module implementing the Diffie-Hellman key exchange system
 Name:		perl-Crypt-DH
 Version:	0.06
-Release:	8%{?dist}
+Release:	9%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Crypt-DH/
@@ -14,6 +14,16 @@
 BuildArch:	noarch
 BuildRequires:	perl(ExtUtils::MakeMaker), perl(Test::More)
 
+# Pull in Math::BigInt::GMP for GMP support for suitably recent versions of Math::BigInt
+# else use Math::GMP
+%if %(%{__perl} -MMath::BigInt -e 'use Math::BigInt 1.87;' 2>/dev/null && echo 1 || echo 0)
+BuildRequires:	perl(Math::BigInt::GMP)
+Requires:	perl(Math::BigInt::GMP)
+%else
+BuildRequires:	perl(Math::GMP)
+Requires:	perl(Math::GMP)
+%endif
+
 %description
 Crypt::DH is a Perl implementation of the Diffie-Hellman key exchange system.
 Diffie-Hellman is an algorithm by which two parties can agree on a shared
@@ -48,8 +58,12 @@
 %{_mandir}/man3/Crypt::DH.3pm*
 
 %changelog
+* Tue Nov  4 2008 Paul Howarth <paul@xxxxxxxxxxxx> 0.06-9
+- BuildRequire and Require a GMP support module, either Math::GMP or
+  Math::BigInt::GMP depending on how recent Math::BigInt is
+
 * Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> 0.06-8
-- rebuild for new perl
+- Rebuild for new perl
 
 * Sat Aug 11 2007 Paul Howarth <paul@xxxxxxxxxxxx> 0.06-7
 - Clarify license as GPL v1 or later, or Artistic (same as perl)

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux