From 5c6bf94bb618049516f986d7258f0b6bc74ec23d Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Nov 01 2022 05:58:13 +0000 Subject: Change location of pathfix.py For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed --- diff --git a/andriller.spec b/andriller.spec index ac95dd5..aa27b4f 100644 --- a/andriller.spec +++ b/andriller.spec @@ -50,7 +50,7 @@ sed -i -e '/^#!\//, 1d' andriller/{screencap.py,windows.py} # Install desktop file mkdir -p %{buildroot}%{_datadir}/applications/ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} -pathfix.py -pn -i "%{__python3}" %{buildroot}%{_bindir}/andriller-gui.py +%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i "%{__python3}" %{buildroot}%{_bindir}/andriller-gui.py %check PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests