Ana Guerrero 2023-10-16 20:33:26 +00:00 committed by Git OBS Bridge
commit 14a350f7a4
2 changed files with 14 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 18 12:36:39 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>
- Enable the build for ALP and remove no longer supported SLE versions
from the distro check
-------------------------------------------------------------------
Tue Aug 15 15:18:09 UTC 2023 - Vasily Ulyanov <vasily.ulyanov@suse.com>

View File

@ -137,16 +137,6 @@ tar --strip-components=1 -xf %{S:0}
#
distro='%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}'
case "${distro}" in
150200:0)
tagprefix=suse/sles/15.2
labelprefix=com.suse.kubevirt
registry=registry.suse.com
;;
150300:0)
tagprefix=suse/sles/15.3
labelprefix=com.suse.kubevirt
registry=registry.suse.com
;;
150400:0)
tagprefix=suse/sles/15.4
labelprefix=com.suse.kubevirt
@ -168,8 +158,14 @@ case "${distro}" in
registry=registry.opensuse.org
;;
*)
echo "Unsupported distro: ${distro}" >&2
exit 1
%if 0%{?suse_version} == 1600
tagprefix=alp/kubevirt
labelprefix=com.suse.kubevirt
registry=registry.suse.com
%else
echo "Unsupported distro: ${distro}" >&2
exit 1
%endif
;;
esac