Rev openSUSE:Tools/348 Md5 032be7ef8b34cea03635250adead9415 2018-01-31 13:40:03 adrianSuSE None
This commit is contained in:
OBS User adrianSuSE
2018-01-31 13:40:03 +00:00
committed by Git OBS Bridge
parent 4956a5b6b4
commit e8b97614ec
10 changed files with 15 additions and 101 deletions

View File

@@ -22,7 +22,7 @@ Name: build
Summary: A Script to Build SUSE Linux RPMs
License: GPL-2.0+ and GPL-2.0
Group: Development/Tools/Building
Version: 20180124
Version: 20180131
Release: 0
Source: obs-build-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -169,10 +169,14 @@ cd %{buildroot}/usr/lib/build
# SLE 15 / Leap 15
ln -sf baselibs_configs/baselibs_global-sle15.conf baselibs_global.conf
%endif
%if %suse_version <= 1315
# SLE 12 / Leap 42 and older
%if %suse_version == 1315
# SLE 12 / Leap 42
ln -sf baselibs_configs/baselibs_global-sle12.conf baselibs_global.conf
%endif
%if %suse_version <= 1110
# SLE 11
ln -sf baselibs_configs/baselibs_global-sle11.conf baselibs_global.conf
%endif
test -e baselibs_global.conf || exit 1
%endif