Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tinygo for openSUSE:Factory checked in at 2025-10-27 14:38:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tinygo (Old) and /work/SRC/openSUSE:Factory/.tinygo.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tinygo" Mon Oct 27 14:38:47 2025 rev:5 rq:1313506 version:0.39.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tinygo/tinygo.changes 2025-09-24 17:13:08.471760334 +0200 +++ /work/SRC/openSUSE:Factory/.tinygo.new.1980/tinygo.changes 2025-10-27 14:40:33.020689670 +0100 @@ -1,0 +2,7 @@ +Fri Oct 24 09:15:16 UTC 2025 - Fabian Vogt <[email protected]> + +- Force compile test to target a supported architecture +- Install targets folder into /usr/share/tinygo/ as well, that way + the testsuite runs at least + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tinygo.spec ++++++ --- /var/tmp/diff_new_pack.1f8S9J/_old 2025-10-27 14:40:37.180865369 +0100 +++ /var/tmp/diff_new_pack.1f8S9J/_new 2025-10-27 14:40:37.180865369 +0100 @@ -1,7 +1,7 @@ # # spec file for package tinygo # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -75,8 +75,13 @@ } EOF export TINYGOROOT=%{buildroot}%{_datadir}/%{name} +# Native test compile on supported architectures +%ifarch %ix86 x86_64 %arm aarch64 %{buildroot}%{_bindir}/%{name} build hello.go ./hello +%else +GOARCH=amd64 %{buildroot}%{_bindir}/%{name} build hello.go +%endif export LDFLAGS="-lLLVM -lclang" export CGO_LDFLAGS="-lLLVM -lclang" make test || true @@ -84,7 +89,8 @@ %install install -D -m 0755 %{name} "%{buildroot}%{_bindir}/%{name}" mkdir -p %{buildroot}%{_datadir}/%{name}/lib -cp -a --parent src lib/{musl,compiler-rt-builtins,bdwgc} %{buildroot}%{_datadir}/%{name}/ +cp -a --parents src lib/{musl,compiler-rt-builtins,bdwgc} %{buildroot}%{_datadir}/%{name}/ +cp -a targets %{buildroot}%{_datadir}/%{name}/ # make rpmlint happy: find %{buildroot}%{_datadir}/%{name}/ -iname '.[a-z]*' -type f -delete # drop hidden files rm -rf %{buildroot}%{_datadir}/%{name}/lib/musl/{tools,configure}
