diff --git a/sagemath.spec b/sagemath.spec index 4bed5f5..4ced053 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -74,7 +74,7 @@ Name: sagemath Group: Applications/Engineering Summary: A free open-source mathematics software system Version: 5.9 -Release: 4%{?dist} +Release: 5%{?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 @@ -1118,7 +1118,7 @@ perl -pi -e 's|%{buildroot}||g;' \ # Fix links rm -fr $SAGE_SRC/sage $SAGE_EXTCODE/sage $SAGE_ROOT/doc $SAGE_SRC/doc rm -fr $SAGE_ROOT/share $SAGE_ROOT/devel -ln -sf %{python_sitearch} $SAGE_SRC/sage +ln -sf %{python_sitearch}/sage $SAGE_SRC/sage ln -sf %{python_sitearch} $SAGE_EXTCODE/sage ln -sf %{SAGE_DOC} $SAGE_ROOT/doc ln -sf %{SAGE_DOC} $SAGE_SRC/doc @@ -1433,6 +1433,9 @@ exit 0 ######################################################################## %changelog +* Sun May 12 2013 pcpa - 5.9-5 +- Need one extra directory derefence in symlink SAGE_SRC symlink. + * Sun May 12 2013 pcpa - 5.9-4 - Correct wrong symlink to /builddir if not using pretrans (first install).