From 06fe4fb881e91d27f7d73711f237727d2100ae69 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 6 Nov 2019 12:04:18 -0500 Subject: [PATCH] use minizip-compat-devel on epel8 too --- chromium.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chromium.spec b/chromium.spec index 24391398..a6c53a59 100644 --- a/chromium.spec +++ b/chromium.spec @@ -344,11 +344,19 @@ BuildRequires: libusb-devel BuildRequires: libXdamage-devel BuildRequires: libXScrnSaver-devel BuildRequires: libXtst-devel +# Old Fedora (before 30) uses the 1.2 minizip by default. +# Newer Fedora needs to use the compat package %if 0%{?fedora} >= 30 BuildRequires: minizip-compat-devel %else +# RHEL 8 needs to use the compat-minizip (provided by minizip1.2) +%if 0%{?rhel} >= 8 +BuildRequires: minizip-compat-devel +%else +# RHEL 7 and older uses the old minizip BuildRequires: minizip-devel %endif +%endif # RHEL 7's nodejs is too old %if 0%{?rhel} == 7 # Use bundled.