Disable ImageMagick support in ELN/RHEL 8+ as ImageMagick isn't part of it

This commit is contained in:
Tomas Popela 2021-01-07 12:43:59 +01:00
parent 7c3e5ee529
commit dfc84e91d3

View File

@ -4,7 +4,7 @@
Name: pstoedit
Version: 3.75
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Translates PostScript and PDF graphics into other vector formats
License: GPLv2+
URL: http://www.pstoedit.net
@ -19,7 +19,9 @@ BuildRequires: ghostscript
BuildRequires: plotutils-devel
BuildRequires: %{?dts}gcc-c++, %{?dts}gcc
BuildRequires: libzip-devel
%if ! 0%{?rhel} >= 8
BuildRequires: ImageMagick-c++-devel
%endif
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: libEMF-devel
%endif
@ -90,6 +92,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pstoedit
%changelog
* Thu Jan 07 2021 Tomas Popela <tpopela@redhat.com> - 3.75-2
- Disable ImageMagick support in ELN/RHEL 8+ as ImageMagick isn't part of it
* Mon Oct 05 2020 Antonio Trande <sagitter@fedoraproject.org> - 3.75-1
- Rebase to 3.75