From dfc84e91d392378aa2c365680731ee5ff49d2608 Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Thu, 7 Jan 2021 12:43:59 +0100 Subject: [PATCH] Disable ImageMagick support in ELN/RHEL 8+ as ImageMagick isn't part of it --- pstoedit.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pstoedit.spec b/pstoedit.spec index bc9e8dd..aeefe51 100644 --- a/pstoedit.spec +++ b/pstoedit.spec @@ -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 - 3.75-2 +- Disable ImageMagick support in ELN/RHEL 8+ as ImageMagick isn't part of it + * Mon Oct 05 2020 Antonio Trande - 3.75-1 - Rebase to 3.75