Add conditional for BR: python or python2 based on Fedora release.
This commit is contained in:
parent
0c89449a0e
commit
9a215610da
|
@ -16,7 +16,12 @@ Patch0: OpenImageIO-man.patch
|
|||
BuildRequires: cmake gcc-c++
|
||||
BuildRequires: txt2man
|
||||
BuildRequires: qt5-devel
|
||||
BuildRequires: boost-devel boost-python2-devel
|
||||
BuildRequires: boost-devel
|
||||
%if 0%{?fedora} >= 28
|
||||
BuildRequires: boost-python2-devel
|
||||
%else
|
||||
BuildRequires: boost-python-devel
|
||||
%endif
|
||||
BuildRequires: glew-devel
|
||||
BuildRequires: OpenEXR-devel ilmbase-devel
|
||||
BuildRequires: python2-devel
|
||||
|
|
Loading…
Reference in New Issue