From 49575fa6eddcbbbd7da2f0a28fbdc6573207b2dd Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Aug 13 2023 10:52:21 +0000 Subject: spec: explicitly enable/disable xen support For upstream packit builds with https://github.com/systemd/systemd/pull/24175. --- diff --git a/systemd.spec b/systemd.spec index ebc2601..41fd40c 100644 --- a/systemd.spec +++ b/systemd.spec @@ -207,6 +207,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 @@ -619,6 +620,7 @@ CONFIGURE_OPTS=( -Dlibiptc=false -Dlibcurl=true -Dlibfido2=true + -Dxenctrl=%[0%{?have_xen}?"true":"false"] -Defi=true -Dtpm=true -Dtpm2=true