From 48aa12d989d3729d08525af262c0c92a9d7f6076 Mon Sep 17 00:00:00 2001 From: pcpa Date: Sun, 12 May 2013 21:00:13 -0300 Subject: [PATCH] Correct wrong symlink to /builddir. --- sagemath.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sagemath.spec b/sagemath.spec index db0343c..4bed5f5 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: 3%{?dist} +Release: 4%{?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 @@ -1116,7 +1116,8 @@ perl -pi -e 's|%{buildroot}||g;' \ #------------------------------------------------------------------------ # Fix links -rm -fr $SAGE_EXTCODE/sage $SAGE_ROOT/doc $SAGE_ROOT/src/doc +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_EXTCODE/sage ln -sf %{SAGE_DOC} $SAGE_ROOT/doc @@ -1432,6 +1433,9 @@ exit 0 ######################################################################## %changelog +* Sun May 12 2013 pcpa - 5.9-4 +- Correct wrong symlink to /builddir if not using pretrans (first install). + * Sat May 11 2013 pcpa - 5.9-3 - Add pretrans for clean upgrade after rename of SAGE_DEVEL to SAGE_SRC.