From 3c935dd203671ecf1d00fad7dc4a6eac25a46b13 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Feb 02 2023 01:14:52 +0000 Subject: Build with xen only on Fedora --- diff --git a/systemd.spec b/systemd.spec index ae1dd1c..053ef4a 100644 --- a/systemd.spec +++ b/systemd.spec @@ -177,10 +177,12 @@ BuildRequires: bpftool %global have_bpf 1 %endif +%if 0%{?fedora} %ifarch x86_64 aarch64 # That package is only built for those two architectures BuildRequires: xen-devel %endif +%endif Requires(post): coreutils Requires(post): grep