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

index 14bf0d8..d6945dd 100644 (file)
@@ -11,6 +11,10 @@ Source1001:  videoproto.manifest
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(xorg-macros)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 Description: %{summary}
 This extension provides a protocol for a video output mechanism,