summaryrefslogtreecommitdiff
path: root/packaging/xcb-util.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/xcb-util.spec')
-rw-r--r--packaging/xcb-util.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/xcb-util.spec b/packaging/xcb-util.spec
index e1e6857..64e4c4e 100644
--- a/packaging/xcb-util.spec
+++ b/packaging/xcb-util.spec
@@ -1,3 +1,5 @@
+%bcond_with x
+
Name: xcb-util
Version: 0.3.9
Release: 0
@@ -14,6 +16,10 @@ BuildRequires: m4
BuildRequires: pkgconfig(xorg-macros)
BuildRequires: pkgconfig(xproto)
+%if !%{with x}
+ExclusiveArch:
+%endif
+
%description
The xcb-util module provides a number of libraries which sit on top of
libxcb, the core X protocol library, and some of the extension