From c4148f59794c41d96ea0b367ca7989519b3d5256 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Mon, 1 Feb 2021 08:09:28 +0100 Subject: [PATCH] Drop the ImageMagick build requirement on ELN/RHEL No ImageMagick available on RHEL 8+ --- python-matplotlib.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 4936670..2935347 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -70,7 +70,10 @@ BuildRequires: xorg-x11-server-Xvfb BuildRequires: zlib-devel BuildRequires: ghostscript +# No ImageMagick for EL8/ELN/EL9 +%if ! 0%{?rhel} >= 8 BuildRequires: ImageMagick +%endif %ifnarch s390x BuildRequires: inkscape %endif