From 86c41cc53c89b59c554c3430001d635434bd1f48 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Mon, 7 Jul 2014 11:27:51 +0200 Subject: [PATCH] packaging: do not build if we are not in a X11 profile Change-Id: If807d04cd5ff8ffe20bff2dccb9e7916695827fa Signed-off-by: Manuel Bachmann --- packaging/recordproto.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/recordproto.spec b/packaging/recordproto.spec index 94a34de..e19abea 100644 --- a/packaging/recordproto.spec +++ b/packaging/recordproto.spec @@ -11,6 +11,10 @@ Source1001: recordproto.manifest BuildRequires: pkgconfig BuildRequires: pkgconfig(xorg-macros) +%if !%{with x} +ExclusiveArch: +%endif + %description %{summary}. -- 2.7.4