diff --git a/ffmpeg.spec b/ffmpeg.spec index 67d5385..7935dba 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -141,7 +141,7 @@ BuildRequires: opencl-headers ocl-icd-devel %endif %{!?_without_opencv:BuildRequires: opencv-devel} BuildRequires: openjpeg2-devel -BuildRequires: opus-devel >= 1.1.3 +%{!?_without_opus:BuildRequires: opus-devel >= 1.1.3} %{!?_without_pulse:BuildRequires: pulseaudio-libs-devel} BuildRequires: perl(Pod::Man) %{?_with_rubberband:BuildRequires: rubberband-devel} @@ -255,7 +255,7 @@ This package contains development files for %{name} %{!?_without_opencv:--enable-libopencv} \\\ %{!?_without_opengl:--enable-opengl} \\\ --enable-libopenjpeg \\\ - --enable-libopus \\\ + %{!?_without_opus:--enable-libopus} \\\ %{!?_without_pulse:--enable-libpulse} \\\ --enable-librsvg \\\ %{?_with_rtmp:--enable-librtmp} \\\