diff --git a/rust.spec b/rust.spec index 8b6eef758dfc63d0b82ee6601e7fde6442f65f3c..fd29f4bd0011b1635c93d43b5968c25f230f2b99 100644 --- a/rust.spec +++ b/rust.spec @@ -2,7 +2,7 @@ %global bootstrap_cargo 1.85.0 %global bootstrap_channel 1.85.0 %global bootstrap_date 2025-02-20 -%global bootstrap_arches x86_64 aarch64 riscv64 +%global bootstrap_arches x86_64 aarch64 riscv64 loongarch64 %bcond_with llvm_static %ifarch x86_64 aarch64 riscv64 %bcond_with bundled_llvm @@ -26,7 +26,7 @@ Name: rust Version: 1.86.0 -Release: 1 +Release: 2 Summary: The Rust Programming Language License: Apache-2.0 OR MIT URL: https://www.rust-lang.org @@ -87,9 +87,9 @@ end} .."/rust-%{bootstrap_channel}") local target_arch = rpm.expand("%{_target_cpu}") for i, arch in ipairs(bootstrap_arches) do + print(string.format("Source%d: %s-%s.tar.xz\n", + i+5, base, rust_triple(arch))) if arch == target_arch then - print(string.format("Source%d: %s-%s.tar.xz\n", - i+5, base, rust_triple(arch))) rpm.define("bootstrap_source "..i+5) end end @@ -563,6 +563,9 @@ export %{rust_env} %{_mandir}/man1/cargo*.1* %changelog +* Wed May 07 2025 wangkai <13474090681@163.com> - 1.86.0-2 +- Include all sources in the source package + * Mon Apr 07 2025 wangkai <13474090681@163.com> - 1.86.0-1 - Update to 1.86.0