diff --git a/rust.spec b/rust.spec index 9ee8f9c8db878dd08f031b1b373b2bea461d3f14..77e5a9e66d5fad3d2cf4ce607dcbc2cf0bbccf5f 100644 --- a/rust.spec +++ b/rust.spec @@ -25,7 +25,7 @@ Name: rust Version: 1.82.0 -Release: 15 +Release: 16 Summary: The Rust Programming Language License: Apache-2.0 OR MIT URL: https://www.rust-lang.org @@ -360,7 +360,7 @@ fi %ifarch ppc64le %global _arch powerpc64le %endif -%if %{?clang_maj_ver} >= 17 +%if 0%{?clang_maj_ver} >= 17 # This is the new one, used on openEuler 24.03 LTS or later %define profiler %(echo %{llvm_root}/%{_lib}/clang/%{clang_maj_ver}/lib/%{_arch}-%{_vendor}-linux-gnu/libclang_rt.profile.a) %else @@ -551,6 +551,9 @@ export %{rust_env} %{_mandir}/man1/cargo*.1* %changelog +* Tue Nov 04 2025 wangkai <13474090681@163.com> - 1.82.0-16 +- Fix syntax error for rust + * Wed Sep 24 2025 wangkai <13474090681@163.com> - 1.82.0-15 - Remove rls command - Cleanup spec