Christophe Giboudeaux 2022-09-26 07:48:34 +00:00 committed by Git OBS Bridge
parent 09a2df5ee4
commit df446f8622
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 26 07:35:42 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
- Use opencv 4 for building gmic on 15.4 and PowerPC
-------------------------------------------------------------------
Fri Sep 2 07:08:01 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -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