From f7e7676bb6d8146ff0387d92baad17bc9739bbff Mon Sep 17 00:00:00 2001 From: wangqiang Date: Mon, 13 Oct 2025 13:47:52 +0800 Subject: [PATCH] Replaced the hardcoded /opt/openEuler path with /opt/\%{_vendor} --- llvm-toolset-18.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/llvm-toolset-18.spec b/llvm-toolset-18.spec index b2f1413..d98a413 100644 --- a/llvm-toolset-18.spec +++ b/llvm-toolset-18.spec @@ -50,7 +50,7 @@ %global pkg_suffix %{nil} %global exec_suffix %{nil} %else -%global _scl_prefix /opt/openEuler +%global _scl_prefix /opt/%{_vendor} %{?scl:%scl_package %scl} %{!?scl:%global scl_prefix llvm-toolset-%{maj_ver}-} %{!?scl:%global pkg_name %{name}} @@ -149,9 +149,9 @@ #region packages #region main package -Name: llvm-toolset-%{maj_ver} +Name: llvm-toolset-%{maj_ver} Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 7 +Release: 8 Summary: The Low Level Virtual Machine License: NCSA @@ -2784,6 +2784,9 @@ fi #endregion files %changelog +* Mon Oct 13 2025 Wang Qiang - 18.1.8-8 +- Replaced the hardcoded /opt/openEuler path with /opt/\%{_vendor} + * Tue Jun 10 2025 liyunfei - 18.1.8-7 - replace os_version with dist - default dist to .oe2403 -- Gitee