summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/xkbutils.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xkbutils.spec b/packaging/xkbutils.spec
index 80d0d36..8faf3df 100644
--- a/packaging/xkbutils.spec
+++ b/packaging/xkbutils.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xkbutils
Version: 1.0.3
Release: 0
@@ -15,6 +17,10 @@ BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(xt)
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
xkbutils is a collection of small utilities utilizing the XKeyboard
(XKB) extension to the X11 protocol.