From 8b78620e7d10c6712e103717c9c9dc073baf0702 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Thu, 2 Dec 2021 16:43:41 -0500 Subject: [PATCH] Fix Fedora macro It needs to be optional, using %{?..} syntax to make sure it doesn't error out on non-Fedora systems. --- dotnet6.0.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet6.0.spec b/dotnet6.0.spec index 026fd19..2c6abf5 100644 --- a/dotnet6.0.spec +++ b/dotnet6.0.spec @@ -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