OBS-URL: https://build.opensuse.org/package/show/system:install:head/installation-images?expand=0&rev=1151
This commit is contained in:
parent
3ac45c0582
commit
150e4ba2b7
@ -40,7 +40,11 @@ ExclusiveArch: do_not_build
|
||||
%if 0%{?is_opensuse}
|
||||
%define theme openSUSE
|
||||
%if 0%{?sle_version}
|
||||
%define net_repo http://download.opensuse.org/distribution/leap/15.0/repo/oss
|
||||
%define the_version %(echo %sle_version | sed -Ee 's/^([0-9][0-9])(0|([0-9]))([0-9]).*/\1.\3\4/')
|
||||
%if "%{the_version}" == "15.1"
|
||||
%error "bad version string"
|
||||
%endif
|
||||
%define net_repo http://download.opensuse.org/distribution/leap/%{the_version}/repo/oss
|
||||
%else
|
||||
%define net_repo http://download.opensuse.org/tumbleweed/repo/oss
|
||||
%endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user