$ git clone -n https://src.fedoraproject.org/rpms/dmidecode.git /var/lib/mock/f33-build-209408-48375/root/chroot_tmpdir/scmroot/dmidecode Cloning into '/var/lib/mock/f33-build-209408-48375/root/chroot_tmpdir/scmroot/dmidecode'... $ git reset --hard 7fc5e6a3453bfe12891ee976636667cb82ac5d67 HEAD is now at 7fc5e6a Use %make_build macro instead of plain make