| |
@@ -203,7 +203,7 @@
|
| |
# Some files got mangling shebang, we fix them after everything else is done
|
| |
for i in $(find %{buildroot} -type f -exec grep -Iq . {} \; -print);do
|
| |
for j in $(grep -l '^#!/usr/bin/env bash' $i);do
|
| |
- pathfix.py -pni "/usr/bin/bash" $j
|
| |
+ %{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pni "/usr/bin/bash" $j
|
| |
done
|
| |
done
|
| |
|
| |
For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed