rpms/perl-Crypt-DSA/devel perl-Crypt-DSA.spec,1.8,1.9

Paul Howarth pghmcfc at fedoraproject.org
Sat Nov 8 15:37:26 UTC 2008


Author: pghmcfc

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

Modified Files:
	perl-Crypt-DSA.spec 
Log Message:
- 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



Index: perl-Crypt-DSA.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Crypt-DSA/devel/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	8 Nov 2008 15:37:26 -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 at city-fan.org> 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 at redhat.com> 0.14-6
-- rebuild for new perl
+- Rebuild for new perl
 
 * Sat Aug 11 2007 Paul Howarth <paul at city-fan.org> 0.14-5
 - Clarify license as GPL v1 or later, or Artistic (same as perl)




More information about the Fedora-perl-devel-list mailing list