From 3026471b5ce82c560f23f23aa34c6025e6456f52 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Sat, 17 Jul 2021 08:58:20 -0600 Subject: [PATCH] Adapt to changed location of pari.cfg. --- sagemath.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sagemath.spec b/sagemath.spec index 28f8ad4..fddc28c 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -995,7 +995,9 @@ sed -i 's/3\.10\.0/3.11.0/g' configure sed -i 's/1\[1-9\]/1[2-9]/' configure # Allow use of pari 2.13.1 -sed -i 's/Mod(0, 2)/0/' configure +sed -e 's/Mod(0, 2)/0/' configure \ + -e 's,share/doc/pari/pari\.cfg,%{_lib}/pari/pari.cfg,' \ + -i build/pkgs/gp2c/spkg-configure.m4 configure # Allow use of fplll 5.4.1 sed -i 's/5\.4\.0/5.4.1/g' configure