diff options
author | Remi Collet <remi@remirepo.net> | 2022-04-25 13:52:47 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-04-25 13:52:47 +0200 |
commit | 2bb5e0a00a3f418c1cbbe67b8422083552050889 (patch) | |
tree | ba21c6f52f0bd2e862590979136e27fb9e681dbf | |
parent | 8427cd02c08b190216e6fd99498f0c553765f694 (diff) |
EL-7 build
-rw-r--r-- | ImageMagick7.spec | 6 |
1 files changed, 5 insertions, 1 deletions
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} |