From b0cd75ca2f20bcabf26bb59aa515811f09a99473 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Fri, 2 Feb 2018 12:24:51 +0100 Subject: [PATCH] Workaround opencv failure --- vlc.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlc.spec b/vlc.spec index 35bccac..8996b01 100644 --- a/vlc.spec +++ b/vlc.spec @@ -139,7 +139,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