$ git clone -n https://src.fedoraproject.org/rpms/kscreenlocker.git /var/lib/mock/f33-build-170815-43914/root/chroot_tmpdir/scmroot/kscreenlocker Cloning into '/var/lib/mock/f33-build-170815-43914/root/chroot_tmpdir/scmroot/kscreenlocker'... $ git reset --hard 9d8feba4a3090324ab34b9856408a781e4706c1e HEAD is now at 9d8feba fix %%autosetup, use %%make_build