Hello community,
here is the log from the commit of package perl-Math-BigInt-GMP for
openSUSE:Factory checked in at 2019-10-18 15:42:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Math-BigInt-GMP (Old)
and /work/SRC/openSUSE:Factory/.perl-Math-BigInt-GMP.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Math-BigInt-GMP"
Fri Oct 18 15:42:24 2019 rev:21 rq:741056 version:1.6007
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Math-BigInt-GMP/perl-Math-BigInt-GMP.changes
2018-11-12 09:40:11.821294526 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Math-BigInt-GMP.new.2352/perl-Math-BigInt-GMP.changes
2019-10-18 15:42:26.719630593 +0200
@@ -1,0 +2,10 @@
+Sat Oct 12 13:46:57 UTC 2019 - <[email protected]>
+
+- updated to 1.6007
+ see /usr/share/doc/packages/perl-Math-BigInt-GMP/CHANGES
+
+ 1.6007 2019-10-10
+
+ * Sync test files with Math-BigInt.
+
+-------------------------------------------------------------------
Old:
----
Math-BigInt-GMP-1.6006.tar.gz
New:
----
Math-BigInt-GMP-1.6007.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Math-BigInt-GMP.spec ++++++
--- /var/tmp/diff_new_pack.tlPvHk/_old 2019-10-18 15:42:28.067632039 +0200
+++ /var/tmp/diff_new_pack.tlPvHk/_new 2019-10-18 15:42:28.103632077 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Math-BigInt-GMP
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,10 +17,10 @@
Name: perl-Math-BigInt-GMP
-Version: 1.6006
+Version: 1.6007
Release: 0
%define cpan_name Math-BigInt-GMP
-Summary: Backend Library for Math::Bigint Etc. Based On Gmp
+Summary: Backend library for Math::BigInt etc. based on GMP
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
@@ -29,9 +29,9 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Math::BigInt) >= 1.999812
+BuildRequires: perl(Math::BigInt) >= 1.999817
BuildRequires: perl(Test::More) >= 0.82
-Requires: perl(Math::BigInt) >= 1.999812
+Requires: perl(Math::BigInt) >= 1.999817
%{perl_requires}
# MANUAL BEGIN
BuildRequires: gmp-devel
@@ -60,10 +60,10 @@
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+make %{?_smp_mflags}
%check
-%{__make} test
+make test
%install
%perl_make_install
++++++ Math-BigInt-GMP-1.6006.tar.gz -> Math-BigInt-GMP-1.6007.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/CHANGES
new/Math-BigInt-GMP-1.6007/CHANGES
--- old/Math-BigInt-GMP-1.6006/CHANGES 2018-10-10 21:16:33.000000000 +0200
+++ new/Math-BigInt-GMP-1.6007/CHANGES 2019-10-10 11:48:08.000000000 +0200
@@ -1,3 +1,7 @@
+1.6007 2019-10-10
+
+ * Sync test files with Math-BigInt.
+
1.6006 2018-10-09
* Update MANIFEST.SKIP.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/META.json
new/Math-BigInt-GMP-1.6007/META.json
--- old/Math-BigInt-GMP-1.6006/META.json 2018-10-11 07:35:19.000000000
+0200
+++ new/Math-BigInt-GMP-1.6007/META.json 2019-10-11 18:30:18.000000000
+0200
@@ -4,7 +4,7 @@
"Peter John Acklam <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter
version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
@@ -30,7 +30,7 @@
},
"runtime" : {
"requires" : {
- "Math::BigInt" : "1.999812",
+ "Math::BigInt" : "1.999817",
"XSLoader" : "0.02",
"perl" : "5.006001"
}
@@ -42,6 +42,13 @@
}
},
"release_status" : "stable",
- "version" : "1.6006",
- "x_serialization_backend" : "JSON::PP version 2.97001"
+ "resources" : {
+ "repository" : {
+ "type" : "git",
+ "url" : "https://github.com/pjacklam/p5-Math-BigInt-GMP.git",
+ "web" : "https://github.com/pjacklam/p5-Math-BigInt-GMP"
+ }
+ },
+ "version" : "1.6007",
+ "x_serialization_backend" : "JSON::PP version 4.04"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/META.yml
new/Math-BigInt-GMP-1.6007/META.yml
--- old/Math-BigInt-GMP-1.6006/META.yml 2018-10-11 07:35:12.000000000 +0200
+++ new/Math-BigInt-GMP-1.6007/META.yml 2019-10-11 18:30:06.000000000 +0200
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '6.58'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.38, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -18,8 +18,10 @@
- t
- inc
requires:
- Math::BigInt: '1.999812'
+ Math::BigInt: '1.999817'
XSLoader: '0.02'
perl: '5.006001'
-version: '1.6006'
+resources:
+ repository: https://github.com/pjacklam/p5-Math-BigInt-GMP.git
+version: '1.6007'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/Makefile.PL
new/Math-BigInt-GMP-1.6007/Makefile.PL
--- old/Math-BigInt-GMP-1.6006/Makefile.PL 2018-10-10 18:56:06.000000000
+0200
+++ new/Math-BigInt-GMP-1.6007/Makefile.PL 2019-10-11 16:23:09.000000000
+0200
@@ -37,7 +37,7 @@
# A hash of modules that are needed to run the module.
'PREREQ_PM' => {
- 'Math::BigInt' => 1.999812,
+ 'Math::BigInt' => 1.999817,
'XSLoader' => 0.02,
},
@@ -53,4 +53,15 @@
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
'INC' => '', # e.g., '-I/usr/include/other'
'SIGN' => 1,
+
+ 'META_MERGE' => {
+ 'meta-spec' => { version => 2 },
+ resources => {
+ repository => {
+ type => 'git',
+ url => 'https://github.com/pjacklam/p5-Math-BigInt-GMP.git',
+ web => 'https://github.com/pjacklam/p5-Math-BigInt-GMP',
+ },
+ },
+ },
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/SIGNATURE
new/Math-BigInt-GMP-1.6007/SIGNATURE
--- old/Math-BigInt-GMP-1.6006/SIGNATURE 2018-10-11 07:43:44.000000000
+0200
+++ new/Math-BigInt-GMP-1.6007/SIGNATURE 2019-10-11 18:31:13.000000000
+0200
@@ -15,21 +15,21 @@
Hash: SHA1
SHA256 b173bc6027df00777c94cc36850ef64f7b2affeb8ec85593fee91eff5ce4a899 BUGS
-SHA256 6cdfd9e731cb174d0cc060a17f4700e7498f963c521ef840393d3481ed29f551 CHANGES
+SHA256 ce47dc1e97eb39fa8488fa89f8c07aa155329b74d0d5c1543369a7b2ace7b50f CHANGES
SHA256 15123cad594aefe6f9f78a0b637ba685991f36865f561686d57c61b13eca1ae0 CREDITS
SHA256 b5642dd4d311238f8b6010dbe771eef8d35b084a0a932d58581a524be724e26b GMP.xs
SHA256 b857edab549ac6893e2df5e1ec768ee46b62bcf1607a55e876f4d23f079eacce LICENSE
SHA256 70c636b2893e40f9c55f20b1a70e4dd6c042aed3fa2bd0169c4172dead0a8bc5
MANIFEST
SHA256 529eee0434630e4634667e74dadfa97343658d3ab9d3e581c55b7ec7eb02cb76
MANIFEST.SKIP
-SHA256 bbd9faca4ca689e3490c91c43cbd910e02df2cd9ce7b3353277fc7a4966b9075
META.json
-SHA256 4070ec7bce2fbea60122fec932307434510ce587882886aa8ed3ad96302a01eb
META.yml
-SHA256 03d9e77814965207ab7ccce633f7547e9b0bb5b87e4c73892efd6c530669e0a2
Makefile.PL
+SHA256 81766a6f58568ca84fa0a31363ea108fbd333821e0e29847fb55916f26aae77d
META.json
+SHA256 f96bf6a7059b7629695464cfd861d46272bca6b2fed5ea3ff8d356a10593bb7f
META.yml
+SHA256 148a68999820bfe4975d7f75959032faf0d21af3ad6ec20b760368480e54ca33
Makefile.PL
SHA256 7e6c172b87e8f6c09d725916d3032465dcb193dff8a726aaad7880710c36b064 README
SHA256 672c89aacd483edd14cbe5ee7db5dfa2991addad05f0d920d2424dfe507592f0 TODO
SHA256 ceed5e08784e849958f8aa74c536c008ad89cdce1612571ee38321293fc91250
build/README
SHA256 9850d025676d6bd49c4703ae2091f95266cf457a5b033f457b9cf073f6a2c33f
build/leak.pl
SHA256 fbe60701f97bf64e468ebaae5fb4805409a61fa71793133d14909e0b9733e9fc
build/leaktest
-SHA256 e7c5d5b58f64734dfd0cb8322dd4e73dfc385eeeb1b91d836df011ed1de929a8
lib/Math/BigInt/GMP.pm
+SHA256 c9805590d7faa58376776758fa42e1be8b185391ba87238bab1b165bf0d9736b
lib/Math/BigInt/GMP.pm
SHA256 e887b97b1d39e2e8ff68cf06009bc5ee55f16bfdeaf53a1c18712a510f67568c
t/00sig.t
SHA256 fbfca5646b8f6a5e08366f9ed860110264c018d5a6980f3fc5b52dbd5c46b027
t/01load.t
SHA256 400f4b0e486d7b9dad8eb9b2d5dc771dd862aac9dddf986588876ab38d93ca2d
t/Math/BigInt/Lib/TestUtil.pm
@@ -132,11 +132,11 @@
SHA256 67a398edb1201a0a24befef4dbe9873ff5299d4139a1920363c4d631cd8c1b14
t/author-lib-property-_zeros.t
SHA256 e082a85c4ca2c36a5f56683126ddb902e96de831dbb4558752e070739d7c3fff
t/author-lib.ini
SHA256 638df681b6904786a09ec81db4d8c0e73793624112bd1ac0cb95264b30ab0d06
t/author-lib.t
-SHA256 cb31498ed38c6bf916b21066741a6caf59aa4c29047c21b6bc7d0749b704c8bb
t/bigfltpm.inc
-SHA256 79e9d8957a518f69ca8ad2fb18303641b7795ff7386eab531450cd4a65b7e34f
t/bigfltpm.t
+SHA256 f321e825233e686a859ed77008b925e26e0ed60e573f539a864512e8d541f0f9
t/bigfltpm.inc
+SHA256 62040e0aed9e56204b8c90ff1908f14bbbbae44abec8601a0495c41172231a5f
t/bigfltpm.t
SHA256 b897283da59d652db15f3ff31efac7218ebd0d401b07a6a62fdc0e76b437d397
t/bigintg.t
-SHA256 a1ae8859b10a860cb6e310f2b7420bdf79d3fc19038ab50cad905c0db339232c
t/bigintpm.inc
-SHA256 b63f5cbe6b35ba080fc5cf66c2d97a6379ce80805d6f0eaa3b13293684dd2c2b
t/bigintpm.t
+SHA256 b2055497ccc30efabec25a2c9344523bc7a7b4b3fb27d4f02d49b42895b8c04e
t/bigintpm.inc
+SHA256 113cef1d0b9a41d8f95bc727e2d8074e6c972a85cf6d3c88cca968243d2b73f7
t/bigintpm.t
SHA256 3ae7cd0bbd6d352eeb711c2d8de7d801f43398f80c95bb550d1b65351689983b
t/biglog.t
SHA256 967b2a0051156dd8f7e70852b429273ca83cde2161706147858eab6ea625c124
t/bigroot.t
SHA256 aaa53f12d8d755ca4dcdf88d05b8e8e692e7255c6b6776983b0ad55eb451a993
t/mbi-from-big-scalar.t
@@ -153,11 +153,11 @@
SHA256 6296db315168a3a41c168961777bbeb732e61e8380c3a2a8751a3ed3f20b8351 typemap
-----BEGIN PGP SIGNATURE-----
-iQEcBAEBAgAGBQJbvuE0AAoJEGcmPl2fr166ix8IAMP68ZNq32YFcRH2QNLWKkk0
-TswNELdz14K1YhZp3CMzwATYAtLcpdVjLj/yfisJlWX/+/l7i1N86Qbo65u9Q5Kj
-wLpWG+nAfL6RXqC7DJ25vrWibUvzWmPyZ2+QWfFjjoNyqDwnGJZAby/iTwkpijuK
-DFRbyX2ZX69beu8qfWajG0AXSvKtW1+6q0ffBx5eEAtUWDLYbY51W39/Y3uB4nhy
-kRnLHiIMyGvPDCqoCKcYYc7EzDlgu37tjISNlWq/3DFqS+NkcsE49BidbpgRW3Tq
-91OlXJRXX3761DJMEw/GVToPqnpZxAXwT2jKgs2Kv6foyySfvoQqlK4LuDWL3/c=
-=DoHq
+iQEcBAEBAgAGBQJdoK5BAAoJEGcmPl2fr166W4IH/AmXm9UBKcY5jSdB62q8uqG9
+kCqAiPtvEEvOHL6vZ6KarckHaQgu7lzbTlh0UuJCHWs/+6gc62ULT6g3UxTZlnHe
+9jxXzeeBDLb6pXdHdzCDE6Rayfxr3Us3LS6p6qhvDPwOHBzOqv2wPpj7hhSEne8q
+ZrjRMz7EoSVqouyn8EjaPqQvg+U7bGTYHhyomD3VpT922Ffv6vRUGMGIXGkmWr3M
+Pd3HNS2yYkIGY/X3+BUA0W5d5B4JhsWip6pLaMyH7Jc25Y9rtTaszM5ThCAIipyL
+X/KQvywC7uMhcRl4MO4ZJnhsDyPisPlPDEcVCXZL1smHnA3o7SajjKrF+MsUQXk=
+=sfzK
-----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/lib/Math/BigInt/GMP.pm
new/Math-BigInt-GMP-1.6007/lib/Math/BigInt/GMP.pm
--- old/Math-BigInt-GMP-1.6006/lib/Math/BigInt/GMP.pm 2018-10-09
18:08:06.000000000 +0200
+++ new/Math-BigInt-GMP-1.6007/lib/Math/BigInt/GMP.pm 2019-10-10
13:26:51.000000000 +0200
@@ -8,7 +8,7 @@
our @ISA = qw< Math::BigInt::Lib >;
-our $VERSION = '1.6006';
+our $VERSION = '1.6007';
use XSLoader;
XSLoader::load "Math::BigInt::GMP", $VERSION;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/t/bigfltpm.inc
new/Math-BigInt-GMP-1.6007/t/bigfltpm.inc
--- old/Math-BigInt-GMP-1.6006/t/bigfltpm.inc 2018-10-01 12:29:44.000000000
+0200
+++ new/Math-BigInt-GMP-1.6007/t/bigfltpm.inc 2018-12-11 20:50:15.000000000
+0100
@@ -37,7 +37,7 @@
$try = qq|\$x = $CLASS->new("$args[0]");|;
if ($f eq "bnorm") {
$try .= qq| \$x;|;
- } elsif ($f =~ /^is_(zero|one|odd|even|negative|positive|nan|int)$/) {
+ } elsif ($f =~
/^is_(zero|one|odd|even||(non_)?(negative|positive)|nan|int)$/) {
$try .= qq| \$x->$f();|;
} elsif ($f eq "is_inf") {
$try .= qq| \$x->is_inf("$args[1]");|;
@@ -2183,6 +2183,22 @@
-inf:1
+inf:0
+&is_non_positive
+0:1
+1:0
+-1:1
+NaN:0
+-inf:1
++inf:0
+
+&is_non_negative
+0:1
+1:1
+-1:0
+NaN:0
+-inf:0
++inf:1
+
&parts
0:0 0
1:1 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/t/bigfltpm.t
new/Math-BigInt-GMP-1.6007/t/bigfltpm.t
--- old/Math-BigInt-GMP-1.6006/t/bigfltpm.t 2018-10-01 12:42:47.000000000
+0200
+++ new/Math-BigInt-GMP-1.6007/t/bigfltpm.t 2018-12-11 20:50:16.000000000
+0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use Test::More tests => 2818 # tests in require'd file
+use Test::More tests => 2830 # tests in require'd file
+ 19; # tests in this file
use Math::BigInt only => 'GMP';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/t/bigintpm.inc
new/Math-BigInt-GMP-1.6007/t/bigintpm.inc
--- old/Math-BigInt-GMP-1.6006/t/bigintpm.inc 2018-10-01 12:29:46.000000000
+0200
+++ new/Math-BigInt-GMP-1.6007/t/bigintpm.inc 2019-10-09 14:47:10.000000000
+0200
@@ -68,7 +68,7 @@
$try = qq|\$x = $CLASS->new("$args[0]");|;
if ($f eq "bnorm") {
$try = qq|\$x = $CLASS->bnorm("$args[0]");|;
- } elsif ($f =~ /^is_(zero|one|odd|even|negative|positive|nan|int)$/) {
+ } elsif ($f =~
/^is_(zero|one|odd|even|(non_)?(negative|positive)|nan|int)$/) {
$try .= " \$x->$f() || 0;";
} elsif ($f eq "is_inf") {
$try .= qq| \$x->is_inf("$args[1]");|;
@@ -787,17 +787,26 @@
my @bl = $LIB->_base_len();
my $bl = $bl[5];
- $x = '1' x $bl . '0' x $bl . '1' x $bl . '0' x $bl;
+ # Compute the value.
+ $x = ('1' x $bl) . ('0' x $bl) . ('1' x $bl) . ('0' x $bl);
$y = '1' x (2 * $bl);
$x = $CLASS->new($x)->bmul($y);
- # result is 123..$bl . $bl x (3*bl-1) . $bl...321 . '0' x $bl
+
+ # Build the expected output.
$y = '';
- my $d = '';
- for (my $i = 1; $i <= $bl; $i++) {
- $y .= $i;
- $d = $i . $d;
+ if ($bl >= 2) {
+ $y .= '123456790' x int(($bl - 2) / 9);
+ $y .= substr '123456790', 0, ($bl - 2) % 9;
+ $y .= ($bl - 1) % 9;
+ }
+ $y .= ((($bl - 1) % 9) + 1) x ($bl * 3);
+ if ($bl >= 2) {
+ $y .= substr '098765432', -(($bl - 1) % 9);
+ $y .= '098765432' x int(($bl - 2) / 9);
}
- $y .= $bl x (3 * $bl - 1) . $d . '0' x $bl;
+ $y .= '1';
+ $y .= '0' x $bl;
+
is($x, $y, "testing number with a zero-hole of BASE_LEN_SMALL");
#########################################################################
@@ -1077,6 +1086,22 @@
-inf:0
invalid:0
+&is_non_negative
+0:1
+-1:0
+1:1
++inf:1
+-inf:0
+NaN:0
+
+&is_non_positive
+0:1
+-1:1
+1:0
++inf:0
+-inf:1
+NaN:0
+
&is_int
-inf:0
+inf:0
@@ -2850,9 +2875,9 @@
-inf:NaN:NaN
#
-3:-inf:0
--3:-3:NaN
--3:-2:NaN
--3:-1:NaN
+-3:-3:0
+-3:-2:0
+-3:-1:0
-3:0:1
-3:1:-3
-3:2:9
@@ -2861,9 +2886,9 @@
-3:NaN:NaN
#
-2:-inf:0
--2:-3:NaN
--2:-2:NaN
--2:-1:NaN
+-2:-3:0
+-2:-2:0
+-2:-1:0
-2:0:1
-2:1:-2
-2:2:4
@@ -2905,9 +2930,9 @@
1:NaN:NaN
#
2:-inf:0
-2:-3:NaN
-2:-2:NaN
-2:-1:NaN
+2:-3:0
+2:-2:0
+2:-1:0
2:0:1
2:1:2
2:2:4
@@ -2916,9 +2941,9 @@
2:NaN:NaN
#
3:-inf:0
-3:-3:NaN
-3:-2:NaN
-3:-1:NaN
+3:-3:0
+3:-2:0
+3:-1:0
3:0:1
3:1:3
3:2:9
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Math-BigInt-GMP-1.6006/t/bigintpm.t
new/Math-BigInt-GMP-1.6007/t/bigintpm.t
--- old/Math-BigInt-GMP-1.6006/t/bigintpm.t 2018-10-01 12:42:50.000000000
+0200
+++ new/Math-BigInt-GMP-1.6007/t/bigintpm.t 2018-12-11 20:50:17.000000000
+0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use Test::More tests => 4026 # tests in require'd file
+use Test::More tests => 4038 # tests in require'd file
+ 20; # tests in this file
use Math::BigInt only => 'GMP';