spec: explicitly enable/disable xen support

For upstream packit builds with https://github.com/systemd/systemd/pull/24175.
This commit is contained in:
Yu Watanabe 2023-08-13 19:52:15 +09:00
parent f5162af2a6
commit 49575fa6ed
1 changed files with 2 additions and 0 deletions

View File

@ -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