From e688f351b4719484bf672ea07b91d6a4aaaddb76 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 5 Sep 2018 13:40:21 -0400 Subject: [PATCH] conditionalize minizip-compat change --- chromium.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chromium.spec b/chromium.spec index 78673b3b..45cacb59 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}.