diff --git a/trigger-rally.spec b/trigger-rally.spec index a739e0d..a67fb68 100644 --- a/trigger-rally.spec +++ b/trigger-rally.spec @@ -28,7 +28,7 @@ Source1: %{name}.desktop # PATCH-FIX-OPENSUSE Fix compilation errors with C++5. Patch1: ftbfs.patch BuildRequires: fdupes -BuildRequires: gcc-c++ >= 5 +BuildRequires: gcc5-c++ BuildRequires: hicolor-icon-theme BuildRequires: physfs-devel BuildRequires: update-desktop-files @@ -49,6 +49,7 @@ Trigger Rally is a fast-paced open source rally racing game. %patch1 -p1 %build +CXX=g++-5 CC=gcc-5 \ make --directory=src prefix=%{_prefix} exec_prefix=%{_prefix} bindir=%{_bindir} %install