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