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