$ git clone -n https://src.fedoraproject.org/rpms/perl-TermReadKey.git /var/lib/mock/f33-build-123001-38402/root/chroot_tmpdir/scmroot/perl-TermReadKey Cloning into '/var/lib/mock/f33-build-123001-38402/root/chroot_tmpdir/scmroot/perl-TermReadKey'... $ git reset --hard 64b726f9a011d78210e8cef9c000bb71f7fe47bf HEAD is now at 64b726f Spec file cleanups: Use make_build and make_install macros