From: Ewan Le Bideau-Canévet Date: Thu, 24 Jul 2014 08:43:45 +0000 (+0200) Subject: add bcond condition not building with x X-Git-Tag: accepted/tizen/common/20140801.161634^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0.2014.q3_common;p=test%2Fgeneric%2Fwayland-fits.git add bcond condition not building with x Change-Id: I90a0dbe1cf0226dc6bf5b1d42bb624ba1e230048 Signed-off-by: Ewan Le Bideau-Canévet --- diff --git a/packaging/wayland-fits-master.spec b/packaging/wayland-fits-master.spec index 4c499dd..d9991ca 100644 --- a/packaging/wayland-fits-master.spec +++ b/packaging/wayland-fits-master.spec @@ -1,4 +1,5 @@ -# +%bcond_with wayland + # spec file for package # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. @@ -39,6 +40,11 @@ BuildRequires: unzip BuildRequires: pkgconfig(evas-wayland-egl) BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if !%{with wayland} +ExclusiveArch: +%endif + + %description Graphical Test Suite for wayland