old sle 11 and opensuse fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build?expand=0&rev=315
This commit is contained in:
parent
3237392518
commit
d45d4546a3
@ -149,7 +149,7 @@ ln -s sl42.${SLE_V:3:1}.conf default.conf
|
||||
# this is SUSE Leap 15 and higher
|
||||
ln -s sl${SLE_V:0:2}.${SLE_V:3:1}.conf default.conf
|
||||
%endif
|
||||
%if !0%{?sle_version} && 0%{?is_opensuse}
|
||||
%if !0%{?sle_version} && ( 0%{?suse_version} <= 1310 || 0%{?suse_version} == 1320 || 0%{?suse_version} == 1330 )
|
||||
# this is old openSUSE releases and Factory
|
||||
ln -s sl${SUSE_V:0:2}.${SUSE_V:2:1}.conf default.conf
|
||||
%endif
|
||||
@ -157,6 +157,10 @@ ln -s sl${SUSE_V:0:2}.${SUSE_V:2:1}.conf default.conf
|
||||
# this is SUSE SLE 12 and higher
|
||||
ln -s sle${SLE_V:0:2}.${SLE_V:3:1}.conf default.conf
|
||||
%endif
|
||||
%if 0%{?sles_version} == 1110
|
||||
# this is SUSE SLE 11
|
||||
ln -s sles11sp2.conf default.conf
|
||||
%endif
|
||||
# make sure that we have a config
|
||||
test -e default.conf || exit 1
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user