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

index 09fffdf..048eac9 100644 (file)
@@ -11,6 +11,10 @@ Source1001:  bigreqsproto.manifest
 BuildRequires: pkgconfig
 BuildRequires: pkgconfig(xorg-macros)
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 %{summary}.