summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xkbcomp.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xkbcomp.spec b/packaging/xkbcomp.spec
index 20ebfdb..b454932 100644
--- a/packaging/xkbcomp.spec
+++ b/packaging/xkbcomp.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xkbcomp
Version: 1.2.4
Release: 1
@@ -14,6 +16,10 @@ BuildRequires: pkgconfig(xkbfile)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto) >= 7.0.17
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
The xkbcomp keymap compiler converts a description of an XKB keymap
into one of several output formats.