add bcond condition not building with x
authorEwan Le Bideau-Canévet <ewan.lebideau-canevet@open.eurogiciel.org>
Thu, 24 Jul 2014 08:43:45 +0000 (10:43 +0200)
committerEwan Le Bideau-Canévet <ewan.lebideau-canevet@open.eurogiciel.org>
Thu, 6 Nov 2014 11:17:22 +0000 (12:17 +0100)
Change-Id: I90a0dbe1cf0226dc6bf5b1d42bb624ba1e230048
Signed-off-by: Ewan Le Bideau-Canévet <ewan.lebideau-canevet@open.eurogiciel.org>
packaging/wayland-fits-master.spec

index 4c499dd..d9991ca 100644 (file)
@@ -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