From cf005dab4f311277cbb218ec658e82ef755ffe3e Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 12 Jul 2023 13:03:56 -0400 Subject: [PATCH] Fix virthost conditional virthost was being mistakenly disabled on aarch64 and ppc64le in Fedora builds, where only EL7 was meant to be excluded. --- systemtap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemtap.spec b/systemtap.spec index 6862ff2a9..b2e7ef91b 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -46,7 +46,7 @@ %{!?with_sysusers: %global with_sysusers 0%{?fedora} >= 32 || 0%{?rhel} >= 9} # Virt is supported on these arches, even on el7, but it's not in core EL7 -%if 0%{?rhel} <= 7 +%if 0%{?rhel} && 0%{?rhel} <= 7 %ifarch ppc64le aarch64 %global with_virthost 0 %endif -- 2.43.5