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