Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rust1.87 for openSUSE:Factory checked in at 2025-06-12 15:47:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust1.87 (Old) and /work/SRC/openSUSE:Factory/.rust1.87.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust1.87" Thu Jun 12 15:47:32 2025 rev:3 rq:1284764 version:1.87.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rust1.87/rust1.87.changes 2025-06-10 08:59:00.955854997 +0200 +++ /work/SRC/openSUSE:Factory/.rust1.87.new.19631/rust1.87.changes 2025-06-12 15:47:36.031083108 +0200 @@ -1,0 +2,10 @@ +Wed Jun 11 04:52:47 UTC 2025 - William Brown <[email protected]> + +- Add wasm32-unknown-unknown support + +------------------------------------------------------------------- +Wed Jun 11 03:34:45 UTC 2025 - William Brown <[email protected]> + +- Support SLE12 for Firefox LTS + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust1.87.spec ++++++ --- /var/tmp/diff_new_pack.3Jb7Co/_old 2025-06-12 15:47:49.751653450 +0200 +++ /var/tmp/diff_new_pack.3Jb7Co/_new 2025-06-12 15:47:49.755653616 +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() \ @@ -101,7 +108,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} @@ -298,7 +305,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) @@ -472,7 +483,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} @@ -594,7 +605,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 @@ -605,7 +616,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 @@ -680,7 +691,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 \ @@ -695,7 +706,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 \ @@ -753,6 +764,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
