[sagemath] pretrans scriplet uses shell commands (#1006230)
Rex Dieter
rdieter at fedoraproject.org
Tue Sep 10 11:27:32 UTC 2013
commit e222a0264ae029c4b44667a07705d54d61a700c5
Author: Rex Dieter <rdieter at math.unl.edu>
Date: Tue Sep 10 06:27:20 2013 -0500
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
sagemath.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/sagemath.spec b/sagemath.spec
index 8ab3a71..9a2771e 100644
--- a/sagemath.spec
+++ b/sagemath.spec
@@ -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 at fedoraproject.org> 5.10-3
+- pretrans scriplet uses shell commands (#1006230)
+
* Mon Aug 12 2013 pcpa <paulo.cesar.pereira.de.andrade at gmail.com> - 5.10-2
- Correct side effect of using system mpmath (#974769)
More information about the scm-commits
mailing list