libxkbfile should not try to build into a pure wayland platform. 89/16589/2 accepted/tizen_3.0.2014.q3_common accepted/tizen_common accepted/tizen_generic accepted/tizen_ivi accepted/tizen_ivi_panda accepted/tizen_ivi_release accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable devel/x11 tizen tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_ivi_release accepted/tizen/generic/20140228.100716 accepted/tizen/generic/20140312.114936 accepted/tizen/ivi/20140228.193012 accepted/tizen/ivi/panda/20140312.100554 accepted/tizen/ivi/release/20140312.121219 accepted/tizen/mobile/20140303.023055 submit/devel/x11/20140718.035926 submit/tizen/20140228.090113 submit/tizen/20140312.070846 submit/tizen/20140818.084211 submit/tizen/20140818.144456 submit/tizen/20140819.234625 submit/tizen_ivi_release/20140312.071317 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release
authorRonan Le Martret <ronan@fridu.net>
Wed, 19 Feb 2014 13:01:40 +0000 (14:01 +0100)
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>
Wed, 19 Feb 2014 13:50:56 +0000 (05:50 -0800)
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
Change-Id: Icf00646146b4e9733112544145ead038773e78d9

packaging/libxkbfile.spec

index 4e2d08d..56576cd 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name:           libxkbfile
 Version:        1.0.8
 Release:        1
@@ -11,6 +13,10 @@ BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xorg-macros)
 BuildRequires:  pkgconfig(xproto)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 X.Org X11 libxkbfile runtime library.
 
@@ -30,7 +36,7 @@ cp %{SOURCE1001} .
 # FIXME: We use -fno-strict-aliasing, to work around the following bug:
 # maprules.c:1373: warning: dereferencing type-punned pointer will break strict-aliasing rules)
 export CFLAGS="${CFLAGS} %{optflags} -fno-strict-aliasing"
-%configure --disable-static 
+%configure --disable-static
 make %{?_smp_mflags}
 
 %install
@@ -46,7 +52,7 @@ make %{?_smp_mflags}
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-%license COPYING 
+%license COPYING
 %{_libdir}/libxkbfile.so.1
 %{_libdir}/libxkbfile.so.1.0.2