Move to openexr2 compat package.

This commit is contained in:
Richard Shaw 2021-08-01 08:12:52 -05:00
parent a4e5546aca
commit 4b3dc267ec

View File

@ -4,7 +4,7 @@
Name: bcd
Version: 1.1
Release: 5.%{?date0}git%{?shortcommit0}%{?dist}
Release: 6.%{?date0}git%{?shortcommit0}%{?dist}
Summary: Bayesian Collaborative Denoiser for Monte-Carlo Rendering
# BSD: main program
# AGPLv3+: src/io/exr
@ -35,7 +35,17 @@ BuildRequires: cmake
BuildRequires: make
BuildRequires: gcc-c++
# As of OpenEXR 3 upstream has significantly reorganized the libraries
# including splitting out imath as a standalone library (which this project may
# or may not need). Please see
# 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.
%if 0%{?fedora} > 33
BuildRequires: cmake(OpenEXR) < 3
%else
BuildRequires: OpenEXR-devel
%endif
BuildRequires: eigen3-devel
BuildRequires: json-devel
BuildRequires: zlib-devel
@ -130,6 +140,9 @@ cp -pr include/* %{buildroot}%{_includedir}
%changelog
* Sun Aug 01 2021 Richard Shaw <hobbes1069@gmail.com> - 1.1-6.20180610gitd94c9fa
- Move to openexr2 compat package.
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-5.20180610gitd94c9fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild