From 085e6a42234d8e7fba684ee82e1836367bf30933 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mar 05 2020 19:35:52 +0000 Subject: Update to 2.11.3 (see CHANGES for details). --- diff --git a/pari-2.9.0-signed-unsigned-comparison.patch b/pari-2.9.0-signed-unsigned-comparison.patch index 31c4685..2c60b7e 100644 --- a/pari-2.9.0-signed-unsigned-comparison.patch +++ b/pari-2.9.0-signed-unsigned-comparison.patch @@ -1,6 +1,6 @@ --- src/basemath/arith1.c +++ src/basemath/arith1.c -@@ -3618,7 +3618,7 @@ GEN +@@ -3621,7 +3621,7 @@ GEN Fp_order(GEN a, GEN o, GEN p) { if (lgefint(p) == 3 && (!o || typ(o) == t_INT)) { @@ -9,7 +9,7 @@ return utoi( Fl_order(umodiu(a, pp), oo, pp) ); } return gen_order(a, o, (void*)p, &Fp_star); -@@ -4106,7 +4106,7 @@ Fl_log_Fp(ulong a, ulong g, ulong ord, u +@@ -4109,7 +4109,7 @@ Fl_log_Fp(ulong a, ulong g, ulong ord, u { pari_sp av = avma; GEN r = Fp_log(utoi(a),utoi(g),utoi(ord),utoi(p)); @@ -53,7 +53,7 @@ V = Fl2V_next(V, p); --- src/basemath/mftrace.c +++ src/basemath/mftrace.c -@@ -10967,7 +10967,7 @@ mfslashexpansion(GEN mf, GEN f, GEN ga, +@@ -10972,7 +10972,7 @@ mfslashexpansion(GEN mf, GEN f, GEN ga, long CD = (C * D) % N, BC = (B * C) % F; GEN CV, t; /* weight of f * Theta in 1/2-integral weight */ @@ -61,10 +61,10 @@ + k = (typ(gk) == t_INT)? itos(gk): MF_get_r(mf)+1; CV = odd(k) ? powuu(N, k - 1) : powuu(N, k >> 1); deg = ulcm(ulcm(ord, N/ugcd(N,CD)), F/ugcd(F,BC)); - V = bestapprnf2(V, deg, CV, prec); + if (typ(gk) != t_INT && (C & 3) && odd(deg)) deg <<= 2;/* must adjoin I */ --- src/basemath/nffactor.c +++ src/basemath/nffactor.c -@@ -2049,7 +2049,7 @@ guess_roots(GEN nf) +@@ -2062,7 +2062,7 @@ guess_roots(GEN nf) /* the gcd of the p^f - 1 is p^(gcd of the f's) - 1 */ for (i = 1; i <= nfdegree; i++) if (F[i]) { diff --git a/pari.rpmlintrc b/pari.rpmlintrc new file mode 100644 index 0000000..1b0d9a3 --- /dev/null +++ b/pari.rpmlintrc @@ -0,0 +1,8 @@ +# THIS FILE IS FOR WHITELISTING RPMLINT ERRORS AND WARNINGS IN TASKOTRON +# https://fedoraproject.org/wiki/Taskotron/Tasks/dist.rpmlint#Whitelisting_errors + +# The dictionary is missing some technical terms +addFilter(r'W: spelling-error .* (factorizations|gp)') + +# Documentation is in the main and gp packages +addFilter(r'pari-devel\.[^:]+: W: no-documentation') diff --git a/pari.spec b/pari.spec index 15eaab2..5f71165 100644 --- a/pari.spec +++ b/pari.spec @@ -1,6 +1,6 @@ Name: pari -Version: 2.11.2 -Release: 4%{?dist} +Version: 2.11.3 +Release: 1%{?dist} Summary: Number Theory-oriented Computer Algebra System License: GPLv2+ URL: http://pari.math.u-bordeaux.fr/ @@ -23,10 +23,10 @@ BuildRequires: findutils BuildRequires: gcc BuildRequires: gmp-devel BuildRequires: gnupg2 -BuildRequires: libX11-devel BuildRequires: make BuildRequires: perl-generators -BuildRequires: readline-devel +BuildRequires: pkgconfig(readline) +BuildRequires: pkgconfig(x11) BuildRequires: sed BuildRequires: tex(tex) BuildRequires: tex(dvips) @@ -172,6 +172,9 @@ make test-all %{_libdir}/libpari.so %changelog +* Thu Mar 5 2020 Jerry James - 2.11.3-1 +- Update to 2.11.3 (see CHANGES for details) + * Wed Jan 29 2020 Fedora Release Engineering - 2.11.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 41679aa..cc95ae0 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (pari-2.11.2.tar.gz) = 22f5a6ecad6d9b8b337c2655f538a196a0460f6fe98256d0f49557ce7b843f6b27ad364f45a9472aaafee9506386c886f1f0d62697078e501ec465151d4d10a1 -SHA512 (pari-2.11.2.tar.gz.asc) = 1110e79e9b345c71e4e548836150467fb8ed868d1cb1011050f3311a0b4786e0c33827d86cbfc2c20327d8e6c026e7eba58dca1dcf48442d0c92a7d9a3ae57cd +SHA512 (pari-2.11.3.tar.gz) = 2624cdd0523ec02324f58af65703003c88ab596bcaa30c366a9ea01123b0ae657285b10016abaa06b6783ba34dd4980f560900b836b8df228b9dbe0ca36a5b11 +SHA512 (pari-2.11.3.tar.gz.asc) = 8b248bf8494662e5de21aaf815c92c5b3e4905c8a6091eb9a4dabf6295fac0f9601405ed6a592a3320d72848467869d97489e6aee259c9cdb0bf61afad6b6fc6