commit e688f351b4719484bf672ea07b91d6a4aaaddb76
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Wed Sep 5 13:40:21 2018 -0400
conditionalize minizip-compat change
chromium.spec | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/chromium.spec b/chromium.spec
index 78673b3..45cacb5 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -346,7 +346,11 @@ BuildRequires: libusb-devel
BuildRequires: libXdamage-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libXtst-devel
+%if 0%{?fedora} >= 30
BuildRequires: minizip-compat-devel
+%else
+BuildRequires: minizip-devel
+%endif
BuildRequires: nodejs
BuildRequires: nss-devel >= 3.26
BuildRequires: pciutils-devel
@@ -651,7 +655,11 @@ Chromium is an open-source web browser, powered by WebKit (Blink).
Summary: Files needed for both the headless_shell and full Chromium
# Chromium needs an explicit Requires: minizip-compat
# We put it here to cover headless too.
+%if 0%{?fedora} >= 30
Requires: minizip-compat%{_isa}
+%else
+Requires: minizip%{_isa}
+%endif
%description common
%{summary}.