[packages/s-tui] - fix shebang in main script, rel 2

baggins baggins at pld-linux.org
Mon Jan 31 20:55:08 CET 2022


commit a6ffcfcb3f7320fdf653581d0b21b3a72cca87a6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Jan 31 20:54:46 2022 +0100

    - fix shebang in main script, rel 2

 s-tui.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/s-tui.spec b/s-tui.spec
index 88972f7..42db1d1 100644
--- a/s-tui.spec
+++ b/s-tui.spec
@@ -1,7 +1,7 @@
 Summary:	Terminal-based CPU stress and monitoring utility
 Name:		s-tui
 Version:	1.1.3
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Applications/System
 #Source0Download: https://pypi.org/simple/s-tui/
@@ -23,6 +23,9 @@ and utilization in a graphical way from the terminal.
 %prep
 %setup -q
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python3}\\1,' \
+    s_tui/s_tui.py
+
 %build
 %py3_build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/s-tui.git/commitdiff/a6ffcfcb3f7320fdf653581d0b21b3a72cca87a6



More information about the pld-cvs-commit mailing list