Accepting request 328270 from devel:languages:perl:autoupdate
remove upstreamed Math-GMP-x86_64.patch
- updated to 2.11
see /usr/share/doc/packages/perl-Math-GMP/Changes
2.11 2015-08-16 Shlomif
- Got the distribution to have full POD coverage and check all functions
for usage.
- t/check-funcs-ret-value--rt92593.t
- https://rt.cpan.org/Public/Bug/Display.html?id=92593
- CPAN Day!
2.10 2015-08-12 Shlomif
- Throw an exception on invalid input to Math::GMP->new;
- https://rt.cpan.org/Ticket/Display.html?id=27521
- Thanks to SISYPHUS for the report.
- Put RELEASE_TESTING tests under xt instead of t.
- https://rt.cpan.org/Ticket/Display.html?id=106365
- Thanks to ilmari for the report and suggested fix.
- Document and test some functions that were improperly documented or
not tested.
- t/check-funcs-ret-value--rt92593.t
- https://rt.cpan.org/Public/Bug/Display.html?id=92593
- Still aiming for full POD Coverage.
2.09 2015-07-29 Shlomif
- Add the binary-left-shift / << operator.
- Add the binary-right-shift / >> operator.
- Convert the build system to Dist-Zilla to ease future maintenance.
- Add a call to Devel::CheckLib for finding the "gmp.h" header.
2.08 2015-07-28 Shlomif
- Add a link to the version control repository at various places.
- Get rid of indirect object notation in the code and the examples.
- It’s a sign of Ancient Perl.
- Overload bool to avoid fallback to intify (Hugo)
- Fixes RT #101443
- https://rt.cpan.org/Ticket/Display.html?id=101443
- Modified patch applied by Shlomif.
- Add tests from DANAJ for large numbers in some functions.
- RT #92641
- https://rt.cpan.org/Ticket/Display.html?id=92641
2.07 2014-01-26 Hugo
- Go direct to XS for more speed
- add lcm/blcm, bsqrt, bmodinv
2.06 2009-09-17 Greg
- Make Makefile.PL more forgiving of gmp library locations. (CPAN bug #46323)
- Update link to libgmp.org in INSTALL file (CPAN bug #46324)
2.05 2008-10-06 Greg
- New maintainer: Greg Sabino Mullane
- Allow tests to work on 64-bit platforms. Patch from Flo.
(CPAN bugs #5960, #30327, #27641, #12751, #15459)
- Add support for probab_prime function. Patch by shlomif@iglu.org.il.
(CPAN bug #6184)
- Get smarter about detecting lack of GMP libraries.
(CPAN bug #18709)
- Add META.yml and some more tests.
- updated to 2.06
see /usr/share/doc/packages/perl-Math-GMP/Changes
2.06 2009-09-17 Greg
- Make Makefile.PL more forgiving of gmp library locations. (CPAN bug #46323)
- Update link to libgmp.org in INSTALL file (CPAN bug #46324)
2.05 2008-10-06 Greg
- New maintainer: Greg Sabino Mullane
- Allow tests to work on 64-bit platforms. Patch from Flo.
(CPAN bugs #5960, #30327, #27641, #12751, #15459)
- Add support for probab_prime function. Patch by shlomif@iglu.org.il.
(CPAN bug #6184)
- Get smarter about detecting lack of GMP libraries.
(CPAN bug #18709)
- Add META.yml and some more tests.
OBS-URL: https://build.opensuse.org/request/show/328270
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-GMP?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
89be328062
commit
fd17ba03e7
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:29e37c4869a7cf9c2cb94bb6b9fb88404de7276da71e52cb1d4148966a236434
|
||||
size 16081
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bfd044c51687c7356edba1582f83c34a9dfc0c3451f6faeff400be62a7852b37
|
||||
size 24563
|
||||
3
Math-GMP-2.11.tar.gz
Normal file
3
Math-GMP-2.11.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4d535c110bf443638fc2f83da7cb120ea5da91cbf9e3e476584b02c81ac82cda
|
||||
size 31178
|
||||
@@ -1,25 +0,0 @@
|
||||
Index: Math-GMP-2.04/t/gmppm.t
|
||||
===================================================================
|
||||
--- Math-GMP-2.04.orig/t/gmppm.t 2004-09-28 10:03:03.000000000 -0300
|
||||
+++ Math-GMP-2.04/t/gmppm.t 2006-10-31 15:12:13.000000000 -0400
|
||||
@@ -418,16 +418,16 @@ babcdefgh,36:808334348993
|
||||
-5000:i2:13
|
||||
&uintify
|
||||
+15:15
|
||||
-+9999999999:1410065407
|
||||
-+99999999999:1215752191
|
||||
-+999999999999:3567587327
|
||||
++9999999999:9999999999
|
||||
++99999999999:99999999999
|
||||
++999999999999:999999999999
|
||||
&add_ui
|
||||
+999999:i1:1000000
|
||||
+9999999:i1:10000000
|
||||
+99999999:i1:100000000
|
||||
&intify
|
||||
+999999999:999999999
|
||||
-+9999999999:1410065407
|
||||
++9999999999:9999999999
|
||||
&mul_2exp
|
||||
+9999:i9:5119488
|
||||
+99999:i9:51199488
|
||||
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
preamble: |-
|
||||
BuildRequires: gmp-devel
|
||||
#post_prep: |-
|
||||
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
|
||||
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
||||
@@ -1,3 +1,90 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 09:14:58 UTC 2015 - bwiedemann@suse.com
|
||||
|
||||
- remove upstreamed Math-GMP-x86_64.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 09:08:31 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.11
|
||||
see /usr/share/doc/packages/perl-Math-GMP/Changes
|
||||
|
||||
2.11 2015-08-16 Shlomif
|
||||
- Got the distribution to have full POD coverage and check all functions
|
||||
for usage.
|
||||
- t/check-funcs-ret-value--rt92593.t
|
||||
- https://rt.cpan.org/Public/Bug/Display.html?id=92593
|
||||
- CPAN Day!
|
||||
|
||||
2.10 2015-08-12 Shlomif
|
||||
- Throw an exception on invalid input to Math::GMP->new;
|
||||
- https://rt.cpan.org/Ticket/Display.html?id=27521
|
||||
- Thanks to SISYPHUS for the report.
|
||||
- Put RELEASE_TESTING tests under xt instead of t.
|
||||
- https://rt.cpan.org/Ticket/Display.html?id=106365
|
||||
- Thanks to ilmari for the report and suggested fix.
|
||||
- Document and test some functions that were improperly documented or
|
||||
not tested.
|
||||
- t/check-funcs-ret-value--rt92593.t
|
||||
- https://rt.cpan.org/Public/Bug/Display.html?id=92593
|
||||
- Still aiming for full POD Coverage.
|
||||
|
||||
2.09 2015-07-29 Shlomif
|
||||
- Add the binary-left-shift / << operator.
|
||||
- Add the binary-right-shift / >> operator.
|
||||
- Convert the build system to Dist-Zilla to ease future maintenance.
|
||||
- Add a call to Devel::CheckLib for finding the "gmp.h" header.
|
||||
|
||||
2.08 2015-07-28 Shlomif
|
||||
- Add a link to the version control repository at various places.
|
||||
- Get rid of indirect object notation in the code and the examples.
|
||||
- It’s a sign of Ancient Perl.
|
||||
- Overload bool to avoid fallback to intify (Hugo)
|
||||
- Fixes RT #101443
|
||||
- https://rt.cpan.org/Ticket/Display.html?id=101443
|
||||
- Modified patch applied by Shlomif.
|
||||
- Add tests from DANAJ for large numbers in some functions.
|
||||
- RT #92641
|
||||
- https://rt.cpan.org/Ticket/Display.html?id=92641
|
||||
|
||||
2.07 2014-01-26 Hugo
|
||||
- Go direct to XS for more speed
|
||||
- add lcm/blcm, bsqrt, bmodinv
|
||||
|
||||
2.06 2009-09-17 Greg
|
||||
- Make Makefile.PL more forgiving of gmp library locations. (CPAN bug #46323)
|
||||
- Update link to libgmp.org in INSTALL file (CPAN bug #46324)
|
||||
|
||||
2.05 2008-10-06 Greg
|
||||
- New maintainer: Greg Sabino Mullane
|
||||
- Allow tests to work on 64-bit platforms. Patch from Flo.
|
||||
(CPAN bugs #5960, #30327, #27641, #12751, #15459)
|
||||
- Add support for probab_prime function. Patch by shlomif@iglu.org.il.
|
||||
(CPAN bug #6184)
|
||||
- Get smarter about detecting lack of GMP libraries.
|
||||
(CPAN bug #18709)
|
||||
- Add META.yml and some more tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 1 09:08:30 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 2.06
|
||||
see /usr/share/doc/packages/perl-Math-GMP/Changes
|
||||
|
||||
2.06 2009-09-17 Greg
|
||||
- Make Makefile.PL more forgiving of gmp library locations. (CPAN bug #46323)
|
||||
- Update link to libgmp.org in INSTALL file (CPAN bug #46324)
|
||||
|
||||
2.05 2008-10-06 Greg
|
||||
- New maintainer: Greg Sabino Mullane
|
||||
- Allow tests to work on 64-bit platforms. Patch from Flo.
|
||||
(CPAN bugs #5960, #30327, #27641, #12751, #15459)
|
||||
- Add support for probab_prime function. Patch by shlomif@iglu.org.il.
|
||||
(CPAN bug #6184)
|
||||
- Get smarter about detecting lack of GMP libraries.
|
||||
(CPAN bug #18709)
|
||||
- Add META.yml and some more tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 30 19:20:28 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
||||
@@ -1,54 +1,82 @@
|
||||
%define modname Math-GMP
|
||||
Name: perl-%{modname}
|
||||
Version: 2.04
|
||||
Release: 2
|
||||
#
|
||||
# spec file for package perl-Math-GMP
|
||||
#
|
||||
# Copyright (c) 2015 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: perl-Math-GMP
|
||||
Version: 2.11
|
||||
Release: 0
|
||||
%define cpan_name Math-GMP
|
||||
Summary: High speed arbitrary size integer math
|
||||
BuildRequires: perl gmp-devel
|
||||
BuildRequires: perl-macros
|
||||
License: LGPL
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/Perl
|
||||
Source: %{modname}-%{version}.tar.bz2
|
||||
Patch: %{modname}-x86_64.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-root
|
||||
Url: http://search.cpan.org/dist/Math-GMP/
|
||||
Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Devel::CheckLib) >= 0.9
|
||||
%{perl_requires}
|
||||
# MANUAL BEGIN
|
||||
BuildRequires: gmp-devel
|
||||
# MANUAL END
|
||||
|
||||
%description
|
||||
Math::GMP gives you access to the fast GMP library for fast big integer math.
|
||||
Math::GMP was designed to be a drop-in replacement both for Math::BigInt
|
||||
and for regular integer arithmetic. Unlike BigInt, though, Math::GMP uses
|
||||
the GNU gmp library for all of its calculations, as opposed to straight
|
||||
Perl functions. This can result in speed improvements.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Chip Turner <chip@redhat.com>
|
||||
The downside is that this module requires a C compiler to install -- a
|
||||
small tradeoff in most cases. Also, this module is not 100% compatible with
|
||||
Math::BigInt.
|
||||
|
||||
A Math::GMP object can be used just as a normal numeric scalar would be --
|
||||
the module overloads most of the normal arithmetic operators to provide as
|
||||
seamless an interface as possible. However, if you need a perfect
|
||||
interface, you can do the following:
|
||||
|
||||
use Math::GMP qw(:constant);
|
||||
|
||||
$n = 2 ** (256 * 1024);
|
||||
print "n is $n\n";
|
||||
|
||||
This would fail without the ':constant' since Perl would use normal doubles
|
||||
to compute the 250,000 bit number, and thereby overflow it into
|
||||
meaninglessness (smaller exponents yield less accurate data due to floating
|
||||
point rounding).
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%ifarch x86_64 alpha sparc64 ppc64 ia64
|
||||
%patch -p1
|
||||
%endif
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
make test
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README COPYING.LIB Changes LICENSE
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorarch}/Math
|
||||
%{perl_vendorarch}/auto/Math
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes COPYING.LIB LICENSE README
|
||||
|
||||
%changelog
|
||||
|
||||
* Tue Oct 31 2006 - James Oakley <jfunk@funktronics.ca> - 2.04-2
|
||||
- Fix tests for 64-bit machines
|
||||
|
||||
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 2.04-1
|
||||
- Initial release
|
||||
|
||||
Reference in New Issue
Block a user