From db97f1b11a3029c93fc3a2dd54359ebfb38ef7bc Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 17 Jan 2023 09:44:49 -0700 Subject: [PATCH] Allow use of gcc 13 --- sagemath.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sagemath.spec b/sagemath.spec index ee7794a..f03d4e6 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -1061,6 +1061,9 @@ sed -i '/GAP_ROOT_DIR/s,SAGE_SHARE,"%{_libdir}",' src/sage/env.py # Fix detection of Fedora sed -i 's/yum/rpm/' build/bin/sage-guess-package-system +# Allow use of gcc 13 +sed -i 's/1\[3-9\].*)/1[4-9].*)/' configure + # Allow use of python 3.11 sed -i 's/3\.11\.0/3.12.0/g' configure