(no commit message)
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 24 Apr 2020 06:47:03 +0000 (08:47 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 24 Apr 2020 06:47:03 +0000 (08:47 +0200)
lldb-experimental.spec

index bed8823..b109c42 100644 (file)
@@ -12,7 +12,7 @@
 %endif
 Name: lldb-experimental
 Version: 11.0.0
 %endif
 Name: lldb-experimental
 Version: 11.0.0
-Release: 0.20200424snap3%{?dist}
+Release: 0.20200424snap4%{?dist}
 Summary: Next generation high-performance debugger - experimental trunk snapshot
 License: NCSA
 URL: http://lldb.llvm.org/
 Summary: Next generation high-performance debugger - experimental trunk snapshot
 License: NCSA
 URL: http://lldb.llvm.org/
@@ -70,9 +70,10 @@ OPTS="--depth 10000"
 %endif
 REF="reference"
 # RHEL-7 does not support: --reference-if-able
 %endif
 REF="reference"
 # RHEL-7 does not support: --reference-if-able
-test -d ../$REF/ && OPTS="$OPTS --reference ../$REF"
+CLONEOPTS="--single-branch"
+test -d ../$REF/ && CLONEOPTS="$CLONEOPTS --reference ../$REF"
 # 2500 = 1 month in 2019
 # 2500 = 1 month in 2019
-git clone --single-branch $OPTS https://github.com/llvm/llvm-project.git .
+git clone $OPTS $CLONEOPTS 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
 %if %{use_jankratochvil_dwz} || %{use_jankratochvil_rust}
 git remote remove jankratochvil || :
 #git remote add jankratochvil git://git.jankratochvil.net/lldb