Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package go1.24 for openSUSE:Factory checked 
in at 2026-07-21 22:53:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/go1.24 (Old)
 and      /work/SRC/openSUSE:Factory/.go1.24.new.24530 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "go1.24"

Tue Jul 21 22:53:22 2026 rev:24 rq:1366814 version:1.24.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/go1.24/go1.24.changes    2026-06-27 
18:03:10.318084768 +0200
+++ /work/SRC/openSUSE:Factory/.go1.24.new.24530/go1.24.changes 2026-07-21 
22:53:23.703351293 +0200
@@ -1,0 +2,43 @@
+Fri Jul 17 14:14:48 UTC 2026 - Jeff Kowalczyk <[email protected]>
+
+- Packaging improvements:
+  * Revert %ghost /usr/bin/go /usr/bin/gofmt which prevents install
+    of a working go command. Refs boo#1245878 bsc#1264393
+  * Based on feedback from Factory maintainers restore the original
+    lifecycle for these files: Each go1.x toolchain shares
+    ownership of a go and gofmt symlink managed by the alternatives
+    system (update-alternatives and libalternatives). When the last
+    go1.x package is uninstalled the symlinks will be removed.
+  * Context: %ghost was introduced to prevent file conflicts among
+    go1.x toolchain packages reported by installcheck dev tool.
+    %ghost prevents the files from being installed, which results
+    in no installed go command. The shared ownership of the go and
+    gofmt symlinks is intentional.
+
+-------------------------------------------------------------------
+Mon Jul 13 19:16:58 UTC 2026 - Jeff Kowalczyk <[email protected]>
+
+- Packaging improvements:
+  * Define go_bootstrap_version with digits without go1.x prefix.
+    Correct path spelling to align with current toolchain layout
+    GOROOT_BOOTSTRAP=%{_libdir}/go/%{go_bootstrap_version},
+    noting interstitial /go/ in path. Fixes bootstrap
+    ERROR: Cannot find /usr/lib64/go1.x/bin/go.
+    Set $GOROOT_BOOTSTRAP to a working Go tree >= Go 1.x.y.
+    Bootstrap error first observed when using %ghost /usr/bin/go.
+    Fixed by Eugenio Paolantonio. Refs boo#1245878 bsc#1264393
+  * Mark %ghost /usr/bin/go /usr/bin/gofmt to avoid file conflicts
+    among go1.x toolchain packages. These files are managed by the
+    alternatives system. Refs boo#1245878 bsc#1264393
+
+-------------------------------------------------------------------
+Fri Jul 10 01:27:59 UTC 2026 - Jeff Kowalczyk <[email protected]>
+
+- Packaging improvements:
+  * Drop unused conditional %define with_shared refs jsc#PED-1962
+  * Uniqify %define go_libalternatives 1249 to accommodate parallel
+    installed toolchain variants per go1.x major version.
+    go1.x has highest alternatives priority and uses suffix 9.
+    refs boo#1245878 bsc#1264393
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ go1.24.spec ++++++
--- /var/tmp/diff_new_pack.imyM8K/_old  2026-07-21 22:53:24.647383441 +0200
+++ /var/tmp/diff_new_pack.imyM8K/_new  2026-07-21 22:53:24.651383577 +0200
@@ -17,7 +17,7 @@
 
 
 # Specify Go toolchain version used to bootstrap this package's Go toolchain
-%define go_bootstrap_version go1.22
+%define go_bootstrap_version 1.22
 
 # Build go-race only on platforms where C++14 is supported (SLE-15)
 %if 0%{?suse_version} >= 1500 || 0%{?sle_version} >= 150000
@@ -51,7 +51,7 @@
 
 # go_libalternatives is the name for the libalternatives configuration file
 # which denotes its priority and numbered as go_api sans dot separator
-%define go_libalternatives 124
+%define go_libalternatives 1249
 
 # Use libalternatives for SLE 16.1+ and Tumbleweed.
 # Older distributions keep using update-alternatives, as before.
@@ -63,19 +63,6 @@
 %define with_update_alternatives 1
 %endif
 
-# shared library support
-%if "%{rpm_vercmp %{go_api} 1.5}" > "0"
-%ifarch %ix86 %arm x86_64 aarch64
-%define with_shared 1
-%else
-%define with_shared 0
-%endif
-%else
-%define with_shared 0
-%endif
-%ifarch ppc64
-%define with_shared 0
-%endif
 # setup go_arch (BSD-like scheme)
 %ifarch %ix86
 %define go_arch 386
@@ -124,7 +111,7 @@
 Patch9:         go-fixseccomp.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # boostrap
-BuildRequires:  %{go_bootstrap_version}
+BuildRequires:  go%{go_bootstrap_version}
 BuildRequires:  fdupes
 Suggests:       %{name}-doc = %{version}
 %ifarch %{tsan_arch}
@@ -218,7 +205,7 @@
 %endif
 
 # Now, compile Go.
-export GOROOT_BOOTSTRAP=%{_libdir}/%{go_bootstrap_version}
+export GOROOT_BOOTSTRAP=%{_libdir}/go/%{go_bootstrap_version}
 # Ensure ARM arch is set properly - boo#1169832
 %ifarch armv6l armv6hl
 export GOARCH=arm

Reply via email to