From 8ceea35865de85183a46325fe34b6213977a1c48 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Mon, 7 Jul 2014 11:44:18 +0200 Subject: packaging: do not build if we are not in a X11 profile Change-Id: Iff20f1b12de60d4bbeebbafdc99193d6e2e43921 Signed-off-by: Manuel Bachmann --- packaging/libXfont.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/libXfont.spec b/packaging/libXfont.spec index d6538fd..3d8191c 100644 --- a/packaging/libXfont.spec +++ b/packaging/libXfont.spec @@ -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 -- cgit v1.2.3