rpms/perl-Crypt-DSA/F-9 perl-Crypt-DSA.spec,1.8,1.9

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

 



Author: pghmcfc

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

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


Index: perl-Crypt-DSA.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Crypt-DSA/F-9/perl-Crypt-DSA.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- perl-Crypt-DSA.spec	6 Mar 2008 15:11:01 -0000	1.8
+++ perl-Crypt-DSA.spec	4 Dec 2008 07:41:38 -0000	1.9
@@ -1,7 +1,7 @@
 Summary:	Perl module for DSA signatures and key generation
 Name:		perl-Crypt-DSA
 Version:	0.14
-Release:	6%{?dist}
+Release:	7%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Crypt-DSA/
@@ -13,7 +13,17 @@
 BuildRequires:	perl(Data::Buffer) >= 0.01
 BuildRequires:	perl(Digest::SHA1)
 BuildRequires:	perl(ExtUtils::MakeMaker), perl(Test::More)
-BuildRequires:	which
+BuildRequires:	which, openssl
+
+# 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::DSA is an implementation of the DSA (Digital Signature Algorithm)
@@ -53,8 +63,13 @@
 %{_mandir}/man3/Crypt::DSA::Util.3pm*
 
 %changelog
+* Mon Nov  3 2008 Paul Howarth <paul@xxxxxxxxxxxx> 0.14-7
+- BuildRequire and Require a GMP support module, either Math::GMP or
+  Math::BigInt::GMP depending on how recent Math::BigInt is
+- BuildRequire openssl, which significantly speeds up the keygen test
+
 * Thu Mar  6 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> 0.14-6
-- rebuild for new perl
+- Rebuild for new perl
 
 * Sat Aug 11 2007 Paul Howarth <paul@xxxxxxxxxxxx> 0.14-5
 - 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