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

index ba23266..67d6e63 100644 (file)
@@ -11,6 +11,10 @@ Source1001:  fontsproto.manifest
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(xorg-macros)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 %{summary}.