From ae0b8637933efdebf4ef03bad28d29bc33744ab3 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Nov 01 2022 06:14:18 +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/openclonk.spec b/openclonk.spec index 5d655b8..df755c6 100644 --- a/openclonk.spec +++ b/openclonk.spec @@ -118,7 +118,7 @@ cp -p planet/COPYING COPYING-planet # Force Python3 %if 0%{?with_doc} -pathfix.py -pn -i "%{__python3}" docs/build_hhp.py docs/xml2po.py docs/build_contents.py +%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i "%{__python3}" docs/build_hhp.py docs/xml2po.py docs/build_contents.py sed -i 's|@python2|@python3|' docs/Makefile %endif