packaging: exclude on non X11 configuration 91/16091/1 accepted/tizen/generic accepted/tizen/mobile accepted/tizen_generic accepted/tizen_mobile sandbox/pcoval/tizen tizen accepted/tizen/generic/20140220.103936 accepted/tizen/mobile/20140225.042059 accepted/tizen/mobile/20141124.042936 accepted/tizen/mobile/20141124.043152 submit/tizen/20140219.130829 submit/tizen/mobile/20141119.110835 submit/tizen_mobile/20141121.130027
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 6 Feb 2014 10:50:27 +0000 (11:50 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Thu, 6 Feb 2014 10:50:27 +0000 (11:50 +0100)
Change-Id: Ibefc0a3d6e5914ef300e340d4e8ecc15783b8efd
Bug-Tizen: PTREL-653
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/at-spi2-core.spec

index 9be356f..020477d 100644 (file)
@@ -1,3 +1,5 @@
+%bcond_with x
+
 Name: at-spi2-core
 Version: 2.7.91
 Release: 1
@@ -16,6 +18,9 @@ BuildRequires: libXtst-devel
 BuildRequires: libXi-devel
 BuildRequires: gobject-introspection-devel
 BuildRequires: gettext
+%if ! %{with x}
+ExclusiveArch:
+%endif
 
 BuildRoot: %{buildroot}