From 2153e5b4a6ee05b8f26c2781aa9a266a66d03113 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 19 Sep 2019 11:05:31 +0200 Subject: - disable gslib on EL-7 https://github.com/ImageMagick/ImageMagick/issues/1699 https://bugzilla.redhat.com/1753534 --- ImageMagick7.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ImageMagick7.spec b/ImageMagick7.spec index 44a8064..5cf57c3 100644 --- a/ImageMagick7.spec +++ b/ImageMagick7.spec @@ -33,7 +33,7 @@ %global with_jbig 0 %endif -%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 +%if 0%{?fedora} >= 15 || 0%{?rhel} >= 8 %global with_gslib 1 %else %global with_gslib 0 @@ -100,7 +100,11 @@ BuildRequires: giflib-devel BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(libzstd) BuildRequires: perl-devel +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 +BuildRequires: libgs-devel +%else BuildRequires: ghostscript-devel +%endif BuildRequires: libwmf-devel BuildRequires: pkgconfig(jasper) BuildRequires: libtool-ltdl-devel @@ -628,6 +632,9 @@ fi %changelog * Thu Sep 19 2019 Remi Collet - 7.0.8.65-1 - update to version 7.0.8 patch level 65 +- disable gslib on EL-7 + https://github.com/ImageMagick/ImageMagick/issues/1699 + https://bugzilla.redhat.com/1753534 * Mon Sep 9 2019 Remi Collet - 7.0.8.64-1 - update to version 7.0.8 patch level 64 -- cgit