X-Git-Url: https://git.jankratochvil.net/?p=lldb-experimental.git;a=blobdiff_plain;f=lldb-experimental.spec;h=8ac06ff8af35f622188d43016c8d95c0ba4b4285;hp=3efbe9a8457c06a704b154c08ca481d3847938fa;hb=f90a15b0d06ad87a31c627ef263f08e8e0697afd;hpb=4a04562e0e1845e91e5a33f128427f061d4cf980 diff --git a/lldb-experimental.spec b/lldb-experimental.spec index 3efbe9a..8ac06ff 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.20191027snap0%{?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