$ git clone -n https://src.fedoraproject.org/rpms/librime.git /var/lib/mock/f33-build-293714-55165/root/chroot_tmpdir/scmroot/librime Cloning into '/var/lib/mock/f33-build-293714-55165/root/chroot_tmpdir/scmroot/librime'... $ git reset --hard b55176e34cf84ac9a8b2ef6d720f0c5086d9044e HEAD is now at b55176e Use cmake macro