Fix conditional to build on eln

This commit is contained in:
Troy Dawson 2022-10-03 14:54:41 -07:00
parent 8fcf8d2988
commit 57fa092622

View File

@ -171,7 +171,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fpic"
%endif
export CXXFLAGS="$CFLAGS -std=c++11"
%if 0%{?fedora} >= 35
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 10
%define __cmake_builddir %{_target_platform}
mkdir -p %{%__cmake_builddir}