Accepting request 1117953 from home:vulyanov:branches:Virtualization

- Enable the build for ALP and remove no longer supported SLE versions
  from the distro check

OBS-URL: https://build.opensuse.org/request/show/1117953
OBS-URL: https://build.opensuse.org/package/show/Virtualization/containerized-data-importer?expand=0&rev=69
This commit is contained in:
Vasily Ulyanov 2023-10-16 09:20:22 +00:00 committed by Git OBS Bridge
parent 8e70914a9f
commit c33799ea27
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