diff --git a/xine-lib.spec b/xine-lib.spec index cd155cf..31858f4 100644 --- a/xine-lib.spec +++ b/xine-lib.spec @@ -30,10 +30,13 @@ Name: xine-lib %if 0%{?suse_version} > 1320 BuildRequires: gcc %else -# Leap 42.1 / Leap 42.2+ / SLE12SP2Backports +# Leap 42.2+ / SLE12SP2Backports +%if 0%{?sle_version} == 120200 +BuildRequires: gcc6 +%else +# Leap 42.1 BuildRequires: gcc5 -BuildRequires: libcilkrts5-gcc5 -BuildRequires: liblsan0-gcc5 +%endif %endif %bcond_without ffmpeg %bcond_with sdl