commit cd12e86ffa5491b3e9a90d4ca7007d0aa861d53b
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Feb 2 12:24:51 2018 +0100
Workaround opencv failure
vlc.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/vlc.spec b/vlc.spec
index 2c261cc..b4fed1f 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -141,7 +141,9 @@ BuildRequires: lua-devel
BuildRequires: minizip-devel
%{?_with_libmpeg2:BuildRequires: mpeg2dec-devel >= 0.3.2}
BuildRequires: ncurses-devel
+%if 0%{?fedora} && 0%{?fedora} < 28
%{?_with_opencv:BuildRequires: pkgconfig(opencv)}
+%endif
BuildRequires: openslp-devel
Buildrequires: opus-devel
BuildRequires: pcre-devel