diff --git a/pfstools.spec b/pfstools.spec index bd1a80a..f80d26c 100644 --- a/pfstools.spec +++ b/pfstools.spec @@ -20,7 +20,11 @@ BuildRequires: libtiff-devel # https://github.com/AcademySoftwareFoundation/Imath/blob/master/docs/PortingGuide2-3.md # for porting details and encourage upstream to support it. For now a 2.x # compat package is provided. -BuildRequires: OpenEXR-devel < 3 +%if 0%{?fedora} > 33 +BuildRequires: cmake(OpenEXR) +%else +BuildRequires: OpenEXR-devel +%endif BuildRequires: octave-devel BuildRequires: libGL-devel BuildRequires: ImageMagick-devel