commit ca66e595f8bd8e00098d8c967f7ead76081759c6
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Thu Dec 26 10:33:46 2019 +0000
fix minizip build requires for el8
plex-media-player.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index c087333..ee4b411 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -38,8 +38,10 @@ BuildRequires: desktop-file-utils
BuildRequires: python3
%if 0%{?fedora} > 29
BuildRequires: systemd-rpm-macros
+BuildRequires: minizip-compat-devel
%else
BuildRequires: systemd
+BuildRequires: minizip1.2-devel
%endif
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -48,11 +50,6 @@ BuildRequires: libGL-devel
BuildRequires: pkgconfig(libcec)
%endif
BuildRequires: pkgconfig(libdrm)
-%if 0%{?fedora} > 29
-BuildRequires: minizip-compat-devel
-%else
-BuildRequires: pkgconfig(minizip)
-%endif
BuildRequires: pkgconfig(mpv)
BuildRequires: pkgconfig(Qt5) >= 5.9.5
BuildRequires: pkgconfig(Qt5Quick) >= 5.9.5