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