From 95ffe846b5f83836b475caa856f91998a1b206ca427e6f3e208814064669303a Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 29 Nov 2012 21:16:38 +0000 Subject: [PATCH] pari-2.5.3 OBS-URL: https://build.opensuse.org/package/show/science/pari?expand=0&rev=4 --- pari-2.5.0.tar.bz2 | 3 -- pari-2.5.3.changelog | 92 ++++++++++++++++++++++++++++++++++++++++++++ pari-2.5.3.tar.xz | 3 ++ pari.changes | 10 ++++- pari.spec | 25 +++++++----- 5 files changed, 119 insertions(+), 14 deletions(-) delete mode 100644 pari-2.5.0.tar.bz2 create mode 100644 pari-2.5.3.changelog create mode 100644 pari-2.5.3.tar.xz diff --git a/pari-2.5.0.tar.bz2 b/pari-2.5.0.tar.bz2 deleted file mode 100644 index 37430d7..0000000 --- a/pari-2.5.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:095229af7c263034614494fd553263a8852a4d33aa9864427e83c0296eb6b66b -size 2212739 diff --git a/pari-2.5.3.changelog b/pari-2.5.3.changelog new file mode 100644 index 0000000..22f34c4 --- /dev/null +++ b/pari-2.5.3.changelog @@ -0,0 +1,92 @@ +# $Id$ +Bug numbers refer to the BTS at http://pari.math.u-bordeaux.fr/Bugs/ + +[last column crossreferences current development release 2.6.0] +Done for version 2.5.3 (released 03/10/2012): + + Fixed + 1- padicappr(x^2+1+O(3), -1+O(5^10)) --> no error [F34] + 2- sqrtn(1+O(5),5) -> error, ispower(1+O(5),5) -> error [#1261] [F65] +PB 3- printf("%.6f", 5E-5) -> SEGV [#1328] [F83] +BA 4- diffop(Mod(y,x^2-y),[y],[1]) -> wrong result [F84] +BA 5- calling a GP function with a lot of omitted arguments could crashes [F85] +GH 6- missing solutions in thue() [#951] [F86] + 7- t_RFRAC == t_RFRAC could return a wrong result [#1339] [F87] + 8- obscure bug in polroots() (sage #13314) [F88] +BA 9- printf() did not flush output [F90] + 10- polrootsff(2*x+1,2,y) -> SEGV [#1350] [F93] +BA 11- elltors() was using an insufficient precision [#1326] + 12- resultant(x,x,y) -> 0 and related problems [F94] + 13- thue((x^4+1)^2, 4) -> no solution [F95] +BA 14- idealramgroups() and idealfrobenius() did not accept a bnf [F96] + +[last column crossreferences current development release 2.6.0] +Done for version 2.5.2 (released 20/06/2012): + + Fixed + 1- [from 2.5.1] substvec slowdown [F25] + 2- logfile: strip properly color escape sequences [#1225] [C18] +BA 3- ispower(x < 0,, &n): n could have the wrong sign [#1302] [F45] + 4- mathnf(..., 4) didn't remove 0 columns from HNF [#1271] [F61] +JD 5- possible SEGV in pari_init_opts [#1264] [F62] +BA 6- ellorder(E,P*Mod(1,p)) did not work if E was defined over Z [F63] + 7- parimacro.tex: pdftex --output-format dvi would produce a PDF [F66] +BA 8- pari_close failed to free all allocated memory [#1297] [F67] + 9- issquarefree(0) => error [#1304] [F71] + 10- sqrt(0.E-97-1.12-97*I) -> div by 0 [#1309] [F76] +PH 11- vecsort0 was not valid C code (miscompiled by gcc 4.7) +BA 12- FpX_gcd(0,x) -> div by 0 [F77] + 13- x; y; p; q; subst(Mod(q,p), q, x + y) --> Mod(1, p)*x [#1321] [F78] + +[last column crossreferences current development release 2.6.0] +Done for version 2.5.1 (released 06/02/2012): + + Fixed + 1- Euclidean chains were confused by t_POLs with t_INTMOD coeffs [F01] + [ because a 0 polynomial could have lg() == 3 ] + 2- remi2n didn't allow negative arguments [native kernel] [#1215] [F04] + 3- qfbred(t_QFR) wrong when frac( sqrt(D) ) > 0.5 [F06] + 4- problems with diagnostic messages when changing a 'default', e.g \o3[F08] + 5- divru() could call bfffo(0) => overflow in expo() [F09] +AMe 6- (t_FRAC<0) * t_INTMOD => wrong result [F10] + 7- trace(t_POL or t_SER) could yield unormalized object [0 lead. term] [F11] +LGr 8- off-by-1 error in primepi() when argument is = primelimit [F12] + 9- crash when default(prettyprinter,...) points to non-existent cmd [F15] + 10- qfperfection(): wrong result in unlucky cases [#1223] [F16] +BA 11- allocatemem() did not reset parse error [#1226] [F17] +BA 12- (x->vector(1,j,x))(1) --> significant pointers lost [#1211] [F18] +VL 13- [makefile] Incorrect -I and -L flags order [#1212] [F19] + 14- nfbasis / nfdisc(f,, partial factorization) would sometimes spend a [F20] + lot of time trying to factorize a discriminant [#1227] +BA 15- missing consistency checks in conjvec [#1231] [F22] + 16- wrong result in bezoutres [#1233] [F24] + 17- wrong sign in polresultant() [#1234] [F25] + 18- subst(Y/X,X,x) -> 0 [F27] +PB 19- polrootsff(x^2-x-ffgen((v^2+1) * Mod(1,3))) -> SEGV [#1241] [F28] +BA 20- functions ending by the x[y]=z construct could corrupt the stack. [F30] +BA 21- test-kernel and test-ploth did not work [F35] +BA 22- for(i=1,10^7,) + SIGINT -> SEGV [#1249] [F37] +BA 23- mateigen precision error was not trappable. [F40] + 24- broken rnfeltup [#1256] [F42] + 25- x===y was always wrong for x,y t_SER [F43] + 26- ispower(x < 0) could return an even value ! [#1259] [F45] + 27- ispower(1 / n) return a wrong result [#1259] [F46] +BA 28- [breakloop] initial context could be lost. [F47] +BA 29- Ser([1+O(x)],x) returned an invalid object. [F48] +BA 30- ispseudoprime used too much stack for huge operands. [F49] + 31- [rnfidealup doc] idealgentoHNF() was incorrect. [F50] +DS 32- elldivpol returned wrong result for degree n >=8. [F51] + 33- overflow in mpbern(n) for huge n [#1256] [F52] + 34- psdraw() ignored plot colors [F55] +BA 35- stack_base() was not C89 standard compliant. [F56] +BA 36- my(f(x)=x+1);f --> SEGV [#1273] [F57] + 37- ellheight([0, 0, 1, -1, 0], [0., 0.]) -> BUG [F58] + + Changed +BA 1- [darwin] do not use dylib_ prefix to ld options [#1210] [C12] + 2- delete README-subversion, replace with README-git [C22] + 3- much faster final divisibility test in nfgcd() [#1214] [C25] + + Added +BA 1- [INSTALL] Documentation of RUNTEST +BA 2- [Configure] support for multiarch systems diff --git a/pari-2.5.3.tar.xz b/pari-2.5.3.tar.xz new file mode 100644 index 0000000..873f194 --- /dev/null +++ b/pari-2.5.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e17e1935ce7eba16d95cbabccb6ba8e0b6eedd866d7ab1536de8d1bac5755710 +size 1887236 diff --git a/pari.changes b/pari.changes index 3c40b9a..a512b16 100644 --- a/pari.changes +++ b/pari.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Nov 29 19:09:42 UTC 2012 - jengelh@inai.de + +- Update to new upstream release 2.5.3 +* Fixed a bug whereby calling a GP function with a lot of omitted + arguments could crash +* idealramgroups() and idealfrobenius() did not accept a bnf + ------------------------------------------------------------------- Sun Feb 26 22:13:05 UTC 2012 - scorot@free.fr @@ -8,4 +16,4 @@ Sun Feb 26 22:13:05 UTC 2012 - scorot@free.fr ------------------------------------------------------------------- Mon Sep 26 08:52:28 UTC 2011 - jengelh@medozas.de -- Initial package for build.opensuse.org +- Initial package (version 2.5.0) for build.opensuse.org diff --git a/pari.spec b/pari.spec index 44d486c..a9dbda9 100644 --- a/pari.spec +++ b/pari.spec @@ -17,17 +17,24 @@ Name: pari %define lname libpari-gmp3 -Version: 2.5.0 +Version: 2.5.3 Release: 0 Group: Productivity/Scientific/Math Summary: Computer Algebra System for fast computations in Number Theory License: GPL-2.0 URL: http://pari.math.u-bordeaux.fr/ -Source: %name-%version.tar.bz2 +#DL-URL: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.3.tar.gz +Source: %name-%version.tar.xz +Source2: http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.3.changelog BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: gmp-devel, readline-devel, xorg-x11-devel -BuildRequires: fltk-devel, libqt4-devel +BuildRequires: gmp-devel, readline-devel +BuildRequires: fltk-devel, libqt4-devel, xz +%if 0%{?suse_version} >= 1220 +BuildRequires: libX11-devel, xorg-x11-proto-devel +%else +BuildRequires: xorg-x11-devel +%endif %description PARI/GP is a computer algebra system designed for fast computations @@ -88,14 +95,11 @@ make %{?_smp_mflags} all \ CFLAGS="%optflags -fno-strict-aliasing" \ STRIP=true; +cp "%{S:2}" .; + %install b="%buildroot"; -%if 0%{sles_version} <= 11 -%makeinstall -%else -%make_install -%endif - +make install DESTDIR="$b"; # Put library in the right spot and fix the SO version abuse if [ -L "$b/%_libdir/libpari-gmp.so.3" ]; then @@ -116,6 +120,7 @@ ln -fs libpari-gmp-%version.so "$b/%_libdir/libpari.so"; %_datadir/%name %_libdir/%name.cfg %_mandir/man*/* +%doc %name-%version.changelog %files -n libpari-gmp3 %defattr(-,root,root)