From edd77ad255c5ec7a873185931847f95cdcb499d7305100fc160bc83cdd62dd42 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 23 Jan 2020 14:11:03 +0000 Subject: [PATCH] Accepting request 766509 from home:Guillaume_G:branches:openSUSE:Factory:ARM - Enable build on non-x86 architectures - Add _constraints to avoid build failures OBS-URL: https://build.opensuse.org/request/show/766509 OBS-URL: https://build.opensuse.org/package/show/games/supertuxkart?expand=0&rev=91 --- _constraints | 10 ++++++++++ supertuxkart.changes | 6 ++++++ supertuxkart.spec | 6 +++++- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 _constraints diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..25aac37 --- /dev/null +++ b/_constraints @@ -0,0 +1,10 @@ + + + + 2 + + + 7 + + + diff --git a/supertuxkart.changes b/supertuxkart.changes index fe8f20b..147c872 100644 --- a/supertuxkart.changes +++ b/supertuxkart.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 23 08:57:39 UTC 2020 - Guillaume GARDET + +- Enable build on non-x86 architectures +- Add _constraints to avoid build failures + ------------------------------------------------------------------- Sun Jan 5 07:58:23 UTC 2020 - Andrey Karepin diff --git a/supertuxkart.spec b/supertuxkart.spec index 1ad993a..fe879eb 100644 --- a/supertuxkart.spec +++ b/supertuxkart.spec @@ -38,6 +38,11 @@ BuildRequires: libraqm-devel %if 0%{?suse_version} && 0%{?is_opensuse} BuildRequires: mcpp-devel %endif +%ifnarch %ix86 x86_64 +BuildRequires: Mesa-libEGL-devel +BuildRequires: Mesa-libGLESv2-devel +BuildRequires: Mesa-libGLESv3-devel +%endif BuildRequires: pkgconfig BuildRequires: unzip BuildRequires: update-desktop-files @@ -59,7 +64,6 @@ BuildRequires: pkgconfig(xrandr) Requires: %{name}-data = %{version} Requires(post): hicolor-icon-theme Requires(postun): hicolor-icon-theme -ExclusiveArch: %{ix86} x86_64 %description SuperTuxKart is a Free 3d kart racing game.