Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kubevirt for openSUSE:Factory checked in at 2022-12-01 19:20:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kubevirt (Old) and /work/SRC/openSUSE:Factory/.kubevirt.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kubevirt" Thu Dec 1 19:20:11 2022 rev:50 rq:1039305 version:0.58.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kubevirt/kubevirt.changes 2022-10-14 15:43:38.660029114 +0200 +++ /work/SRC/openSUSE:Factory/.kubevirt.new.1835/kubevirt.changes 2022-12-01 19:20:12.314050802 +0100 @@ -1,0 +2,8 @@ +Thu Dec 1 09:16:49 UTC 2022 - Vasily Ulyanov <vasily.ulya...@suse.com> + +- Ensure RPMs and containers are built against the same distro +- Be more strict when discovering the registry path: error out if the + distro is unknown, instead of falling through to 'opensuse' by + default + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kubevirt.spec ++++++ --- /var/tmp/diff_new_pack.F90aI5/_old 2022-12-01 19:20:13.138055372 +0100 +++ /var/tmp/diff_new_pack.F90aI5/_new 2022-12-01 19:20:13.158055483 +0100 @@ -171,11 +171,15 @@ labelprefix=com.suse.kubevirt registry=registry.suse.com ;; -*) +*:1) tagprefix=kubevirt labelprefix=org.opensuse.kubevirt registry=registry.opensuse.org ;; +*) + echo "Unsupported distro: ${distro}" >&2 + exit 1 + ;; esac %if "%{?kubevirt_registry_path}" == "" @@ -190,6 +194,7 @@ -e "s#_REGISTRY_#${registry}#g" \ -e "s#_PKG_VERSION_#%{version}#g" \ -e "s#_PKG_RELEASE_#%{release}#g" \ + -e "s#_DISTRO_#${distro}#g" \ %{S:1} mkdir -p go/src/kubevirt.io go/pkg ++++++ kubevirt_containers_meta ++++++ --- /var/tmp/diff_new_pack.F90aI5/_old 2022-12-01 19:20:13.274056126 +0100 +++ /var/tmp/diff_new_pack.F90aI5/_new 2022-12-01 19:20:13.274056126 +0100 @@ -1,10 +1,16 @@ -#!/bin/bash +#!/bin/bash -xe TAGPREFIX=_TAGPREFIX_ LABELPREFIX=_LABELPREFIX_ REGISTRY=_REGISTRY_ PKG_VERSION=_PKG_VERSION_ PKG_RELEASE=_PKG_RELEASE_ +DISTRO=_DISTRO_ + +# Set HOME=/root as a workaround for +# https://github.com/openSUSE/obs-build/issues/901 +_distro=$(HOME=/root rpm --eval '%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}') +[ "${DISTRO}" == "${_distro}" ] || exit 1 if [ -n "${pkg}" ]; then if rpm -q ${pkg}; then