From f60f1961ea60c5cd1f703f2bb70f0e831c91d30f Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Wed, 9 Nov 2022 18:22:27 +0000 Subject: [PATCH] Adapt to standalone third-party dir --- llvm.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llvm.spec b/llvm.spec index cc29c86..6de759f 100644 --- a/llvm.spec +++ b/llvm.spec @@ -52,10 +52,6 @@ %if %{with snapshot_build} %undefine rc_ver -# FIXME(kkleine): Until we have the top-level "cmake" directory of the LLVM -# source tree separated out, we're going to use the complete source tarball -# ("llvm-project" instead of "llvm") for this. -%global llvm_srcdir llvm-project-%{llvm_snapshot_version_major}.%{llvm_snapshot_version_minor}.%{llvm_snapshot_version_patch}.src/llvm %global maj_ver %{llvm_snapshot_version_major} %global min_ver %{llvm_snapshot_version_minor} %global patch_ver %{llvm_snapshot_version_patch} @@ -63,6 +59,8 @@ %global llvm_srcdir llvm-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src %global cmake_srcdir cmake-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src +%global third_party_srcdir third-party-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:rc%{rc_ver}}.src + %if %{with compat_build} %global pkg_name llvm%{maj_ver}