[sagemath/f18] Correct wrong symlink to /builddir.

pcpa pcpa at fedoraproject.org
Mon May 13 00:01:36 UTC 2013


commit 48aa12d989d3729d08525af262c0c92a9d7f6076
Author: pcpa <paulo.cesar.pereira.de.andrade at gmail.com>
Date:   Sun May 12 21:00:13 2013 -0300

    Correct wrong symlink to /builddir.

 sagemath.spec |    8 ++++++--
 1 files 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 <paulo.cesar.pereira.de.andrade at gmail.com> - 5.9-4
+- Correct wrong symlink to /builddir if not using pretrans (first install).
+
 * Sat May 11 2013 pcpa <paulo.cesar.pereira.de.andrade at gmail.com> - 5.9-3
 - Add pretrans for clean upgrade after rename of SAGE_DEVEL to SAGE_SRC.
 


More information about the scm-commits mailing list