summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ImageMagick6.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/ImageMagick6.spec b/ImageMagick6.spec
index 94fd45e..84ed172 100644
--- a/ImageMagick6.spec
+++ b/ImageMagick6.spec
@@ -53,7 +53,7 @@ Name: %{libname}6
%global move 1
%endif
Version: %{VER}.%{Patchlevel}
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: An X application for displaying and manipulating images
License: ImageMagick
Url: http://www.imagemagick.org/
@@ -263,7 +263,13 @@ for applications requiring this libraries.
%if %{with_libheif}
%package heic
Summary: HEIC plugin for ImageMagick
-BuildRequires: pkgconfig(libheif)
+%if 0%{?rhel} == 7
+# ensure we use our on EL-7
+BuildRequires: pkgconfig(libheif) >= 1.4.0
+Requires: libheif%{?_isa} >= 1.4.0
+%else
+BuildRequires: pkgconfig(libheif)
+%endif
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
%if "%{name}" == "%{libname}"
Obsoletes: %{libname}6-heic <= %{epoch}:%{version}-%{release}
@@ -622,6 +628,9 @@ fi
%changelog
+* Mon Apr 25 2022 Remi Collet <remi@remirepo.net> - 6.9.12.46-2
+- rebuild using libheif 1.4.0 on EL-7
+
* Mon Apr 25 2022 Remi Collet <remi@remirepo.net> - 6.9.12.46-1
- update to version 6.9.12 patch level 46