Fix commit dfc84e9 but ImageMagick is now available on EPEL 8 and

EPEL 9

! 0%{?rhel} >= 8 is always false
! (0%{?rhel} >= 8) is correct
This commit is contained in:
Sérgio M. Basto 2022-05-11 20:02:05 +01:00
parent 0bc24d2ae5
commit ba257d87b4

View File

@ -4,7 +4,7 @@
Name: pstoedit
Version: 3.78
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Translates PostScript and PDF graphics into other vector formats
License: GPLv2+
URL: http://www.pstoedit.net
@ -23,9 +23,7 @@ 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
@ -98,6 +96,10 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/pstoedit
%changelog
* Wed May 11 2022 Sérgio Basto <sergio@serjux.com> - 3.78-3
- Fix commit dfc84e9 but ImageMagick is now available on EPEL 8 and
EPEL 9
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.78-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
- Add fix for GCC-12