mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 03:39:03 -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
a74907f0e2
commit
3819e315d6
1 changed files with 5 additions and 2 deletions
|
@ -72,7 +72,7 @@ Name: sagemath
|
||||||
Group: Applications/Engineering
|
Group: Applications/Engineering
|
||||||
Summary: A free open-source mathematics software system
|
Summary: A free open-source mathematics software system
|
||||||
Version: 5.9
|
Version: 5.9
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
# The file ${SAGE_ROOT}/COPYING.txt is the upstream license breakdown file
|
# The file ${SAGE_ROOT}/COPYING.txt is the upstream license breakdown file
|
||||||
# Additionally, every $files section has a comment with the license name
|
# Additionally, every $files section has a comment with the license name
|
||||||
# before files with that license
|
# before files with that license
|
||||||
|
@ -1189,7 +1189,7 @@ rm -r %{buildroot}%{python_sitearch}/sagenb/data/sage3d
|
||||||
rm -fr $DOT_SAGE
|
rm -fr $DOT_SAGE
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
%pretrans
|
%pre
|
||||||
# Temporary due to moving directory to symlink
|
# Temporary due to moving directory to symlink
|
||||||
if [ ! -L %{SAGE_ROOT}/devel -a -d %{SAGE_ROOT}/devel ]; then
|
if [ ! -L %{SAGE_ROOT}/devel -a -d %{SAGE_ROOT}/devel ]; then
|
||||||
mkdir %{SAGE_SRC}
|
mkdir %{SAGE_SRC}
|
||||||
|
@ -1440,6 +1440,9 @@ exit 0
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 10 2013 Rex Dieter <rdieter@fedoraproject.org> 5.9-7
|
||||||
|
- pretrans scriplet uses shell commands (#1006230)
|
||||||
|
|
||||||
* Mon Aug 12 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.9-6
|
* Mon Aug 12 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 5.9-6
|
||||||
- Correct side effect of using system mpmath (#974769)
|
- Correct side effect of using system mpmath (#974769)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue