From f15c2c868a4705a6f52009f59e80786f8db2fa35 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 10 Jan 2014 10:44:15 +0100 Subject: exclude build for inappropriate platforms (PTREL-590). build only for pure x11 platform. wayland |x |meaning --------------------------- 0 |1 |pure X11 platform(no wayland) 1 |0 |pure wayland platform (no X11) 1 |1 |wayland but X compatibility 0 |0 |no X and no wayland Change-Id: Ic8fd82ec9132ad311ce66792a44a70173c00e86d Signed-off-by: Ronan Le Martret --- packaging/xf86-video-intel.spec | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'packaging') diff --git a/packaging/xf86-video-intel.spec b/packaging/xf86-video-intel.spec index e82431637..2c15f9407 100644 --- a/packaging/xf86-video-intel.spec +++ b/packaging/xf86-video-intel.spec @@ -1,3 +1,5 @@ +%bcond_with wayland +%bcond_with x %define glamor 0 Name: xf86-video-intel @@ -45,7 +47,13 @@ BuildRequires: pkgconfig(xvmc) %if %glamor BuildRequires: pkgconfig(glamor) %endif + +%if %{with x} && !%{with wayland} ExclusiveArch: %ix86 x86_64 +%else +ExclusiveArch: +%endif + %description intel is an Xorg driver for Intel integrated video cards. -- cgit v1.2.3