From ee291d46928b0a4660de5a3e9640d871939dbe59 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Mon, 7 Jul 2014 11:42:48 +0200 Subject: [PATCH] packaging: do not build if we are not in a X11 profile Change-Id: I600a039e4aa5d6ca7111c58eb6d578507cc6dc5f Signed-off-by: Manuel Bachmann --- packaging/xtrans.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/xtrans.spec b/packaging/xtrans.spec index d69f6b1..cc29781 100644 --- a/packaging/xtrans.spec +++ b/packaging/xtrans.spec @@ -11,6 +11,10 @@ BuildRequires: pkg-config BuildRequires: pkgconfig(xorg-macros) >= 1.12 BuildArch: noarch +%if !%{with x} +ExclusiveArch: +%endif + %description xtrans is a library of code that is shared among various X packages to handle network protocol transport in a modular fashion, allowing a -- 2.7.4