From: Ronan Le Martret Date: Wed, 19 Feb 2014 12:23:15 +0000 (+0100) Subject: libxcb should not try to build into a pure wayland platform. X-Git-Tag: accepted/tizen/generic/20140228.100345^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F80%2F16580%2F1;p=platform%2Fupstream%2Flibxcb.git libxcb should not try to build into a pure wayland platform. Change-Id: Idbbeab83ef10b4440a21a5d27d4d6ea9a96ba978 Signed-off-by: Ronan Le Martret --- 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