.gear-rules | 2 + .../99fa1eb3c5394d77285c4daf49257f6da9ab9daf | 13 +++++ .../c17c12adae3db566d21e6cca278708543335ac71 | 13 +++++ .gear-tags/list | 2 + lib/Math/BigInt/FastCalc.pm | 8 +-- perl-Math-BigInt-FastCalc.spec | 56 ++++++++++++++++++++ 6 files changed, 89 insertions(+), 5 deletions(-) diff --git a/.gear-rules b/.gear-rules new file mode 100644 index 0000000..c931b50 --- /dev/null +++ b/.gear-rules @@ -0,0 +1,2 @@ +tar: @version@:. name=Math-BigInt-FastCalc-@version@ +diff: @version@:. . name=perl-Math-BigInt-FastCalc-@version@-@release@.patch diff --git a/.gear-tags/99fa1eb3c5394d77285c4daf49257f6da9ab9daf b/.gear-tags/99fa1eb3c5394d77285c4daf49257f6da9ab9daf new file mode 100644 index 0000000..c3d4e95 --- /dev/null +++ b/.gear-tags/99fa1eb3c5394d77285c4daf49257f6da9ab9daf @@ -0,0 +1,13 @@ +object 4932b5fb9dab133b548ac1b861463e19ff930b4a +type commit +tag 0.19 +tagger Alexey Tourbin 1208981805 +0400 + +0.19 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEABECAAYFAkgPmS0ACgkQfBKgtDjnu0YnPQCgrHHMUhToanyNneS08tekILVj +roMAnj3pJo+gxAPI8mh6QY+j35BcgIhv +=4zPz +-----END PGP SIGNATURE----- diff --git a/.gear-tags/c17c12adae3db566d21e6cca278708543335ac71 b/.gear-tags/c17c12adae3db566d21e6cca278708543335ac71 new file mode 100644 index 0000000..ec1f30b --- /dev/null +++ b/.gear-tags/c17c12adae3db566d21e6cca278708543335ac71 @@ -0,0 +1,13 @@ +object 21ce2ad7a4b3d6a64bbded06e366d8ac803134cd +type commit +tag 0.15 +tagger Alexey Tourbin 1187083263 +0400 + +0.15 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQBGwXP/fBKgtDjnu0YRAorCAJ42LW4FJSYY52GzgPdly2nm6Phe8QCfRuZC +AIy0GEYRNDNYCWrx50+ZGHY= +=wDVz +-----END PGP SIGNATURE----- diff --git a/.gear-tags/list b/.gear-tags/list new file mode 100644 index 0000000..fff9f96 --- /dev/null +++ b/.gear-tags/list @@ -0,0 +1,2 @@ +c17c12adae3db566d21e6cca278708543335ac71 0.15 +99fa1eb3c5394d77285c4daf49257f6da9ab9daf 0.19 diff --git a/lib/Math/BigInt/FastCalc.pm b/lib/Math/BigInt/FastCalc.pm index 2b4aea5..8da948d 100644 --- a/lib/Math/BigInt/FastCalc.pm +++ b/lib/Math/BigInt/FastCalc.pm @@ -4,16 +4,14 @@ use 5.006; use strict; # use warnings; # dont use warnings for older Perls -use DynaLoader; use Math::BigInt::Calc; -use vars qw/@ISA $VERSION $BASE $BASE_LEN/; - -@ISA = qw(DynaLoader); +use vars qw/$VERSION $BASE $BASE_LEN/; $VERSION = '0.19'; -bootstrap Math::BigInt::FastCalc $VERSION; +require XSLoader; +XSLoader::load(__PACKAGE__, $VERSION); ############################################################################## # global constants, flags and accessory diff --git a/perl-Math-BigInt-FastCalc.spec b/perl-Math-BigInt-FastCalc.spec new file mode 100644 index 0000000..1b0ae16 --- /dev/null +++ b/perl-Math-BigInt-FastCalc.spec @@ -0,0 +1,56 @@ +%define dist Math-BigInt-FastCalc +Name: perl-%dist +Version: 0.19 +Release: alt1 + +Summary: XS implementation of arbitrary size integer math +License: GPL or Artistic +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +Conflicts: perl-Math-BigInt <= 1.79 + +# Automatically added by buildreq on Thu Apr 24 2008 +BuildRequires: perl-Math-BigInt perl-Module-Install perl-Test-Pod + +%description +This is a replacement library for Math::BigInt::Calc that reimplements +some of the Calc functions in XS. + +%prep +%setup -q -n %dist-%version +%patch -p1 + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc CHANGES CREDITS README +%perl_vendor_archlib/Math +%perl_vendor_autolib/Math + +%changelog +* Thu Apr 24 2008 Alexey Tourbin 0.19-alt1 +- 0.15 -> 0.19 + +* Wed Nov 14 2007 Alexey Tourbin 0.15-alt2 +- fixed integer overflow in FastCalc.xs:_new() "shortcut for + integer argument" check (rt.cpan.org #29720) + +* Tue Aug 14 2007 Alexey Tourbin 0.15-alt1 +- 0.14 -> 0.15 + +* Fri Jun 08 2007 Alexey Tourbin 0.14-alt1 +- 0.13 -> 0.14 + +* Tue Apr 10 2007 Alexey Tourbin 0.13-alt1 +- 0.12 -> 0.13 + +* Wed Mar 28 2007 Alexey Tourbin 0.12-alt1 +- initial revision (detached from perl-Math-BigInt)