$ git clone -n https://src.fedoraproject.org/rpms/3proxy.git /var/lib/mock/f40-build-806230-144980/root/chroot_tmpdir/scmroot/3proxy Cloning into '/var/lib/mock/f40-build-806230-144980/root/chroot_tmpdir/scmroot/3proxy'... $ git reset --hard ccd21cf6bbbb53314325c9913b5aa662e6379694 HEAD is now at ccd21cf Use %autorelease and %autochangelog