Update to 1.6000

- New upstream release 1.6000
  - Sync test files with Math-BigInt-1.999800
  - Update bundled Devel::CheckLib from v1.03 to v1.07
  - Math::BigInt::GMP is now a subclass of Math::BigInt::Lib, so remove pure
    Perl methods from Math::BigInt::GMP that are implemented in the superclass
    Math::BigInt::Lib; the methods removed are _digit(), _num(), _nok(), and
    _log_int() (the version of _log_int() implemented in Math::BigInt::GMP was
    buggy anyway)
  - Fix _check() so it doesn't give a "use of uninitialized value" warning if
    given an undefined "object"
  - Trim whitespace in all files
  - Better use of the functionality in Test::More in t/bigintg.t
- Add support for build --with author_tests
This commit is contained in:
Paul Howarth 2016-11-18 10:59:25 +00:00
parent dded427376
commit 912ea68115
2 changed files with 27 additions and 6 deletions

View File

@ -1,6 +1,8 @@
%bcond_with author_tests
Name: perl-Math-BigInt-GMP
Version: 1.51
Release: 2%{?dist}
Version: 1.6000
Release: 1%{?dist}
Summary: Use the GMP library for Math::BigInt routines
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Math-BigInt-GMP/
@ -27,15 +29,19 @@ BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader) >= 0.02
# Test Suite
BuildRequires: perl(Math::BigFloat) >= 1.994
BuildRequires: perl(Math::BigInt) > 1.9997
BuildRequires: perl(Math::BigInt) >= 1.9998
BuildRequires: perl(Pod::Coverage) >= 0.18
BuildRequires: perl(Storable)
BuildRequires: perl(Test)
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::More) >= 0.94
BuildRequires: perl(Test::Pod) >= 1.22
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(threads)
BuildRequires: perl(vars)
# Author Tests
%if %{with author_tests}
BuildRequires: perl(Config::Tiny)
%endif
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -68,7 +74,7 @@ find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%check
make test
make test %{?_with_author_tests:AUTHOR_TESTING=1}
%files
%license LICENSE
@ -78,6 +84,21 @@ make test
%{_mandir}/man3/Math::BigInt::GMP.3*
%changelog
* Fri Nov 18 2016 Paul Howarth <paul@city-fan.org> - 1.6000-1
- Update to 1.6000
- Sync test files with Math-BigInt-1.999800
- Update bundled Devel::CheckLib from v1.03 to v1.07
- Math::BigInt::GMP is now a subclass of Math::BigInt::Lib, so remove pure
Perl methods from Math::BigInt::GMP that are implemented in the superclass
Math::BigInt::Lib; the methods removed are _digit(), _num(), _nok(), and
_log_int() (the version of _log_int() implemented in Math::BigInt::GMP was
buggy anyway)
- Fix _check() so it doesn't give a "use of uninitialized value" warning if
given an undefined "object"
- Trim whitespace in all files
- Better use of the functionality in Test::More in t/bigintg.t
- Add support for build --with author_tests
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.51-2
- Perl 5.24 rebuild

View File

@ -1 +1 @@
8031a287150f5f1b292e9a970447deff Math-BigInt-GMP-1.51.tar.gz
226dc854ceb7923fcfea3a08484c1cdd Math-BigInt-GMP-1.6000.tar.gz