From 3819e315d6bac63c2d13a3474a38346510fd55d0 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 10 Sep 2013 06:29:23 -0500 Subject: [PATCH] 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 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sagemath.spec b/sagemath.spec index b2aa3f8..4163ac7 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.9 -Release: 6%{?dist} +Release: 7%{?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 @@ -1189,7 +1189,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} @@ -1440,6 +1440,9 @@ exit 0 ######################################################################## %changelog +* Tue Sep 10 2013 Rex Dieter 5.9-7 +- pretrans scriplet uses shell commands (#1006230) + * Mon Aug 12 2013 pcpa - 5.9-6 - Correct side effect of using system mpmath (#974769)