From a915b71cefaeea5208fcb03138e1629248ede41c Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Wed, 19 Feb 2014 13:23:15 +0100 Subject: [PATCH] libxcb should not try to build into a pure wayland platform. Change-Id: Idbbeab83ef10b4440a21a5d27d4d6ea9a96ba978 Signed-off-by: Ronan Le Martret --- packaging/libxcb.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/libxcb.spec b/packaging/libxcb.spec index 5065b33..f92cdc4 100644 --- a/packaging/libxcb.spec +++ b/packaging/libxcb.spec @@ -1,3 +1,5 @@ +%bcond_with x + Name: libxcb Version: 1.9 Release: 0 @@ -17,6 +19,10 @@ BuildRequires: pkgconfig(pthread-stubs) BuildRequires: pkgconfig(xau) >= 0.99.2 BuildRequires: pkgconfig(xcb-proto) >= 1.7 +%if !%{with x} +ExclusiveArch: +%endif + %description The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the -- 2.7.4