diff --git a/rust.spec b/rust.spec index c2fcbde270a0aac1b049d8531e47968d9e69e62f..e0ba923e4bd1d84ea0e605dfb6f725f6188027e2 100644 --- a/rust.spec +++ b/rust.spec @@ -26,7 +26,7 @@ Name: rust Version: 1.91.0 -Release: 1 +Release: 2 Summary: The Rust Programming Language License: Apache-2.0 OR MIT URL: https://www.rust-lang.org @@ -357,7 +357,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 @@ -559,6 +559,9 @@ export %{rust_env} %{_mandir}/man1/cargo*.1* %changelog +* Tue Nov 04 2025 wangkai <13474090681@163.com> - 1.91.0-2 +- Fix syntax error for rust + * Fri Oct 31 2025 Funda Wang - 1.91.0-1 - update to 1.91.0