summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-02-27 19:26:39 +0100
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-02-27 19:32:47 +0100
commiteb35717f522bba62f83eee1547383ed1094bcd43 (patch)
treef6c83a001622dd3590b27bc97c8299ab2c3cc590
parent2a18d038b0a0f60f59a95f638fe95281fd87e661 (diff)
downloadweston-common-eb35717f522bba62f83eee1547383ed1094bcd43.tar.gz
weston-common-eb35717f522bba62f83eee1547383ed1094bcd43.tar.bz2
weston-common-eb35717f522bba62f83eee1547383ed1094bcd43.zip
disable build if wayland flag not set
Change-Id: I0efe8d993cf7a9910713773348a6a7240a84749f Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r--packaging/weston-generic.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/weston-generic.spec b/packaging/weston-generic.spec
index 6fd9865..4779377 100644
--- a/packaging/weston-generic.spec
+++ b/packaging/weston-generic.spec
@@ -1,3 +1,4 @@
+%bcond_with wayland
Name: weston-generic
Version: 1
Release: 0
@@ -9,6 +10,10 @@ Source0: %{name}-%{version}.tar.bz2
Source1001: weston-generic.manifest
Provides: weston-startup
+%if !%{with wayland}
+ExclusiveArch:
+%endif
+
%description
This package contains Tizen Generic configuration and set-up for
the Weston compositor, including systemd unit files.