commit 4e98c4cbb34e00deca570b96619bb6b0c4f6816c
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Jan 6 00:48:25 2023 +0000
Change location of pathfix.py
For more info see
https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be...
xpra-codecs-freeworld.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/xpra-codecs-freeworld.spec b/xpra-codecs-freeworld.spec
index 414fc65..c6d7299 100644
--- a/xpra-codecs-freeworld.spec
+++ b/xpra-codecs-freeworld.spec
@@ -115,7 +115,6 @@ x264 and ffmpeg.
%patch1 -p1 -b .backup
sed -i 's|@@python3_sitearch@@|%{python3_sitearch}|' setup.py
%endif
-
%patch2 -p1 -R -b .backup
# cc1: error: unrecognized compiler option ‘-mfpmath=387’
@@ -166,7 +165,7 @@ cp -pr \
popd
#fix shebangs from python3_sitearch
-find %{buildroot}%{python3_sitearch}/xpra -name '*.py' | xargs pathfix.py -pn -i
"%{__python3}"
+find %{buildroot}%{python3_sitearch}/xpra -name '*.py' | xargs %{__python3}
%{_rpmconfigdir}/redhat/pathfix.py -pn -i "%{__python3}"
find %{buildroot}%{python3_sitearch}/xpra -name '*.py' | xargs chmod 0755
for i in `ack -rl '^#!/.*python' %{buildroot}%{python3_sitearch}/xpra`; do
chmod 0755 $i