summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-09-19 11:36:21 +0200
committerRemi Collet <remi@remirepo.net>2019-09-19 11:36:21 +0200
commit90ee8738c04e68cc03874a62810587ef4236677a (patch)
tree043088a2e4653ea2a8f920c2d62c003870bbd7f7
parentd53fa42a602da6f56366e1000271b2d8d41e644c (diff)
cleanup
-rw-r--r--ImageMagick6.spec4
1 files changed, 1 insertions, 3 deletions
diff --git a/ImageMagick6.spec b/ImageMagick6.spec
index d8025fa..d4c5246 100644
--- a/ImageMagick6.spec
+++ b/ImageMagick6.spec
@@ -103,10 +103,8 @@ BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(libzstd)
BuildRequires: perl-devel
BuildRequires: perl-generators
-%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
+%if %{with_gslib}
BuildRequires: libgs-devel
-%else
-BuildRequires: ghostscript-devel
%endif
BuildRequires: libwmf-devel
BuildRequires: pkgconfig(jasper)