From 028fd5a561d6024201285d3dc21d2fe36e722aca Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Mon, 2 Aug 2021 15:01:45 -0500 Subject: [PATCH] Update BR for OpenEXR. --- kio-extras.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kio-extras.spec b/kio-extras.spec index 013fe2a..d5c28df 100644 --- a/kio-extras.spec +++ b/kio-extras.spec @@ -63,7 +63,12 @@ BuildRequires: libjpeg-devel BuildRequires: libmtp-devel BuildRequires: libsmbclient-devel BuildRequires: libssh-devel +%if 0%{?fedora} > 33 +# As of 2.5.x openexr is cmake based. +BuildRequires: cmake(OpenEXR) +%else BuildRequires: OpenEXR-devel +%endif BuildRequires: openslp-devel BuildRequires: perl-generators BuildRequires: phonon-qt5-devel