OBS-URL: https://build.opensuse.org/package/show/system:install:head/installation-images?expand=0&rev=1153
This commit is contained in:
parent
85e65546e3
commit
b27205f5ee
@ -37,11 +37,14 @@ ExclusiveArch: do_not_build
|
||||
# === sort out which flavor to build ===
|
||||
|
||||
%if "%flavor" == "openSUSE"
|
||||
%if "%{?the_versionz}" == ""
|
||||
%error "bad version string"
|
||||
%endif
|
||||
%if 0%{?is_opensuse}
|
||||
%define theme openSUSE
|
||||
%if 0%{?sle_version}
|
||||
%define the_version %(echo %sle_version | sed -Ee 's/^([0-9][0-9])(0|([0-9]))([0-9]).*/\1.\3\4/')
|
||||
%if "%{?the_versionx}" == ""
|
||||
%if "%{the_version}" == ""
|
||||
%error "bad version string"
|
||||
%endif
|
||||
%define net_repo http://download.opensuse.org/distribution/leap/%{the_version}/repo/oss
|
||||
|
Loading…
x
Reference in New Issue
Block a user