8
0

Compare commits

...

50 Commits

Author SHA256 Message Date
5ecdb63362 Accepting request 1278588 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1278588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=53
2025-05-20 15:04:28 +00:00
ce43fe8fec Accepting request 1276521 from devel:languages:perl:autoupdate
- updated to 2.005003
   see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
  2.005003 2025-04-13
  * Add new methods to_fp80() and from_fp80() for encoding and decoding values in
    the x86 extended-precision 80 bit format.
  2.005002 2025-03-28
  * Fix the handling of read-only objects in bblsft() and bbrsft() in
    Math::BigFloat and Math::BigRat.
  2.005001 2025-03-25
  New:
  * Add new method bperm() to Math::BigInt, Math::BigFloat, and Math::BigRat.
  * Add the following methods to Math::BigRat and Math::BigFloat:
      bilog2(), bilog10(), bclog2(), bclog10(), bfib(), blucas(),
      from_bytes(), from_base(), to_bytes(), to_ieee754()
  * Add method bmuladd(), bgcd(), and blcm() to Math::BigRat.
  * Add method bpi() to Math::BigRat. It returns a rational approximation of PI
    accurate to the specified accuracy or precision, or the default accuracy if
    no accuracy is specified.
  * Add methods bdstr(), bnstr(), and bestr() to Math::BigRat.
  * Add support for rounding in Math::BigFloat methods bdstr(), bestr(), bnstr(),
    and bestr().
  * Add method from_ieee754() to Math::BigInt and Math::BigRat, including
    documentation. In Math::BigInt, from_ieee754() is similar to the other
    from_xxx() methods in that way that it returns a NaN if the input is a finite
    non-integer.
  * Add new backend library method _scmp() for doing signed comparison.
  Changes/Improvements:
  * Method new() now always returns a new object, as would be expected.
  * Make bgcd() in Math::BigRat and Math::BigFloat support non-integer arguments.
    Now, bgcd(0.8, 1.2) in Math::BigFloat returns 0.4, and bgcd(4/5, 6/5) in
    Math::BigRat returns 2/5.
  * Make blcm(0, 0) work the same way in Math::BigInt, Math::BigRat, and
    Math::BigFloat. Now blcm(0, 0) is always 0.
  * Correct the documentation for is_inf(), bceil() and bfloor()
  * Methods bdiv() and bmod() are now aliases to bfdiv() and bfmod(),
    respectively. (This doesn't change the behaviour of bdiv() and bmod().)
  * Math::BigFloat methods bfmod() and btmod() are faster than before.
  * Improve documentation for bnok().
  * Improve upgrading and downgrading, e.g., use $class->upgrade() rather than
    just $upgrade, since the former works better for sublasses.
  Fixes:
  * Add missing calls to modify().
  * All boolean methods now return 1 or 0. Some would return 1 or "".
  * Harmonise methods in different classes so they behave similarly, at least to
    the extent possible.
  * Fix bug in Math::BigInt->bfib() causing sign to be incorrect for some of the
    output values when bfib() was called in list context with a negative input.
  * Correct miscellaneous typos and errors in the documentation.
  2.004001 2025-02-12
  * Improve upgrading and downgrading.
    - Upgrading and downgrading is more consistent.
    - Upgrading and downgrading now keeps the reference, so in the following
      example, $x changes from being a Math::BigInt with a value of 2 to a
      Math::BigFloat with the value 1.4142...
        perl -Mbignum -le '$x = 2; $x -> bsqrt(); print $x'
  * Fix bug in Math::BigFloat->bdiv(): in list context, bdiv() would do floored
    division, except when the denominator was 1. Now, bdiv() always does floored
    division.

OBS-URL: https://build.opensuse.org/request/show/1276521
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt?expand=0&rev=104
2025-05-20 10:06:47 +00:00
5cb3e8fe78 Accepting request 1241534 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1241534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=52
2025-01-31 15:04:39 +00:00
fe93d79f76 Accepting request 1240650 from devel:languages:perl:autoupdate
- updated to 2.003004
   see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
  2.003004 2025-01-23
  * Fix CPAN RT #150252 regarding bdiv() not modifying the invocand object when
    upgrading/downgrading is enabled.
  * Add hyperoperator method bhyperop(). This method implements succession,
    addition, multiplication, exponentiation, tetration, pentation ...).

OBS-URL: https://build.opensuse.org/request/show/1240650
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt?expand=0&rev=102
2025-01-30 22:23:57 +00:00
67695f5554 Accepting request 1183690 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1183690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=51
2024-06-28 13:47:20 +00:00
d023295252 Accepting request 1182901 from devel:languages:perl:autoupdate
- updated to 2.3.3 (2.003003)
   see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
  2.003003 2024-05-27
  * Fix CPAN RT #153736 regarding bnok() with large input values.

OBS-URL: https://build.opensuse.org/request/show/1182901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt?expand=0&rev=100
2024-06-27 18:11:09 +00:00
204527eb2e Accepting request 1156491 from devel:languages:perl
- Fix disabling of __perllib_provides

OBS-URL: https://build.opensuse.org/request/show/1156491
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=50
2024-03-09 19:54:56 +00:00
c7857eb45b Accepting request 1156059 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1156059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=49
2024-03-08 17:08:48 +00:00
79ce09ab89 Accepting request 1136595 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1136595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=48
2024-01-04 14:58:43 +00:00
8fd78bcdbb Accepting request 1114118 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1114118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=47
2023-09-29 19:14:05 +00:00
ae378e5e27 Accepting request 1100905 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1100905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=46
2023-07-27 14:52:00 +00:00
e3e1694b6c Accepting request 1076999 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1076999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=45
2023-04-03 15:47:24 +00:00
712b3de030 Accepting request 986679 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/986679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=44
2022-07-05 10:09:25 +00:00
1f91928182 Accepting request 985280 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/985280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=43
2022-06-28 13:21:30 +00:00
85c848448b Accepting request 980487 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/980487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=42
2022-06-02 19:54:41 +00:00
217265325f Accepting request 978227 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/978227
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=41
2022-05-20 15:51:00 +00:00
1f15cca68b Accepting request 972542 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/972542
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=40
2022-04-25 21:35:31 +00:00
e8d059a5f7 Accepting request 946969 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/946969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=39
2022-01-17 21:34:16 +00:00
1a0d17f350 Accepting request 924830 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/924830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=38
2021-10-12 19:49:44 +00:00
a8343d48ec Accepting request 921843 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/921843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=37
2021-09-27 18:09:07 +00:00
2b1472a28e Accepting request 907025 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/907025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=36
2021-07-20 13:38:56 +00:00
9df4935f54 Accepting request 742705 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/742705
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=35
2019-10-24 21:11:29 +00:00
211c0f2661 Accepting request 738588 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/738588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=34
2019-10-18 12:36:00 +00:00
84459c3fc3 Accepting request 647353 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/647353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=33
2018-11-12 08:39:36 +00:00
2037d9d57e Accepting request 599901 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/599901
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=32
2018-04-25 08:01:30 +00:00
11abe39ef5 Accepting request 482419 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/482419
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=31
2017-03-31 13:08:23 +00:00
eb16458f2e Accepting request 456580 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/456580
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=30
2017-02-15 09:06:48 +00:00
59b476f9a1 Accepting request 449777 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/449777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=29
2017-01-21 23:49:01 +00:00
6ca82044af Accepting request 442773 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/442773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=28
2016-12-02 15:42:00 +00:00
93d23585cb Accepting request 441934 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/441934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=27
2016-11-28 14:07:48 +00:00
670ecfe7d2 Accepting request 440742 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/440742
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=26
2016-11-18 21:02:47 +00:00
cf3987c8c1 Accepting request 439458 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/439458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=25
2016-11-10 12:28:06 +00:00
56e3e8268c Accepting request 411404 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/411404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=24
2016-07-20 07:19:10 +00:00
9e8d19824e Accepting request 404391 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/404391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=23
2016-06-25 00:24:13 +00:00
bb74a51493 Accepting request 401457 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/401457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=22
2016-06-19 08:48:03 +00:00
67591def34 Accepting request 394294 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/394294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=21
2016-05-25 19:22:31 +00:00
c6f4f6290c Accepting request 386082 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/386082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=20
2016-04-12 17:35:26 +00:00
aeb2cf52f7 Accepting request 352429 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/352429
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=19
2016-01-11 18:11:49 +00:00
8e043a8b9e Accepting request 351992 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/351992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=18
2016-01-05 20:55:32 +00:00
3905761a87 Accepting request 344362 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/344362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=17
2015-11-15 11:46:54 +00:00
ea16c6201b Accepting request 343863 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/343863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=16
2015-11-12 18:41:20 +00:00
ec9f074e41 Accepting request 342749 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/342749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=15
2015-11-08 10:27:01 +00:00
Stephan Kulow
170986fe2f Accepting request 341664 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/341664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=14
2015-10-30 20:52:56 +00:00
f3089732cb Accepting request 341263 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/341263
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=13
2015-10-28 16:31:11 +00:00
Stephan Kulow
f7c083fcc8 Accepting request 333935 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/333935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=12
2015-09-30 03:52:11 +00:00
Stephan Kulow
a7f338b164 Accepting request 333087 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/333087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=11
2015-09-24 04:15:53 +00:00
0b7cfa92a9 Accepting request 330958 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/330958
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=10
2015-09-17 07:20:47 +00:00
3862757fc7 Accepting request 328286 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/328286
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=9
2015-09-01 22:36:46 +00:00
Stephan Kulow
f6e44972ef Accepting request 235748 from devel:languages:perl
update to version 1.9993 (forwarded request 235742 from cyberiad)

OBS-URL: https://build.opensuse.org/request/show/235748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=7
2014-06-01 17:40:55 +00:00
Stephan Kulow
395e5435e4 Accepting request 178539 from devel:languages:perl
- rebuild against perl 5.18

OBS-URL: https://build.opensuse.org/request/show/178539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Math-BigInt?expand=0&rev=5
2013-06-13 15:46:41 +00:00
4 changed files with 94 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5ac1fd255cca29d7cf5cb9283e6bb8177cdb07c5bb97502a58084b1c6eace35c
size 2978287

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4adc1202349f7fcd14d01e6949fee0ec969049d45c9ca59aa29ec58a65966db
size 3108623

View File

@@ -1,3 +1,90 @@
-------------------------------------------------------------------
Mon Apr 14 05:37:15 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 2.005003
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
2.005003 2025-04-13
* Add new methods to_fp80() and from_fp80() for encoding and decoding values in
the x86 extended-precision 80 bit format.
2.005002 2025-03-28
* Fix the handling of read-only objects in bblsft() and bbrsft() in
Math::BigFloat and Math::BigRat.
2.005001 2025-03-25
New:
* Add new method bperm() to Math::BigInt, Math::BigFloat, and Math::BigRat.
* Add the following methods to Math::BigRat and Math::BigFloat:
bilog2(), bilog10(), bclog2(), bclog10(), bfib(), blucas(),
from_bytes(), from_base(), to_bytes(), to_ieee754()
* Add method bmuladd(), bgcd(), and blcm() to Math::BigRat.
* Add method bpi() to Math::BigRat. It returns a rational approximation of PI
accurate to the specified accuracy or precision, or the default accuracy if
no accuracy is specified.
* Add methods bdstr(), bnstr(), and bestr() to Math::BigRat.
* Add support for rounding in Math::BigFloat methods bdstr(), bestr(), bnstr(),
and bestr().
* Add method from_ieee754() to Math::BigInt and Math::BigRat, including
documentation. In Math::BigInt, from_ieee754() is similar to the other
from_xxx() methods in that way that it returns a NaN if the input is a finite
non-integer.
* Add new backend library method _scmp() for doing signed comparison.
Changes/Improvements:
* Method new() now always returns a new object, as would be expected.
* Make bgcd() in Math::BigRat and Math::BigFloat support non-integer arguments.
Now, bgcd(0.8, 1.2) in Math::BigFloat returns 0.4, and bgcd(4/5, 6/5) in
Math::BigRat returns 2/5.
* Make blcm(0, 0) work the same way in Math::BigInt, Math::BigRat, and
Math::BigFloat. Now blcm(0, 0) is always 0.
* Correct the documentation for is_inf(), bceil() and bfloor()
* Methods bdiv() and bmod() are now aliases to bfdiv() and bfmod(),
respectively. (This doesn't change the behaviour of bdiv() and bmod().)
* Math::BigFloat methods bfmod() and btmod() are faster than before.
* Improve documentation for bnok().
* Improve upgrading and downgrading, e.g., use $class->upgrade() rather than
just $upgrade, since the former works better for sublasses.
Fixes:
* Add missing calls to modify().
* All boolean methods now return 1 or 0. Some would return 1 or "".
* Harmonise methods in different classes so they behave similarly, at least to
the extent possible.
* Fix bug in Math::BigInt->bfib() causing sign to be incorrect for some of the
output values when bfib() was called in list context with a negative input.
* Correct miscellaneous typos and errors in the documentation.
2.004001 2025-02-12
* Improve upgrading and downgrading.
- Upgrading and downgrading is more consistent.
- Upgrading and downgrading now keeps the reference, so in the following
example, $x changes from being a Math::BigInt with a value of 2 to a
Math::BigFloat with the value 1.4142...
perl -Mbignum -le '$x = 2; $x -> bsqrt(); print $x'
* Fix bug in Math::BigFloat->bdiv(): in list context, bdiv() would do floored
division, except when the denominator was 1. Now, bdiv() always does floored
division.
-------------------------------------------------------------------
Fri Jan 24 05:31:49 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 2.003004
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
2.003004 2025-01-23
* Fix CPAN RT #150252 regarding bdiv() not modifying the invocand object when
upgrading/downgrading is enabled.
* Add hyperoperator method bhyperop(). This method implements succession,
addition, multiplication, exponentiation, tetration, pentation ...).
-------------------------------------------------------------------
Sun Jun 23 16:30:36 UTC 2024 - Tina Müller <tina.mueller@suse.com>
- updated to 2.3.3 (2.003003)
see /usr/share/doc/packages/perl-Math-BigInt/CHANGES
2.003003 2024-05-27
* Fix CPAN RT #153736 regarding bnok() with large input values.
-------------------------------------------------------------------
Fri Mar 8 22:42:25 UTC 2024 - Tina Müller <tina.mueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Math-BigInt
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,12 @@
%define cpan_name Math-BigInt
Name: perl-Math-BigInt
Version: 2.3.2
Version: 2.005003
Release: 0
%define cpan_version 2.003002
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Arbitrary size integer math package
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{cpan_version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
@@ -35,12 +34,6 @@ BuildRequires: perl(Math::Complex) >= 1.36
BuildRequires: perl(Test::More) >= 0.94
Requires: perl(Carp) >= 1.22
Requires: perl(Math::Complex) >= 1.36
Provides: perl(Math::BigFloat) = %{version}
Provides: perl(Math::BigInt) = %{version}
Provides: perl(Math::BigInt::Calc) = %{version}
Provides: perl(Math::BigInt::Lib) = %{version}
Provides: perl(Math::BigRat) = %{version}
%undefine __perllib_provides
%{perl_requires}
# MANUAL BEGIN
Recommends: perl(bignum) >= 0.22
@@ -55,7 +48,7 @@ Math::BigInt provides support for arbitrary precision integers. Overloading
is also provided for Perl operators.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%autosetup -n %{cpan_name}-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor