rpms/perl-Crypt-DSA/EL-5 perl-Crypt-DSA.spec,1.4,1.5

Paul Howarth pghmcfc at fedoraproject.org
Fri Mar 13 14:43:52 UTC 2009


Author: pghmcfc

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

Modified Files:
	perl-Crypt-DSA.spec 
Log Message:
Clean up specs for EPEL


Index: perl-Crypt-DSA.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Crypt-DSA/EL-5/perl-Crypt-DSA.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- perl-Crypt-DSA.spec	29 Aug 2006 17:05:29 -0000	1.4
+++ perl-Crypt-DSA.spec	13 Mar 2009 14:43:21 -0000	1.5
@@ -1,18 +1,29 @@
 Summary:	Perl module for DSA signatures and key generation
 Name:		perl-Crypt-DSA
 Version:	0.14
-Release:	3%{?dist}
-License:	GPL or Artistic
+Release:	7%{?dist}
+License:	GPL+ or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Crypt-DSA/
 Source0:	http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Crypt-DSA-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:	noarch
-BuildRequires:	perl(Digest::SHA1)
 BuildRequires:	perl(Convert::PEM) >= 0.07
 BuildRequires:	perl(Data::Buffer) >= 0.01
-BuildRequires:	which
+BuildRequires:	perl(Digest::SHA1)
+BuildRequires:	perl(ExtUtils::MakeMaker), perl(Test::More)
+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)
@@ -33,14 +44,14 @@
 %{__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::DSA.3pm*
@@ -52,6 +63,22 @@
 %{_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
+
+* 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)
+- Add buildreq perl(Test::More)
+
+* Wed Apr 18 2007 Paul Howarth <paul at city-fan.org> 0.14-4
+- Buildrequire perl(ExtUtils::MakeMaker)
+- Fix argument order for find with -depth
+
 * Tue Aug 29 2006 Paul Howarth <paul at city-fan.org> 0.14-3
 - FE6 mass rebuild
 




More information about the fedora-extras-commits mailing list