From 4a5181fff47a246860017f23c879721046c24e21 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 1 Nov 2022 07:05:13 +0100 Subject: [PATCH] Switch from pathfix.py to %py3_shebang_fix For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed --- inkscape.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inkscape.spec b/inkscape.spec index 5e2a678..7b532ca 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -114,7 +114,7 @@ graphics in W3C standard Scalable Vector Graphics (SVG) file format. %prep %autosetup -n inkscape-1.2.1_2022-07-14_9c6d41e410 -p1 -pathfix.py -pni "%{__python3} %{py3_shbang_opts}" . +%py3_shebang_fix . find . -name CMakeLists.txt | xargs sed -i 's|COMMAND python |COMMAND %{__python3} |g' #strip invalid tag