mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
pretrans scriplet uses shell commands (#1006230)
convert %pretrans to %pre, see also: https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#The_.25pretrans_scriptlet http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Scriptlet_Ordering
This commit is contained in:
parent
02277f9220
commit
e222a0264a
1 changed files with 5 additions and 2 deletions
|
@ -72,7 +72,7 @@ Name: sagemath
|
|||
Group: Applications/Engineering
|
||||
Summary: A free open-source mathematics software system
|
||||
Version: 5.10
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?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
|
||||
|
@ -1206,7 +1206,7 @@ rm -r %{buildroot}%{python_sitearch}/sagenb/data/sage3d
|
|||
rm -fr $DOT_SAGE
|
||||
|
||||
########################################################################
|
||||
%pretrans
|
||||
%pre
|
||||
# Temporary due to moving directory to symlink
|
||||
if [ ! -L %{SAGE_ROOT}/devel -a -d %{SAGE_ROOT}/devel ]; then
|
||||
mkdir %{SAGE_SRC}
|
||||
|
@ -1457,6 +1457,9 @@ exit 0
|
|||
|
||||
########################################################################
|
||||
%changelog
|
||||
* Tue Sep 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.10-3
|
||||
- pretrans scriplet uses shell commands (#1006230)
|
||||
|
||||
* Mon Aug 12 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.10-2
|
||||
- Correct side effect of using system mpmath (#974769)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue