rpms/perl-Crypt-DH/EL-5 perl-Crypt-DH.spec,1.5,1.6
Paul Howarth
pghmcfc at fedoraproject.org
Fri Mar 13 11:59:02 UTC 2009
Author: pghmcfc
Update of /cvs/pkgs/rpms/perl-Crypt-DH/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1409/EL-5
Modified Files:
perl-Crypt-DH.spec
Log Message:
Clean up specs prior to first build
Index: perl-Crypt-DH.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Crypt-DH/EL-5/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 13 Mar 2009 11:58:32 -0000 1.6
@@ -4,14 +4,25 @@
Summary: Perl module implementing the Diffie-Hellman key exchange system
Name: perl-Crypt-DH
Version: 0.06
-Release: 5%{?dist}
-License: GPL or Artistic
+Release: 9%{?dist}
+License: GPL+ or Artistic
Group: Development/Libraries
Url: http://search.cpan.org/dist/Crypt-DH/
Source0: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/Crypt-DH-%{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(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.
@@ -34,19 +45,34 @@
%{__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
+* Tue Nov 4 2008 Paul Howarth <paul at city-fan.org> 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 at redhat.com> 0.06-8
+- Rebuild for new perl
+
+* Sat Aug 11 2007 Paul Howarth <paul at city-fan.org> 0.06-7
+- 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.06-6
+- Buildrequire perl(ExtUtils::MakeMaker)
+- 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