Jonas Kvinge 2024-01-11 20:38:40 +00:00 committed by Git OBS Bridge
parent 7b5fb1cb94
commit a782da6410

View File

@ -28,9 +28,9 @@ Source: https://files.strawberrymusicplayer.org/%{name}-%{version}.tar.x
BuildRequires: appstream-glib BuildRequires: appstream-glib
BuildRequires: cmake BuildRequires: cmake
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
%if 0%{?sle_version} == 150400 || 0%{?sle_version} == 150500 %if 0%{?sle_version} == 150500 || 0%{?sle_version} == 150600
BuildRequires: gcc11 BuildRequires: gcc13
BuildRequires: gcc11-c++ BuildRequires: gcc13-c++
%else %else
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -110,9 +110,9 @@ Features:
%setup -q %setup -q
%build %build
%if 0%{?sle_version} == 150400 || 0%{?sle_version} == 150500 %if 0%{?sle_version} == 150500 || 0%{?sle_version} == 150600
export CC="gcc-11" export CC="gcc-13"
export CXX="g++-11" export CXX="g++-13"
%endif %endif
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
export CXXFLAGS="$CFLAGS" export CXXFLAGS="$CFLAGS"