Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package obs-service-kiwi_metainfo_helper for
openSUSE:Factory checked in at 2024-02-07 18:47:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/obs-service-kiwi_metainfo_helper (Old)
and /work/SRC/openSUSE:Factory/.obs-service-kiwi_metainfo_helper.new.1815
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "obs-service-kiwi_metainfo_helper"
Wed Feb 7 18:47:23 2024 rev:16 rq:1144543 version:0.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/obs-service-kiwi_metainfo_helper/obs-service-kiwi_metainfo_helper.changes
2023-09-21 22:13:19.415689468 +0200
+++
/work/SRC/openSUSE:Factory/.obs-service-kiwi_metainfo_helper.new.1815/obs-service-kiwi_metainfo_helper.changes
2024-02-07 18:48:19.998533185 +0100
@@ -1,0 +2,6 @@
+Thu Feb 1 15:54:12 UTC 2024 - Marina Latini <[email protected]>
+
+- Replace %ARCH% with the architecture in images for supporting
+ subscriptions in SCC based on architectures
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ obs-service-kiwi_metainfo_helper.spec ++++++
--- /var/tmp/diff_new_pack.86238D/_old 2024-02-07 18:48:20.546552945 +0100
+++ /var/tmp/diff_new_pack.86238D/_new 2024-02-07 18:48:20.546552945 +0100
@@ -1,7 +1,7 @@
#
# spec file for package obs-service-kiwi_metainfo_helper
#
-# 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
++++++ README ++++++
--- /var/tmp/diff_new_pack.86238D/_old 2024-02-07 18:48:20.578554100 +0100
+++ /var/tmp/diff_new_pack.86238D/_new 2024-02-07 18:48:20.578554100 +0100
@@ -12,6 +12,7 @@
| %SOURCEURL% | Source url for container recipe (IBS)
|
https://sources.suse.com/SUSE:SLE-15:Update:CR/sles15-image/2951b67133dd6384cacb28203174e030/
|
| %RELEASE% | The OBS release number
(<cicnt\>.<bldcnt\>) | 4.2
|
| %BUILDTIME% | $(date --utc +%FT%T.%NZ)
| 2018-10-30T09:19:02.074934628Z
|
+| %ARCH% | The architecture of the image
| aarch64
|
| %OS_VERSION% | VERSION in the os-release file
| 15-SP3
|
| %OS_VERSION_NO_DASH% | VERSION in the os-release file, with
space (SLE only) | 15 SP3
|
| %OS_VERSION_ID% | VERSION_ID in the os-release file
| 15
|
++++++ kiwi_metainfo_helper ++++++
--- /var/tmp/diff_new_pack.86238D/_old 2024-02-07 18:48:20.594554677 +0100
+++ /var/tmp/diff_new_pack.86238D/_new 2024-02-07 18:48:20.598554821 +0100
@@ -11,6 +11,7 @@
BUILD_DATA="${BUILD_DIST/.dist/.data}"
if [ -e "${BUILD_DATA}" ]; then
. "${BUILD_DATA}"
+ BUILD_ARCH="${BUILD_ARCH%%:*}"
# The build script renames the recipe (to strip _service:foo:), but
doesn't update .data
RECIPEFILE="${RECIPEFILE##*:}"
@@ -25,6 +26,7 @@
echo "Warning: No build data found - chroot build?"
DISTURL="local"
RELEASE=0
+ BUILD_ARCH="noarch"
# Guess the build recipe
files=(*.kiwi Dockerfile* Chart.yaml*)
@@ -129,5 +131,6 @@
-e "s#%DISTURL%#${DISTURL}#g" \
-e "s#%SOURCEURL%#${SOURCEURL}#g" \
-e "s/%RELEASE%/${RELEASE}/g" \
+ -e "s/%ARCH%/${BUILD_ARCH}/g" \
-e "s/%BUILDTIME%/$(date --utc +%FT%T.%NZ)/g" "${files[@]}"
++++++ test.sh ++++++
--- /var/tmp/diff_new_pack.86238D/_old 2024-02-07 18:48:20.622555686 +0100
+++ /var/tmp/diff_new_pack.86238D/_new 2024-02-07 18:48:20.626555831 +0100
@@ -25,6 +25,7 @@
DISTURL="obs://build.opensuse.org/openSUSE:Factory/images/0f40c57dd619e1dff9e512949b6bca09-opensuse-tumbleweed-image:docker"
RELEASE=4.2
RECIPEFILE=_service:foobar:Dockerfile
+BUILD_ARCH=aarch64:aarch64_ilp32:armv8l
EOF
export BUILD_DIST=.dist
@@ -33,6 +34,7 @@
SOURCEURL=%SOURCEURL%
RELEASE=%RELEASE%
BUILDTIME=%BUILDTIME%
+ARCH=%ARCH%
OS_VERSION=%OS_VERSION%
OS_VERSION_NO_DASH=%OS_VERSION_NO_DASH%
OS_VERSION_ID=%OS_VERSION_ID%
@@ -51,6 +53,7 @@
SOURCEURL=https://build.opensuse.org/package/show/openSUSE:Factory/opensuse-tumbleweed-image?rev=0f40c57dd619e1dff9e512949b6bca09
RELEASE=4.2
BUILDTIME=2018-10-30T09:19:02.074934628Z
+ARCH=aarch64
OS_VERSION=15-SP4
OS_VERSION_NO_DASH=15 SP4
OS_VERSION_ID=15.4
@@ -67,6 +70,7 @@
DISTURL="obs://build.suse.de/SUSE:SLE-15-SP3:Update:CR/images/5f0a221b7877396cbf977205e64690d2-sles15-image"
RELEASE=4.2
RECIPEFILE=_service:foobar:Dockerfile
+BUILD_ARCH=aarch64:aarch64_ilp32:armv8l
EOF
cat >Dockerfile <<EOF
@@ -89,6 +93,7 @@
SOURCEURL=%SOURCEURL%
RELEASE=%RELEASE%
BUILDTIME=%BUILDTIME%
+ARCH=%ARCH%
EOF
bash "${script}"
@@ -98,5 +103,6 @@
SOURCEURL=https://local/package/show/local/local?rev=local
RELEASE=0
BUILDTIME=2018-10-30T09:19:02.074934628Z
+ARCH=noarch
EOF