summaryrefslogtreecommitdiffstats
path: root/ImageMagick6.spec
diff options
context:
space:
mode:
Diffstat (limited to 'ImageMagick6.spec')
-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)