From: Philippe Coval Date: Thu, 6 Feb 2014 10:50:27 +0000 (+0100) Subject: packaging: exclude on non X11 configuration X-Git-Tag: accepted/tizen/generic/20140220.103936^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=refs%2Fheads%2Faccepted%2Ftizen_generic;p=platform%2Fcore%2Fuifw%2Fat-spi2-core.git packaging: exclude on non X11 configuration Change-Id: Ibefc0a3d6e5914ef300e340d4e8ecc15783b8efd Bug-Tizen: PTREL-653 Signed-off-by: Philippe Coval --- diff --git a/packaging/at-spi2-core.spec b/packaging/at-spi2-core.spec index 9be356f..020477d 100644 --- a/packaging/at-spi2-core.spec +++ b/packaging/at-spi2-core.spec @@ -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}