From 2bb5e0a00a3f418c1cbbe67b8422083552050889 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Apr 2022 13:52:47 +0200 Subject: EL-7 build --- ImageMagick7.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ImageMagick7.spec b/ImageMagick7.spec index c5a2756..75575b5 100644 --- a/ImageMagick7.spec +++ b/ImageMagick7.spec @@ -260,7 +260,11 @@ for applications requiring this libraries. %if %{with_libheif} %package heic Summary: HEIC plugin for ImageMagick -BuildRequires: pkgconfig(libheif) >= 1.4.0 +BuildRequires: pkgconfig(libheif) >= 1.4.0 +%if 0%{?rhel} == 7 +# ensure we use our on EL-7 +Requires: libheif%{?_isa} >= 1.4.0 +%endif Requires: %{name}-libs%{?_isa} = %{version}-%{release} %if "%{name}" == "%{libname}" Obsoletes: %{libname}7-heic <= %{version}-%{release} -- cgit