summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/python-elementary.spec8
1 files changed, 8 insertions, 0 deletions
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.