More fixes for the new givaro.

This commit is contained in:
Jerry James 2016-03-07 07:39:14 -07:00
parent 5829ef49ab
commit 08597fb142
2 changed files with 26 additions and 0 deletions

View file

@ -693,6 +693,11 @@ sed -e "s,SINGULARPATH=\",&%{_libdir}/Singular/LIB:," \
-e "s,\(SINGULAR_EXECUTABLE=\"\).*\",\1%{_libdir}/Singular/Singular\"," \
-i src/bin/sage-env
# fix givaro interface on 32-bit platforms
if [ "%{__isa_bits}" == "32" ]; then
sed -i 's/int64_t/int32_t/' src/sage/libs/singular/singular.pyx
fi
########################################################################
%build
export CC=%{__cc}