$ git clone -n https://src.fedoraproject.org/rpms/sipwitch.git /var/lib/mock/f33-build-315337-57731/root/chroot_tmpdir/scmroot/sipwitch Cloning into '/var/lib/mock/f33-build-315337-57731/root/chroot_tmpdir/scmroot/sipwitch'... $ git reset --hard f56c9e69795b842aaaa19c2ed4fb2fe83db1c563 HEAD is now at f56c9e6 Use %cmake_build/%cmake_install