commit 391e86a1ec928ae6f77832086fc07665ca0c82f8
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Wed Sep 5 13:40:21 2018 -0400
conditionalize minizip-compat change
Signed-off-by: Akarshan Biswas <akarshan.biswas(a)protonmail.com>
chromium-freeworld.spec | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index ba12ebd..a71e052 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.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}.
Show replies by date