- Adjust usage of gccN for Leap42 and SLE12

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/mpd?expand=0&rev=5
This commit is contained in:
Olaf Hering 2018-01-31 10:46:40 +00:00 committed by Git OBS Bridge
parent 9a0fb944dd
commit d03c1a3f54
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 31 10:42:14 UTC 2018 - olaf@aepfle.de
- Adjust usage of gccN for Leap42 and SLE12
-------------------------------------------------------------------
Tue Jan 2 09:23:24 UTC 2018 - aloisio@gmx.com

View File

@ -44,9 +44,15 @@ BuildRequires: libboost_headers-devel
BuildRequires: gcc
BuildRequires: gcc-c++
%else
# Leap 42.2+ / SLE12SP2Backports
%if 0%{?sle_version} == 120200
# Leap 42.2
BuildRequires: gcc6
BuildRequires: gcc6-c++
%else
# Leap 42.3+ / SLE12SP3Backports
BuildRequires: gcc7
BuildRequires: gcc7-c++
%endif
%endif
BuildRequires: libcue-devel
BuildRequires: libmikmod-devel