From e5446cff4e53a94d28e49e1ca648b0b525edb1fb Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 1 Nov 2022 07:04:40 +0100 Subject: [PATCH] Change location of pathfix.py For more info see https://fedoraproject.org/wiki/Changes/Python3.12#pathfix.py_tool_will_be_removed --- gtk2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2.spec b/gtk2.spec index 967b86f..e76098d 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -236,7 +236,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinput.d cp %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinput.d # Use python3 shebang instead of ambiguous python -pathfix.py -pn -i %{__python3} $RPM_BUILD_ROOT%{_bindir}/gtk-builder-convert +%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pn -i %{__python3} $RPM_BUILD_ROOT%{_bindir}/gtk-builder-convert # Remove unpackaged files rm $RPM_BUILD_ROOT%{_libdir}/*.la