Fix conditional for ImageMagick

This commit is contained in:
Elliott Sales de Andrade 2021-11-17 01:25:26 -05:00
parent 1b0f98b373
commit 4dfd2f126f

View File

@ -72,7 +72,7 @@ BuildRequires: zlib-devel
BuildRequires: ghostscript
# No ImageMagick for EL8/ELN/EL9
%if ! 0%{?rhel} >= 8
%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} < 8)
BuildRequires: ImageMagick
%endif
%ifnarch s390x