commit a6ffcfcb3f7320fdf653581d0b21b3a72cca87a6
Author: Jan RÄ™korajski <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to