[perl-Crypt-DH] Update to 0.07

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

 



commit 5e8cb8f0eabe2072242c8918ce25e230edd9464a
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Fri Jul 6 12:48:52 2012 +0100

    Update to 0.07
    
    - New upstream release 0.07
      - Made Math::BigInt::* dependency dynamic to avoid Math::BigInt falling back
        to BigInt backends that are too slow for practical use
    - This release by MITHALDU -> update source URL
    - Always require perl(Math::BigInt) >= 1.60 and perl(Math::BigInt::GMP) ≥ 1.24
    - Drop BR: perl(Test::More) as it's bundled
    - BR: perl(Test::Builder::Module), requirement of bundled perl(Test::More)
    - BR: perl(base), perl(Cwd), perl(File::Path), perl(File::Spec),
      perl(File::Temp) and perl(Text::ParseWords) for installer
    - Use --skipdeps with Makefile.PL to stop it trying to download and install
      Math::BigInt::Pari
    - Drop without-checks conditional as test suite is no longer slow
    - Remove unnecessary exec bits from files in upstream tarball
    - Package README, with fixed line endings

 .gitignore         |    2 +-
 perl-Crypt-DH.spec |   67 +++++++++++++++++++++++++++++++++++-----------------
 sources            |    2 +-
 3 files changed, 47 insertions(+), 24 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 05a0c56..68ee209 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-Crypt-DH-0.06.tar.gz
+/Crypt-DH-[0-9.]*.tar.gz
diff --git a/perl-Crypt-DH.spec b/perl-Crypt-DH.spec
index 0154ee6..b24dcb5 100644
--- a/perl-Crypt-DH.spec
+++ b/perl-Crypt-DH.spec
@@ -1,27 +1,30 @@
-# To skip the lengthy test suite, use:
-# rpmbuild --without checks
-
 Summary:	Perl module implementing the Diffie-Hellman key exchange system
 Name:		perl-Crypt-DH
-Version:	0.06
-Release:	18%{?dist}
+Version:	0.07
+Release:	1%{?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
+Source0:	http://search.cpan.org/CPAN/authors/id/M/MI/MITHALDU/Crypt-DH-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 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
+# =============== Module Build ==================
+BuildRequires:	perl(base)
+BuildRequires:	perl(Cwd)
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(File::Path)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(Text::ParseWords)
+# =============== Module Runtime ================
+BuildRequires:	perl(Math::BigInt) >= 1.60
+BuildRequires:	perl(Math::BigInt::GMP) >= 1.24
+# =============== Test Suite ====================
+BuildRequires:	perl(Test::Builder::Module)
+# =============== Module Runtime ================
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:	perl(Math::BigInt) >= 1.60
+Requires:	perl(Math::BigInt::GMP) >= 1.24
 
 %description
 Crypt::DH is a Perl implementation of the Diffie-Hellman key exchange system.
@@ -33,31 +36,51 @@ private keys, between them.
 %prep
 %setup -q -n Crypt-DH-%{version}
 
+# Remove unnecessary exec bits
+find . -type f -print0 | xargs -0 chmod -c -x
+
+# Fix line endings of documentation
+sed -i -e 's/\r$//' README
+
 %build
-perl Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor --skipdeps
 make %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 %{_fixperms} %{buildroot}
 
 %check
-%{!?_without_checks:make test}
+make test
 
 %clean
 rm -rf %{buildroot}
 
 %files
-%defattr(-,root,root,-)
-%doc Changes ToDo
+%doc Changes README ToDo
 %{perl_vendorlib}/Crypt/
 %{_mandir}/man3/Crypt::DH.3pm*
 
 %changelog
-* Thu Jun 14 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.06-18
+* Fri Jul  6 2012 Paul Howarth <paul@xxxxxxxxxxxx> 0.07-1
+- Update to 0.07
+  - Made Math::BigInt::* dependency dynamic to avoid Math::BigInt falling back
+    to BigInt backends that are too slow for practical use
+- This release by MITHALDU -> update source URL
+- Always require perl(Math::BigInt) >= 1.60 and perl(Math::BigInt::GMP) ≥ 1.24
+- Drop BR: perl(Test::More) as it's bundled
+- BR: perl(Test::Builder::Module), requirement of bundled perl(Test::More)
+- BR: perl(base), perl(Cwd), perl(File::Path), perl(File::Spec),
+  perl(File::Temp) and perl(Text::ParseWords) for installer
+- Use --skipdeps with Makefile.PL to stop it trying to download and install
+  Math::BigInt::Pari
+- Drop without-checks conditional as test suite is no longer slow
+- Remove unnecessary exec bits from files in upstream tarball
+- Package README, with fixed line endings
+
+* Thu Jun 14 2012 Petr Pisar <ppisar@xxxxxxxxxx> 0.06-18
 - Perl 5.16 rebuild
 
 * Tue Jan 10 2012 Paul Howarth <paul@xxxxxxxxxxxx> 0.06-17
diff --git a/sources b/sources
index d74b45b..9ec1f76 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eabecac024d427c670a6e0edbadcec5d  Crypt-DH-0.06.tar.gz
+5494c91420bf77de4af808fcafb6c3ce  Crypt-DH-0.07.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[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