libxcb should not try to build into a pure wayland platform. 80/16580/1 accepted/tizen_generic accepted/tizen_ivi accepted/tizen_ivi_panda accepted/tizen_ivi_release tizen_ivi_release accepted/tizen/generic/20140228.100345 accepted/tizen/generic/20140312.114933 accepted/tizen/ivi/20140228.193154 accepted/tizen/ivi/panda/20140312.120241 accepted/tizen/ivi/release/20140312.120957 accepted/tizen/mobile/20140303.023109 submit/tizen/20140228.085525 submit/tizen/20140312.070843 submit/tizen_ivi_release/20140312.071316
authorRonan Le Martret <ronan@fridu.net>
Wed, 19 Feb 2014 12:23:15 +0000 (13:23 +0100)
committerRonan Le Martret <ronan@fridu.net>
Wed, 19 Feb 2014 12:23:15 +0000 (13:23 +0100)
Change-Id: Idbbeab83ef10b4440a21a5d27d4d6ea9a96ba978
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
packaging/libxcb.spec

index 5065b33..f92cdc4 100644 (file)
@@ -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