packaging: exclude on non X11 configuration 09/16109/2 tizen submit/tizen_common/20140521.232441 submit/tizen_common/20140522.140947
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 6 Feb 2014 15:12:37 +0000 (16:12 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 3 Mar 2014 17:04:22 +0000 (18:04 +0100)
Bug-Tizen: PTREL-653/part
Change-Id: I5a4f2bc4096429d1a5e98302cc2cdd6d06004406
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/python-elementary.spec

index d8cab62..e3e6455 100644 (file)
@@ -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.