mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
Minor changes to use same patches in OpenMandriva
This commit is contained in:
parent
2a721faf47
commit
7e4639192c
2 changed files with 18 additions and 1 deletions
|
@ -664,6 +664,10 @@ sed -e 's|@@SAGE_ROOT@@|%{SAGE_ROOT}|' \
|
|||
-e 's|@@SAGE_DOC@@|%{SAGE_DOC}|' \
|
||||
-i src/sage/env.py
|
||||
|
||||
sed -e "s|, 'flask-oldsessions>=0.10'||" \
|
||||
-e "s|'http://github.com/mitsuhiko/flask-oldsessions/tarball/master#egg=flask-oldsessions-0.10'||" \
|
||||
-i build/pkgs/sagenb/src/%{sagenb_pkg}/setup.py
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
# ensure proper/preferred libatlas is in linker path
|
||||
perl -pi -e 's|^(extra_link_args = ).*|$1\["-L%{_libdir}/atlas"\]|;' src/sage/misc/cython.py
|
||||
|
@ -1126,6 +1130,7 @@ exit 0
|
|||
# Use symlinks and a minor patch to the notebook to not bundle jmol
|
||||
%post notebook
|
||||
ln -sf %{_javadir}/JmolApplet.jar %{python_sitearch}/sagenb/data/jmol/
|
||||
ln -sf %{_javadir}/Jmol.jar %{python_sitearch}/sagenb/data/jmol/
|
||||
ln -sf %{_javadir}/vecmath.jar %{python_sitearch}/sagenb/data/jmol/
|
||||
exit 0
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue