On Thu, Aug 19, 2021 at 12:01 AM Luya Tshimbalanga <luya@fedoraproject.org> wrote:
Snapshot build from my COPR https://copr.fedorainfracloud.org/coprs/luya/blender-egl/build/2529655/

I see that the non-x86_64 packages are failing. Haven't had time to dig in to why.

One thing I did differently on all the packages I ported over was to reverse the logic in the spec file:

%if 0%{?fedora} > 34
BuildRequires: <openexr and/or imath>
%else
BuildRequiers: <however the package did it before>
%endif

If the package was CMake based I would use the "cmake(OpenEXR)" method or for autotools "pkgconfig(OpenEXR)". 

I'm not sure if it makes a difference.

Thanks,
Richard