$ git clone -n https://src.fedoraproject.org/rpms/k3b.git /var/lib/mock/f33-build-195255-47219/root/chroot_tmpdir/scmroot/k3b Cloning into '/var/lib/mock/f33-build-195255-47219/root/chroot_tmpdir/scmroot/k3b'... $ git reset --hard edae5ef2ee9d1c7910933f2549b04606ab47e27d HEAD is now at edae5ef List k3btheme.knsrc in correct directory in %files