$ git clone -n https://src.fedoraproject.org/rpms/clang8.0.git /var/lib/mock/f33-build-138171-42149/root/chroot_tmpdir/scmroot/clang8.0 Cloning into '/var/lib/mock/f33-build-138171-42149/root/chroot_tmpdir/scmroot/clang8.0'... $ git reset --hard 6234f376461975e9b13e573561fe51c48198bd0b HEAD is now at 6234f37 Add symlinks for include dirs, so the CLANG_INCLUDE_DIRS cmake variable works