From d795ce2c0ab448b5faeba1d7046c9d563ec117f6 Mon Sep 17 00:00:00 2001 From: Lumir Balhar Date: Tue, 1 Nov 2022 07:10:49 +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 --- mercurial.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mercurial.spec b/mercurial.spec index 776ee5f..0747513 100644 --- a/mercurial.spec +++ b/mercurial.spec @@ -224,7 +224,7 @@ rm -rf %{buildroot}%{python3_sitearch}/mercurial/locale %find_lang hg -pathfix.py -pni "%{python3}" %{buildroot}%{_bindir}/hg-ssh +%{__python3} %{_rpmconfigdir}/redhat/pathfix.py -pni "%{python3}" %{buildroot}%{_bindir}/hg-ssh %files -f %{name}-base.files -f hg.lang