summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/xcb-util-keysyms.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xcb-util-keysyms.spec b/packaging/xcb-util-keysyms.spec
index 2e15871..74c9fa9 100644
--- a/packaging/xcb-util-keysyms.spec
+++ b/packaging/xcb-util-keysyms.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xcb-util-keysyms
%define lname libxcb-keysyms
Version: 0.3.9
@@ -19,6 +21,10 @@ BuildRequires: pkgconfig(xcb-proto) >= 1.6
BuildRequires: pkgconfig(xorg-macros) >= 1.6.0
BuildRequires: pkgconfig(xproto) >= 7.0.8
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
The XCB util modules provide a number of libraries which sit on top
of libxcb, the core X protocol library, and some of the extension