Script 'mail_helper' called by obssrc
Hello community,

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

Package is "go1.25"

Tue Jul 21 22:53:26 2026 rev:24 rq:1366818 version:1.25.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/go1.25/go1.25.changes    2026-07-08 
17:39:11.379015532 +0200
+++ /work/SRC/openSUSE:Factory/.go1.25.new.24530/go1.25.changes 2026-07-21 
22:53:28.319508491 +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#1264394
+  * 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#1264394
+  * 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#1264394
+
+-------------------------------------------------------------------
+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 1259 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#1264394
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ go1.25.spec ++++++
--- /var/tmp/diff_new_pack.IVxrWJ/_old  2026-07-21 22:53:29.387544862 +0200
+++ /var/tmp/diff_new_pack.IVxrWJ/_new  2026-07-21 22:53:29.387544862 +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
-%define go_libalternatives 125
+%define go_libalternatives 1259
 
 # 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
@@ -122,7 +109,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}
@@ -228,7 +215,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