Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rustup for openSUSE:Factory checked in at 2026-12-02 17:06:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rustup (Old) and /work/SRC/openSUSE:Factory/.rustup.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rustup" Wed Dec 2 17:06:02 2026 rev:33 rq:1402276 version:1.29.3~0 Changes: -------- --- /work/SRC/openSUSE:Factory/rustup/rustup.changes 2026-11-04 19:49:11.255765375 +0100 +++ /work/SRC/openSUSE:Factory/.rustup.new.1340718/rustup.changes 2026-12-02 17:08:46.107216923 +0100 @@ -1,0 +2,9 @@ +Thu Nov 26 11:00:55 UTC 2026 - Zoltan Balogh <[email protected]> + +- Enable the upstream test suite with cargo test. + Skip the static root certificate generator (needs network) and the + SOCKS proxy test (needs a default rustls provider). Add curl for the + rustup-init.sh help test. Tests run only on Tumbleweed, where the + build results are visible, so Leap and SLE builds are unchanged. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rustup.spec ++++++ --- /var/tmp/diff_new_pack.aMQ1iz/_old 2026-12-02 17:08:46.945252385 +0100 +++ /var/tmp/diff_new_pack.aMQ1iz/_new 2026-12-02 17:08:46.947252470 +0100 @@ -40,6 +40,9 @@ Source3: %{name}-rpmlintrc BuildRequires: cargo-packaging BuildRequires: rust+cargo >= 1.79 +%if 0%{?is_opensuse} && 0%{?suse_version} == 1699 +BuildRequires: curl +%endif # For system linker Requires: gcc ExclusiveArch: %{rust_tier1_arches} @@ -114,6 +117,24 @@ %{buildroot}%{_bindir}/rustup completions zsh > %{buildroot}%{_datadir}/zsh/site-functions/_rustup %{buildroot}%{_bindir}/rustup completions zsh cargo > %{buildroot}%{_datadir}/zsh/site-functions/_cargo +%check +%if 0%{?is_opensuse} && 0%{?suse_version} == 1699 +export RUSTUP_CI=1 +# Cargo 1.100 keeps test binaries under target/debug/build/rustup/*/out and +# the test harness looks for rustup-init next to them. +%{cargo_test} --no-default-features --features test,reqwest-rustls-tls --no-run +for d in target/debug/build/rustup/*/out; do + if [ -d "$d" ] && [ ! -e "$d/rustup-init" ]; then + ln target/debug/rustup-init "$d/rustup-init" + fi +done +# Skip the static root certificate generator, it connects to hosts on the +# internet. Skip the SOCKS proxy test, it builds a reqwest client directly +# and needs a default rustls provider, which the rustls-only build does not +# install. +%{cargo_test} --no-default-features --features test,reqwest-rustls-tls -- --skip suite::static_roots::store_static_roots --skip download::tests::reqwest::socks_proxy_request +%endif + %files %{_bindir}/rustup # %{_bindir}/rustup-init
