From e6310383a768786e26cb7e83572000ea9f498179 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Thu, 6 Feb 2014 16:12:37 +0100 Subject: [PATCH] packaging: exclude on non X11 configuration Bug-Tizen: PTREL-653/part Change-Id: I5a4f2bc4096429d1a5e98302cc2cdd6d06004406 Signed-off-by: Philippe Coval --- packaging/python-elementary.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packaging/python-elementary.spec b/packaging/python-elementary.spec index d8cab62..e3e6455 100644 --- a/packaging/python-elementary.spec +++ b/packaging/python-elementary.spec @@ -1,3 +1,5 @@ +%bcond_with x + Name: python-elementary Version: 1.7.0 Release: 0 @@ -14,6 +16,12 @@ BuildRequires: pkgconfig(elementary) BuildRequires: pkgconfig(ecore-x) BuildRequires: pkgconfig(python-ecore) BuildRequires: pkgconfig(python-evas) +%if %{with x} +BuildRequires: pkgconfig(ecore-x) +%else +ExclusiveArch: +%endif + %description Elementary python bindings. -- 2.7.4