From: Jan Kratochvil Date: Sat, 17 Aug 2019 13:24:39 +0000 (+0200) Subject: (no commit message) X-Git-Url: http://git.jankratochvil.net/?p=lldb-experimental.git;a=commitdiff_plain;h=2a1cabfb41a73055b2469d2f94a97acc4a29bdec --- diff --git a/lldb-experimental.spec b/lldb-experimental.spec index 3efbe9a..922118c 100644 --- a/lldb-experimental.spec +++ b/lldb-experimental.spec @@ -12,7 +12,7 @@ %endif Name: lldb-experimental Version: 10.0.0 -Release: 0.20190817snap4%{?dist} +Release: 0.20190817snap5%{?dist} Summary: Next generation high-performance debugger - experimental trunk snapshot License: NCSA URL: http://lldb.llvm.org/ @@ -59,8 +59,15 @@ The package contains header files for %{name}. %prep %setup -q -c -T +OPTS="" +%if !0%{?rhel:1} || 0%{?rhel} > 7 + OPTS="$OPTS --no-tags" +%endif +REF="reference" +# RHEL-7 does not support: --reference-if-able +test -d ../$REF/ && OPTS="$OPTS --reference ../$REF" # 2500 = 1 month in 2019 -git clone --depth 10000 --no-tags --single-branch --reference-if-able reference https://github.com/llvm/llvm-project.git . +git clone --depth 10000 --single-branch $OPTS https://github.com/llvm/llvm-project.git . %if %{use_jankratochvil_dwz} || %{use_jankratochvil_rust} git remote remove jankratochvil || : git remote add jankratochvil git://git.jankratochvil.net/lldb