From: Ronan Le Martret Date: Tue, 28 Jan 2014 14:51:05 +0000 (+0100) Subject: freeglut should not try to build into a pure wayland platform. X-Git-Tag: submit/tizen_ivi_release/20140312.071225 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen_ivi_release%2F20140312.071225;p=platform%2Fupstream%2Ffreeglut.git freeglut should not try to build into a pure wayland platform. (no glu for wayland) This package is designed for an X server platform. In a system released, based exclusively on Wayland platform, it should be in a excluded status. Tizen devel | Tizen release _____________|______________ succeeded | succeeded excluded | excluded broken | failed | unresolvable | blocked | locked | note: - The disabled status is only allowed for OBS administration. Change-Id: Ia93bc39dd53121e00e8e19259df030ff7eab9e2e Signed-off-by: Ronan Le Martret --- diff --git a/packaging/freeglut.spec b/packaging/freeglut.spec index a6d1ef4..7e49507 100644 --- a/packaging/freeglut.spec +++ b/packaging/freeglut.spec @@ -1,4 +1,5 @@ %define debug 0 +%bcond_with x Name: freeglut Version: 2.8.0 @@ -17,6 +18,10 @@ BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(xi) +%if !%{with x} +ExclusiveArch: +%endif + %description Freeglut is a completely open source alternative to the OpenGL Utility Toolkit (GLUT) library. GLUT was originally written by Mark Kilgard to