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.