summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-09-19 11:05:31 +0200
committerRemi Collet <remi@remirepo.net>2019-09-19 11:05:31 +0200
commit2153e5b4a6ee05b8f26c2781aa9a266a66d03113 (patch)
tree5d8ca59e795f510f2cc847205dd8e3b3fa565e5a
parent004dd135fe9bbee38bf64204951623dbd6deece2 (diff)
- disable gslib on EL-7
https://github.com/ImageMagick/ImageMagick/issues/1699 https://bugzilla.redhat.com/1753534
-rw-r--r--ImageMagick7.spec9
1 files changed, 8 insertions, 1 deletions
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 <remi@remirepo.net> - 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 <remi@remirepo.net> - 7.0.8.64-1
- update to version 7.0.8 patch level 64