Correct wrong sed command (#1730057)

This commit is contained in:
pcpa 2019-09-26 08:04:22 -03:00
parent e64d2fa863
commit 1a789bf603

View file

@ -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 <paulo.cesar.pereira.de.andrade@gmail.com> - 8.3-4
- Correct sed command to replace use of sage-python23 (bz 1730057)
* Tue Feb 19 2019 Jerry James <loganjerry@gmail.com> - 8.3-3
- Fix -libgap patch (bz 1672015)
- Install an SVG icon instead of a fixed size (128x128) icon