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

index d6538fd..3d8191c 100644 (file)
@@ -21,6 +21,10 @@ BuildRequires:  pkgconfig(xtrans)
 BuildRequires:  pkgconfig(zlib)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
+%if !%{with x}
+ExclusiveArch:
+%endif
+
 %description
 libXfont provides the core of the legacy X11 font system, handling
 the index files (fonts.dir, fonts.alias, fonts.scale), the various