mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 19:55:54 -04:00
Do not hardcode SAGE_BROWSER and remove no longer used pre scriptlet
This commit is contained in:
parent
e222a0264a
commit
8e12fb075b
1 changed files with 4 additions and 10 deletions
|
@ -1044,7 +1044,6 @@ export SAGE_FORTRAN_LIB=\`gfortran --print-file-name=libgfortran.so\`
|
||||||
export SYMPOW_DIR="\$DOT_SAGE/sympow"
|
export SYMPOW_DIR="\$DOT_SAGE/sympow"
|
||||||
export LC_MESSAGES=C
|
export LC_MESSAGES=C
|
||||||
export LC_NUMERIC=C
|
export LC_NUMERIC=C
|
||||||
export SAGE_BROWSER=firefox
|
|
||||||
MALLOC_CHECK_=1 $SAGE_LOCAL/bin/sage "\$@"
|
MALLOC_CHECK_=1 $SAGE_LOCAL/bin/sage "\$@"
|
||||||
EOF
|
EOF
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
|
@ -1206,15 +1205,6 @@ rm -r %{buildroot}%{python_sitearch}/sagenb/data/sage3d
|
||||||
rm -fr $DOT_SAGE
|
rm -fr $DOT_SAGE
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
%pre
|
|
||||||
# Temporary due to moving directory to symlink
|
|
||||||
if [ ! -L %{SAGE_ROOT}/devel -a -d %{SAGE_ROOT}/devel ]; then
|
|
||||||
mkdir %{SAGE_SRC}
|
|
||||||
mv %{SAGE_ROOT}/devel/* %{SAGE_SRC}
|
|
||||||
rmdir %{SAGE_ROOT}/devel
|
|
||||||
ln -s src %{SAGE_ROOT}/devel
|
|
||||||
fi
|
|
||||||
|
|
||||||
%post core
|
%post core
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -1457,6 +1447,10 @@ exit 0
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 14 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.10-4
|
||||||
|
- Do not hardcode SAGE_BROWSER (#967251)
|
||||||
|
- Remove pre(trans) scriptlet used to upgrade from prototype packages
|
||||||
|
|
||||||
* Tue Sep 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.10-3
|
* Tue Sep 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.10-3
|
||||||
- pretrans scriplet uses shell commands (#1006230)
|
- pretrans scriplet uses shell commands (#1006230)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue