diff --git a/systemd.spec b/systemd.spec index d1f779f..c673713 100644 --- a/systemd.spec +++ b/systemd.spec @@ -205,6 +205,7 @@ BuildRequires: bpftool %if 0%{?fedora} %ifarch x86_64 aarch64 +%global have_xen 1 # That package is only built for those two architectures BuildRequires: xen-devel %endif @@ -681,6 +682,7 @@ CONFIGURE_OPTS=( -Dlibiptc=false -Dlibcurl=true -Dlibfido2=true + -Dxenctrl=%{?have_xen:true}%{?!have_xen:false} -Defi=true -Dtpm=true -Dtpm2=true