commit 5fba43af78dfd02dbdf000280d251427550a77d9
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Sat Sep 7 11:00:47 2019 +0200
compat minizip devel
plex-media-player.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index 34ec883..2129b9b 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -41,7 +41,11 @@ BuildRequires: gcc-c++
BuildRequires: libGL-devel
BuildRequires: pkgconfig(libcec)
BuildRequires: pkgconfig(libdrm)
+%if 0%{?fedora} > 29 || 0%{?rhel} > 7
+BuildRequires:: compat-minizip-devel
+%else
BuildRequires: pkgconfig(minizip)
+%endif
BuildRequires: pkgconfig(mpv)
BuildRequires: pkgconfig(Qt5) >= 5.9.5
BuildRequires: pkgconfig(Qt5Quick) >= 5.9.5