diff --git a/gamemode.changes b/gamemode.changes index 466999e..033ec29 100644 --- a/gamemode.changes +++ b/gamemode.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 19 11:25:26 UTC 2018 - marix@marix.org + +- Fix compilation on Leap 42.3. + ------------------------------------------------------------------- Tue May 15 19:38:57 UTC 2018 - marix@marix.org diff --git a/gamemode.spec b/gamemode.spec index 893b0d5..d69231d 100644 --- a/gamemode.spec +++ b/gamemode.spec @@ -31,7 +31,7 @@ BuildRequires: pkg-config BuildRequires: polkit-devel BuildRequires: systemd-devel %if 0%{?sle_version} == 120300 && 0%{?is_opensuse} -BuildRequires: gcc5 +BuildRequires: gcc7 %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -92,7 +92,7 @@ cp %{SOURCE2} . %build %if 0%{?sle_version} == 120300 && 0%{?is_opensuse} -export CC=gcc-5 # gcc4.8 does not work because of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 +export CC=gcc-7 # gcc4.8 does not work because of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58016 %endif %meson -Dwith-systemd=false %meson_build