From: Ronan Le Martret Date: Wed, 19 Feb 2014 13:01:40 +0000 (+0100) Subject: libxkbfile should not try to build into a pure wayland platform. X-Git-Tag: accepted/tizen/generic/20140228.100716^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f9f93fc29ce3d3d12b3c2d2d32693715a3b8a57a;p=platform%2Fupstream%2Flibxkbfile.git libxkbfile should not try to build into a pure wayland platform. Signed-off-by: Ronan Le Martret Change-Id: Icf00646146b4e9733112544145ead038773e78d9 --- diff --git a/packaging/libxkbfile.spec b/packaging/libxkbfile.spec index 4e2d08d..56576cd 100644 --- a/packaging/libxkbfile.spec +++ b/packaging/libxkbfile.spec @@ -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