Remove all support for 32-bit platforms

Remove the interactive shell argument from /usr/bin/sage (rhbz#2028403)
This commit is contained in:
Jerry James 2022-03-27 17:28:21 -06:00
parent 30bb46d8dc
commit 33af71616a

View file

@ -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 <loganjerry@gmail.com> - 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 <loganjerry@gmail.com> - 9.5-1
- Version 9.5
- Drop unnecessary -4ti2 and -primecount patches