BR: xkeyboard-config when building with xkbcommon
authorJan Palus <atler@pld-linux.org>
Sun, 6 Feb 2022 19:49:03 +0000 (20:49 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 6 Feb 2022 19:49:03 +0000 (20:49 +0100)
qemu.spec

index 26f995fcd7f5ee7fa1e6e158bc80ac06b03af346..a842d8191b43234bf3671e48b51b5d99d2b3732f 100644 (file)
--- a/qemu.spec
+++ b/qemu.spec
@@ -155,7 +155,10 @@ BuildRequires:     which
 # min version is 4.2, more features up to 4.10
 %{?with_xen:BuildRequires:     xen-devel >= 4.10}
 BuildRequires: xfsprogs-devel
-%{?with_xkbcommon:BuildRequires:       xorg-lib-libxkbcommon-devel}
+%if %{with xkbcommon}
+BuildRequires: xkeyboard-config
+BuildRequires: xorg-lib-libxkbcommon-devel
+%endif
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xz
 BuildRequires: zlib-devel
This page took 0.048473 seconds and 4 git commands to generate.