diff --git a/SPECS/mercurial.spec b/SPECS/mercurial.spec index ba02b93..2292230 100644 --- a/SPECS/mercurial.spec +++ b/SPECS/mercurial.spec @@ -57,7 +57,9 @@ documentation. %prep %setup -q -n %{name}-%{upstreamversion} %patch -P1 -p1 -b .py392 +%ifarch %{ix86} %patch -P2 -p1 -b .py392-exeption +%endif # Patch files to use python2 instead of (since lately) non existent python binary. sed -i 's|python|python2|' %{_builddir}/%{name}-%{version}/Makefile %{_builddir}/%{name}-%{version}/doc/Makefile