From 237649e0d3f58a99133bfd713a4efa86dcb2180d Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 1 Nov 2022 07:21:11 +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 --- wine-mono.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wine-mono.spec b/wine-mono.spec index 580175c..e72456a 100644 --- a/wine-mono.spec +++ b/wine-mono.spec @@ -55,7 +55,7 @@ BuildRequires: libgdiplus BuildRequires: wine-core BuildRequires: /usr/bin/python BuildRequires: python3-setuptools -BuildRequires: /usr/bin/pathfix.py +BuildRequires: python3-devel # https://bugs.winehq.org/show_bug.cgi?id=48937 # fixed in wine 5.7 @@ -79,7 +79,7 @@ Windows Mono library required for Wine. %patch2 -p1 -b.iconv # Fix all Python shebangs -pathfix.py -pni "%{__python3} %{py3_shbang_opts}" . +%py3_shebang_fix . sed -i 's/GENMDESC_PRG=python/GENMDESC_PRG=python3/' mono/mono/mini/Makefile.am.in # remove shipped compiler