From a5bb59ff7b62c14169da67d17ba5438e35e8f7d6 Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Tue, 4 Nov 2025 09:25:29 +0800 Subject: [PATCH] Fix syntax error for rust --- rust.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rust.spec b/rust.spec index f46a329..5ecde80 100644 --- a/rust.spec +++ b/rust.spec @@ -25,7 +25,7 @@ Name: rust Version: 1.82.0 -Release: 1 +Release: 2 Summary: The Rust Programming Language License: Apache-2.0 OR MIT URL: https://www.rust-lang.org @@ -358,7 +358,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 @@ -549,6 +549,9 @@ export %{rust_env} %{_mandir}/man1/cargo*.1* %changelog +* Tue Nov 04 2025 wangkai <13474090681@163.com> - 1.82.0-2 +- Fix syntax error for rust + * Tue Sep 23 2025 wangkai <13474090681@163.com> - 1.82.0-1 - Update to 1.82.0 because firefox update 140ESR version - Synchronize the code from the openEuler-24.03-LTS-SP1 branch -- Gitee