From: Manuel Bachmann Date: Mon, 7 Jul 2014 09:13:11 +0000 (+0200) Subject: packaging: do not build if we are not in a X11 profile X-Git-Tag: submit/devel/x11/20140718.035926^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F23971%2F1;p=platform%2Fupstream%2Finputproto.git packaging: do not build if we are not in a X11 profile Change-Id: I8dc7ff372140b17f2843182ee145619c3e2f3983 Signed-off-by: Manuel Bachmann --- diff --git a/packaging/inputproto.spec b/packaging/inputproto.spec index 3062f48..c01c6cf 100644 --- a/packaging/inputproto.spec +++ b/packaging/inputproto.spec @@ -11,6 +11,10 @@ Source1001: inputproto.manifest BuildRequires: pkgconfig BuildRequires: pkgconfig(xorg-macros) +%if !%{with x} +ExclusiveArch: +%endif + %description %{summary}