Fix Fedora macro

It needs to be optional, using %{?..} syntax to make sure it doesn't
error out on non-Fedora systems.
This commit is contained in:
Omair Majid 2021-12-02 16:43:41 -05:00
parent fcca190f6a
commit 8b78620e7d

View File

@ -605,7 +605,7 @@ echo "Testing build results for debug symbols..."
%check
%if 0%{fedora} > 35
%if 0%{?fedora} > 35
# lttng in Fedora > 35 is incompatible with .NET
export COMPlus_LTTng=0
%endif