Documentation build is optional on some arches

This commit is contained in:
pcpa 2016-12-21 13:56:46 -05:00
parent ac51cc9608
commit a6864ab7ec

View file

@ -1344,6 +1344,7 @@ exit 0
/sbin/ldconfig
exit 0
%if %{with docs}
# Upgrade correction for change from directory to symlink
%post doc
if [ ! -e %{SAGE_DOC}/common ]; then
@ -1358,6 +1359,7 @@ if [ $1 -eq 0 ] ; then
fi
fi
exit 0
%endif
%post sagetex
%{_bindir}/mktexlsr