diff --git a/gmic.changes b/gmic.changes index 57968ea..aa56834 100644 --- a/gmic.changes +++ b/gmic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Sep 26 07:35:42 UTC 2022 - Christophe Giboudeaux + +- Use opencv 4 for building gmic on 15.4 and PowerPC + ------------------------------------------------------------------- Fri Sep 2 07:08:01 UTC 2022 - Christophe Giboudeaux diff --git a/gmic.spec b/gmic.spec index 7c7c657..c63207d 100644 --- a/gmic.spec +++ b/gmic.spec @@ -93,17 +93,12 @@ BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(zlib) # gmic first looks for opencv 4 and falls back to opencv 3 if not found. # opencv 4 in not available in leap <= 15.3 -%if 0%{?suse_version} <= 1500 -BuildRequires: pkgconfig(opencv) -%else -# ppc64 doesn't have opencv4 -%ifarch ppc64 +%if 0%{suse_version} == 1500 && 0%{?sle_version} < 150400 BuildRequires: pkgconfig(opencv) %else BuildRequires: pkgconfig(opencv4) BuildRequires: pkgconfig(zlib) %endif -%endif Requires: gmic-data = %{version} %description