diff --git a/Math-BigInt-FastCalc-0.5007.tar.gz b/Math-BigInt-FastCalc-0.5007.tar.gz deleted file mode 100644 index b900328..0000000 --- a/Math-BigInt-FastCalc-0.5007.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d8301c1b76410e4da71f23c4c8f7dfe4539dbe5a6d9c54102774db098dbb5f4 -size 2449016 diff --git a/Math-BigInt-FastCalc-0.5008.tar.gz b/Math-BigInt-FastCalc-0.5008.tar.gz new file mode 100644 index 0000000..8dcffd1 --- /dev/null +++ b/Math-BigInt-FastCalc-0.5008.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4b30ec231bf0877c599b9ede04d6aa08e24effd18128a41c065db3d21e50c776 +size 2454713 diff --git a/cpanspec.yml b/cpanspec.yml index e928e39..d49e0bd 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -7,7 +7,7 @@ #patches: # foo.patch: -p1 # bar.patch: -#preamble: |- +preamble: |- %if 0%{?suse_version} <= 1320 BuildRequires: perl-Math-BigInt >= 1.999713 Requires: perl-Math-BigInt >= 1.999713 diff --git a/perl-Math-BigInt-FastCalc.changes b/perl-Math-BigInt-FastCalc.changes index 72b9a61..b48eb42 100644 --- a/perl-Math-BigInt-FastCalc.changes +++ b/perl-Math-BigInt-FastCalc.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed Sep 4 22:21:09 UTC 2019 - Tina Mueller + +- updated to 0.5008 + see /usr/share/doc/packages/perl-Math-BigInt-FastCalc/CHANGES + + 0.5008 2018-10-09 + + * Update MANIFEST.SKIP. + + * Sync test files with Math-BigInt. + + * Better Makefile.PL. + +------------------------------------------------------------------- +Wed Sep 4 22:12:52 UTC 2019 - Tina Mueller + +- Fix cpanspec.yml syntax and regenerate spec + ------------------------------------------------------------------- Tue Sep 25 15:23:56 UTC 2018 - pmonrealgonzalez@suse.com diff --git a/perl-Math-BigInt-FastCalc.spec b/perl-Math-BigInt-FastCalc.spec index 026a84c..41770f2 100644 --- a/perl-Math-BigInt-FastCalc.spec +++ b/perl-Math-BigInt-FastCalc.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Math-BigInt-FastCalc # -# 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 @@ -12,36 +12,42 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define cpan_name Math-BigInt-FastCalc Name: perl-Math-BigInt-FastCalc -Version: 0.5007 +Version: 0.5008 Release: 0 +%define cpan_name Math-BigInt-FastCalc Summary: Math::BigInt::Calc with some XS for more speed License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: https://metacpan.org/pod/Math::BigInt::FastCalc -Source0: http://www.cpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/P/PJ/PJACKLAM/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Math::BigInt) >= 1.999812 -BuildRequires: perl(Math::BigInt::Calc) >= 1.999812 +BuildRequires: perl(Test::More) >= 0.82 Requires: perl(Math::BigInt) >= 1.999812 -Requires: perl(Math::BigInt::Calc) >= 1.999812 %{perl_requires} # MANUAL BEGIN -BuildRequires: perl(parent) %if 0%{?suse_version} <= 1320 BuildRequires: perl-Math-BigInt >= 1.999713 Requires: perl-Math-BigInt >= 1.999713 %endif +BuildRequires: perl(parent) # MANUAL END %description +Math::BigInt::FastCalc inherits from Math::BigInt::Calc. + +Provides support for big integer calculations. Not intended to be used by +other modules. Other modules which sport the same functions can also be +used to support Math::BigInt, like Math::BigInt::GMP or Math::BigInt::Pari. + In order to allow for multiple big integer libraries, Math::BigInt was rewritten to use library modules for core math routines. Any module which follows the same API as this can be used instead by using the following: @@ -53,9 +59,6 @@ version like 'Pari'. To use this library: use Math::BigInt lib => 'FastCalc'; -Note that from Math::BigInt v1.76 onwards, FastCalc will be loaded -automatically, if possible. - %prep %setup -q -n %{cpan_name}-%{version} @@ -64,7 +67,7 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %check -make %{?_smp_mflags} test +make test %install %perl_make_install @@ -74,5 +77,6 @@ make %{?_smp_mflags} test %files -f %{name}.files %defattr(-,root,root,755) %doc CHANGES CREDITS README TODO +%license LICENSE %changelog