summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-02-19 13:47:17 (GMT)
committerRonan Le Martret <ronan@fridu.net>2014-02-19 13:47:17 (GMT)
commitd1664edb12840423101c48b5b282ac4acd9f6c74 (patch)
tree6cbde15cbc449defe4537eb4c4722490bd96a770
parent914dc8831a44df563a045fdf9756cad4f2aeba6e (diff)
downloadxcb-util-d1664edb12840423101c48b5b282ac4acd9f6c74.zip
xcb-util-d1664edb12840423101c48b5b282ac4acd9f6c74.tar.gz
xcb-util-d1664edb12840423101c48b5b282ac4acd9f6c74.tar.bz2
Change-Id: I9580732dc160165d7da4a8b442a588b0360692e6 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-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