commit 828c84d58579aa4eb8fae13b678e4734db2a04ed
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Dec 22 14:05:32 2016 +0100
Use Recommends on fedora
ffmpeg.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 8457a96..6e03ebb 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -124,7 +124,7 @@ BuildRequires: yasm
%{!?_without_openal:BuildRequires: openal-soft-devel}
%if 0%{!?_without_opencl:1}
BuildRequires: opencl-headers ocl-icd-devel
-Recommends: opencl-icd
+%{?fedora:Recommends: opencl-icd}
%endif
%{!?_without_opencv:BuildRequires: opencv-devel}
BuildRequires: openjpeg2-devel
@@ -385,6 +385,7 @@ install -pm755 tools/qt-faststart %{buildroot}%{_bindir}
- enable optional nonfree build with cuda, cuvid, npp and fdk-aac
(most credit for this goes to Nicolas Chauvet)
- allow disabling x11grab (conflicts with nonfree builds)
+- use Recommends only on Fedora (patch by Nicolas Chauvet)
* Tue Dec 06 2016 Julian Sikorski <belegdol(a)fedoraproject.org> - 3.2.2-1
- Updated to 3.2.2