From ba967eb8384d78daaf4915f6d5bebea22b02759e Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 31 Oct 2019 07:34:35 +0100 Subject: [PATCH] - "-embed" pc suffix only for python 3.8+ --- vapoursynth.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vapoursynth.spec b/vapoursynth.spec index 6a16ba2..962d924 100644 --- a/vapoursynth.spec +++ b/vapoursynth.spec @@ -143,7 +143,9 @@ Dokumentacja do biblioteki VapourSynth. %prep %setup -q -n %{name}-R%{version} %patch0 -p1 +%if "%{py3_ver}" >= "3.8" %patch1 -p1 +%endif %if %{without sse} %{__sed} -i -e 's/"-mfpmath=sse -msse2"/""/' configure.ac -- 2.44.0