commit 171446d0d511985000ac1715c20241f7cb2a4e4b
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Sun Jun 23 18:24:09 2019 +0530
Use minizip-compat only on Fedora 30 or higher
chromium-vaapi.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index ae8ba3e..64a2c98 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -96,7 +96,11 @@ BuildRequires: libgcc, glibc, libatomic
BuildRequires: libcap-devel, cups-devel, alsa-lib-devel
BuildRequires: mesa-libGL-devel, mesa-libEGL-devel
%if %{with system_minizip}
-BuildRequires: minizip-compat-devel
+%if 0%{?fedora} >= 30
+BuildRequires: minizip-compat-devel
+%else
+BuildRequires: minizip-devel
+%endif
%endif
# Pipewire need this.
%if 0%{?fedora} >= 29