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

index 94a34de..e19abea 100644 (file)
@@ -11,6 +11,10 @@ Source1001:  recordproto.manifest
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(xorg-macros)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 %{summary}.