Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rust1.86 for openSUSE:Factory checked in at 2025-06-11 16:27:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust1.86 (Old) and /work/SRC/openSUSE:Factory/.rust1.86.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust1.86" Wed Jun 11 16:27:20 2025 rev:3 rq:1284763 version:1.86.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rust1.86/rust1.86.changes 2025-06-06 22:45:22.834581962 +0200 +++ /work/SRC/openSUSE:Factory/.rust1.86.new.19631/rust1.86.changes 2025-06-11 16:29:01.018708108 +0200 @@ -1,0 +2,10 @@ +Wed Jun 11 04:52:47 UTC 2025 - William Brown <william.br...@suse.com> + +- Add wasm32-unknown-unknown support + +------------------------------------------------------------------- +Wed Jun 11 03:34:45 UTC 2025 - William Brown <william.br...@suse.com> + +- Support SLE12 for Firefox LTS + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust1.86.spec ++++++ --- /var/tmp/diff_new_pack.9wiPCh/_old 2025-06-11 16:29:14.659277117 +0200 +++ /var/tmp/diff_new_pack.9wiPCh/_new 2025-06-11 16:29:14.663277284 +0200 @@ -30,6 +30,13 @@ %global need_gcc_version 13 %endif +# Use correct python-version for SLE-12 +%if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000 +%define python python3.9 +%else +%define python python3 +%endif + #KEEP NOSOURCE DEBUGINFO %define obsolete_rust_versioned() \ @@ -100,7 +107,7 @@ %global rust_triple %{rust_arch}-unknown-linux-%{abi} # Web Assembly targets -%define rust_wasm_targets %{?with_wasi:,wasm32-wasip1} +%define rust_wasm_targets %{?with_wasi:,wasm32-wasip1,wasm32-unknown-unknown} # Base Rust targets for all architectures %define rust_base_targets %{rust_triple}%{rust_wasm_targets} @@ -297,7 +304,11 @@ %endif BuildRequires: pkgconfig BuildRequires: procps +%if 0%{?sle_version} >= 120000 && 0%{?sle_version} < 150000 +BuildRequires: python39-base +%else BuildRequires: python3-base +%endif BuildRequires: util-linux BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(openssl) @@ -471,7 +482,7 @@ rm -rf src/tools/lldb # Fix rpmlint error "This script uses 'env' as an interpreter" -sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/python3|' library/core/src/unicode/printable.py +sed -i '1s|#!%{_bindir}/env python|#!%{_bindir}/%{python}|' library/core/src/unicode/printable.py chmod +x library/core/src/unicode/printable.py %if %{with wasi} @@ -593,7 +604,7 @@ # the same version (they did previous ver) %if %{without test} -python3 ./x.py build +%{python} ./x.py build # Debug for post build free -h df -h @@ -604,7 +615,7 @@ %if %{without test} . ./.env.sh -python3 ./x.py install +%{python} ./x.py install # bsc#1199126 - rust-lld contains an rpath, which is invalid. chrpath -d %{buildroot}%{rustlibdir}/%{rust_triple}/bin/rust-lld @@ -679,7 +690,7 @@ # Exclude mte-ffi as aarch64-linux-gnu-gcc isn't available %ifarch aarch64 -python3 ./x.py test --target=%{rust_triple} \ +%{python} ./x.py test --target=%{rust_triple} \ --exclude tests/run-make/issue-71519 \ --exclude tests/run-make/pgo-branch-weights \ --exclude src/tools/tidy \ @@ -694,7 +705,7 @@ --exclude tests/run-make/linker-warning \ --exclude src/bootstrap %else -python3 ./x.py test --target=%{rust_triple} \ +%{python} ./x.py test --target=%{rust_triple} \ --exclude tests/run-make/issue-71519 \ --exclude tests/run-make/pgo-branch-weights \ --exclude src/tools/tidy \ @@ -752,6 +763,9 @@ %{rustlibdir}/wasm32-wasip1/lib/*.rlib %{rustlibdir}/wasm32-wasip1/lib/self-contained/*.o %{rustlibdir}/wasm32-wasip1/lib/self-contained/*.a +%dir %{rustlibdir}/wasm32-unknown-unknown +%dir %{rustlibdir}/wasm32-unknown-unknown/lib +%{rustlibdir}/wasm32-unknown-unknown/lib/*.rlib %endif %ifarch x86_64 %dir %{rustlibdir}/x86_64-unknown-none