Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package containerized-data-importer for
openSUSE:Factory checked in at 2024-01-03 14:53:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/containerized-data-importer (Old)
and /work/SRC/openSUSE:Factory/.containerized-data-importer.new.28375
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "containerized-data-importer"
Wed Jan 3 14:53:57 2024 rev:37 rq:1136514 version:1.58.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/containerized-data-importer/containerized-data-importer.changes
2023-11-22 18:55:33.585670531 +0100
+++
/work/SRC/openSUSE:Factory/.containerized-data-importer.new.28375/containerized-data-importer.changes
2024-01-03 14:54:04.590038012 +0100
@@ -1,0 +2,6 @@
+Wed Jan 3 09:54:01 UTC 2024 - Vasily Ulyanov <[email protected]>
+
+- Set ExclusiveArch conditionally depending on the distro
+- Remove SLE15 SP4 from the distro check (end of general support)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ containerized-data-importer.spec ++++++
--- /var/tmp/diff_new_pack.Z0pJ0c/_old 2024-01-03 14:54:05.838083572 +0100
+++ /var/tmp/diff_new_pack.Z0pJ0c/_new 2024-01-03 14:54:05.838083572 +0100
@@ -1,7 +1,7 @@
#
# spec file for package containerized-data-importer
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,19 @@
#
+%if 0%{?sle_version} && !0%{?is_opensuse}
+# SLE
+%define _exclusive_arch x86_64
+%else
+%if 0%{?suse_version} == 1600
+# ALP
+%define _exclusive_arch x86_64
+%else
+# TW
+%define _exclusive_arch x86_64 aarch64
+%endif
+%endif
+
Name: containerized-data-importer
Version: 1.58.0
Release: 0
@@ -33,7 +46,7 @@
BuildRequires: rsync
BuildRequires: sed
BuildRequires: golang(API) >= 1.20
-ExclusiveArch: x86_64 aarch64
+ExclusiveArch: %{_exclusive_arch}
%description
Containerized-Data-Importer (CDI) is a persistent storage management add-on
for Kubernetes
@@ -137,11 +150,6 @@
#
distro='%{?sle_version}:%{?is_opensuse}%{!?is_opensuse:0}'
case "${distro}" in
-150400:0)
- tagprefix=suse/sles/15.4
- labelprefix=com.suse.kubevirt
- registry=registry.suse.com
- ;;
150500:0)
tagprefix=suse/sles/15.5
labelprefix=com.suse.kubevirt
@@ -158,14 +166,14 @@
registry=registry.opensuse.org
;;
*)
- %if 0%{?suse_version} == 1600
+%if 0%{?suse_version} == 1600
tagprefix=alp/kubevirt
labelprefix=com.suse.kubevirt
registry=registry.suse.com
- %else
+%else
echo "Unsupported distro: ${distro}" >&2
exit 1
- %endif
+%endif
;;
esac