diff options
-rw-r--r-- | ImageMagick7.spec | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ImageMagick7.spec b/ImageMagick7.spec index 5cf57c3..818ae58 100644 --- a/ImageMagick7.spec +++ b/ImageMagick7.spec @@ -100,10 +100,8 @@ BuildRequires: giflib-devel BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(libzstd) BuildRequires: perl-devel -%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 +%if %{with_gslib} BuildRequires: libgs-devel -%else -BuildRequires: ghostscript-devel %endif BuildRequires: libwmf-devel BuildRequires: pkgconfig(jasper) |