use minizip-compat-devel on epel8 too
This commit is contained in:
parent
21080977e3
commit
06fe4fb881
@ -344,11 +344,19 @@ BuildRequires: libusb-devel
|
|||||||
BuildRequires: libXdamage-devel
|
BuildRequires: libXdamage-devel
|
||||||
BuildRequires: libXScrnSaver-devel
|
BuildRequires: libXScrnSaver-devel
|
||||||
BuildRequires: libXtst-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
|
%if 0%{?fedora} >= 30
|
||||||
BuildRequires: minizip-compat-devel
|
BuildRequires: minizip-compat-devel
|
||||||
%else
|
%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
|
BuildRequires: minizip-devel
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
# RHEL 7's nodejs is too old
|
# RHEL 7's nodejs is too old
|
||||||
%if 0%{?rhel} == 7
|
%if 0%{?rhel} == 7
|
||||||
# Use bundled.
|
# Use bundled.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user