From 1a789bf603917bdf83bf09fe872cda778574daad Mon Sep 17 00:00:00 2001 From: pcpa Date: Thu, 26 Sep 2019 08:04:22 -0300 Subject: [PATCH] Correct wrong sed command (#1730057) --- sagemath.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sagemath.spec b/sagemath.spec index d0c0132..578a829 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -86,7 +86,7 @@ Name: sagemath Summary: A free open-source mathematics software system Version: 8.3 -Release: 3%{?dist} +Release: 4%{?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 @@ -906,7 +906,7 @@ grep -FrlZ '#!%{_bindir}/env python' | \ xargs -0 sed -i 's,#!%{_bindir}/env python,#!%{__python2},' grep -FrlZ '#!%{_bindir}/env sage-python23' | \ xargs -0 sed -i 's,#!%{_bindir}/env sage-python23,#!%{__python2},' -grep -FrlZ 'sage-python23' | xargs -0 sed -i 's,sage-python23,#!%{__python2},' +grep -FrlZ 'sage-python23' | xargs -0 sed -i 's,sage-python23,%{__python2},' grep -FrlZ '#!%{_bindir}/env' | \ xargs -0 sed -i 's,#!%{_bindir}/env ,#!%{_bindir}/,' grep -rlZ '#!%{_bindir}/python$' | xargs -0 sed -i 's,#!%{_bindir}/python$,&2,' @@ -1815,6 +1815,9 @@ rm -fr $DOT_SAGE ######################################################################## %changelog +* Thu Sep 26 2019 pcpa - 8.3-4 +- Correct sed command to replace use of sage-python23 (bz 1730057) + * Tue Feb 19 2019 Jerry James - 8.3-3 - Fix -libgap patch (bz 1672015) - Install an SVG icon instead of a fixed size (128x128) icon