diff --git a/sagemath.spec b/sagemath.spec index 06673d0..acd0429 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -89,7 +89,7 @@ Name: sagemath Summary: A free open-source mathematics software system Version: 9.5 -Release: 1%{?dist} +Release: 2%{?dist} # The file ${SAGE_ROOT}/COPYING.txt is the upstream license breakdown file # Additionally, every $files section has a comment with the license name # before files with that license @@ -102,7 +102,8 @@ Source3: org.sagemath.sage.metainfo.xml # Follow maxima's ExclusiveArch, except exclude 32-bit ARM. The source RPM is # now about 2GB in size. The 32-bit ARM builders run out of memory trying to # create the SRPM and also trying to unpack the SRPM before starting a build. -ExclusiveArch: aarch64 %{ix86} x86_64 ppc sparcv9 +# The i386 builders sometimes fail as well, so exclude all 32-bit platforms. +ExclusiveArch: aarch64 x86_64 # Fix stray escapes in python strings Patch0: %{name}-escape.patch @@ -1409,7 +1410,7 @@ export SYMPOW_DIR="\$DOT_SAGE/sympow" export SAGE_DEBUG EOF cat > %{buildroot}%{_bindir}/sage << EOF -#!/bin/bash -i +#!/bin/bash source $SAGE_LOCAL/bin/sage-env exec $SAGE_LOCAL/bin/sage "\$@" @@ -2039,6 +2040,10 @@ end ######################################################################## %changelog +* Sun Mar 27 2022 Jerry James - 9.5-2 +- Remove all support for 32-bit platforms +- Remove the interactive shell argument from /usr/bin/sage (rhbz#2028403) + * Mon Mar 21 2022 Jerry James - 9.5-1 - Version 9.5 - Drop unnecessary -4ti2 and -primecount patches