From 4dfd2f126f950be6e4129d417676e86b68a719ca Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Wed, 17 Nov 2021 01:25:26 -0500 Subject: [PATCH] Fix conditional for ImageMagick --- python-matplotlib.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-matplotlib.spec b/python-matplotlib.spec index a014138..595a5c6 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -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