From 4daee8f77b2589fc14f98cbf4c4a6b1967c5d06e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ewan=20Le=20Bideau-Can=C3=A9vet?= Date: Thu, 24 Jul 2014 10:43:45 +0200 Subject: [PATCH] add bcond condition not building with x MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I90a0dbe1cf0226dc6bf5b1d42bb624ba1e230048 Signed-off-by: Ewan Le Bideau-Canévet --- packaging/wayland-fits-master.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.7.4