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

index b19ef1c..64d6061 100644 (file)
@@ -12,6 +12,10 @@ Source1001:  libXdmcp.manifest
 BuildRequires:  pkgconfig(xorg-macros)
 BuildRequires:  pkgconfig(xproto)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 X Display Manager Control Protocol library.