]> git.pld-linux.org Git - packages/s-tui.git/commitdiff
- fix shebang in main script, rel 2 auto/th/s-tui-1.1.3-2
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 31 Jan 2022 19:54:46 +0000 (20:54 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 31 Jan 2022 19:54:46 +0000 (20:54 +0100)
s-tui.spec

index 88972f7e818bc9c95a3429c428987971cd7bc300..42db1d1fe917dde9a147bfa24906c97633219d27 100644 (file)
@@ -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
 
This page took 0.134982 seconds and 4 git commands to generate.