From a49b6d061b9922591107408fd4e07b78147885dc Mon Sep 17 00:00:00 2001 From: Konrad Kleine Date: Wed, 5 Oct 2022 23:21:27 +0200 Subject: [PATCH] use llvm+cmake tarballs instead of big llvm-project and close unclosed %if --- llvm.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm.spec b/llvm.spec index 991f745..b93df8a 100644 --- a/llvm.spec +++ b/llvm.spec @@ -98,7 +98,8 @@ URL: http://llvm.org # 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. -Source0: %{llvm_snapshot_source_prefix}llvm-project-%{llvm_snapshot_yyyymmdd}.src.tar.xz +Source0: %{llvm_snapshot_source_prefix}llvm-%{llvm_snapshot_yyyymmdd}.src.tar.xz +Source2: %{llvm_snapshot_source_prefix}clang-%{llvm_snapshot_yyyymmdd}.src.tar.xz %{llvm_snapshot_extra_source_tags} %else Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz @@ -106,6 +107,7 @@ Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ve Source2: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz Source3: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz.sig Source4: release-keys.asc +%endif %if %{without compat_build} Source5: run-lit-tests