From 1fc607d3b7510fb9a7a9a952a15268bdb94049d7 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 1 Aug 2024 09:12:14 +0000 Subject: [PATCH] Fix inverted resource dir condition --- build.spec.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.spec.inc b/build.spec.inc index 41cff18..a87d16f 100644 --- a/build.spec.inc +++ b/build.spec.inc @@ -75,9 +75,9 @@ popd -DCLANG_BUILD_EXAMPLES:BOOL=OFF \ -DCLANG_REPOSITORY_STRING="%{?dist_vendor} %{version}-%{release}" \ %if %{with compat_build} - -DCLANG_RESOURCE_DIR=../lib/clang/%{maj_ver} \ -%else -DCLANG_RESOURCE_DIR=../../../lib/clang/%{maj_ver} \ +%else + -DCLANG_RESOURCE_DIR=../lib/clang/%{maj_ver} \ %endif -DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR=../clang-tools-extra \ -DCLANG_CONFIG_FILE_SYSTEM_DIR=%{_sysconfdir}/%{pkg_name_clang}/ \