commit ccb80e33743c75c7dd8dd3bccfa6220cef4a8929
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Mon Aug 7 16:37:21 2023 +0100
https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be...
lives.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lives.spec b/lives.spec
index 5eb49ac..c79712b 100644
--- a/lives.spec
+++ b/lives.spec
@@ -192,8 +192,8 @@ find %{buildroot} -name 'multi_encoder' -exec rm -f {}
';'
find %{buildroot}%{_bindir} -name '*_encoder' -exec rm -f {} ';'
# Fix unversioned Python interpreter
-find %{buildroot} -name '*multi_encoder3' | xargs pathfix.py -pn -i
"%{__python3}"
-find %{buildroot}%{_bindir} -name '*_encoder3' | xargs pathfix.py -pn -i
"%{__python3}"
+find %{buildroot} -name '*multi_encoder3' | xargs %{py3_shebang_fix}
+find %{buildroot}%{_bindir} -name '*_encoder3' | xargs %{py3_shebang_fix}
rm -f %{buildroot}%{_bindir}/%{name}
cat > %{buildroot}%{_bindir}/%{name} <<EOF