From 632ed2ebbcaf40fd42c111eccb87dd79bc6d7be4 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Sun, 1 Aug 2021 17:32:39 -0500 Subject: [PATCH] Update BR: OpenEXR conditional. --- pfstools.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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