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