packaging: do not build if we are not in a X11 profile 71/23971/1 submit/devel/x11/20140718.035926
authorManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Mon, 7 Jul 2014 09:13:11 +0000 (11:13 +0200)
committerManuel Bachmann <manuel.bachmann@open.eurogiciel.org>
Mon, 7 Jul 2014 09:13:11 +0000 (11:13 +0200)
Change-Id: I8dc7ff372140b17f2843182ee145619c3e2f3983
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>
packaging/inputproto.spec

index 3062f48..c01c6cf 100644 (file)
@@ -11,6 +11,10 @@ Source1001:  inputproto.manifest
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(xorg-macros)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 %{summary}