$ git clone -n https://src.fedoraproject.org/rpms/ghc-with-location.git /var/lib/mock/f38-build-side-42-init-devel-473073-23438/root/chroot_tmpdir/scmroot/ghc-with-location Cloning into '/var/lib/mock/f38-build-side-42-init-devel-473073-23438/root/chroot_tmpdir/scmroot/ghc-with-location'... $ git reset --hard 4d622e5f07b81b933347d2a2cb47d620aa8633ca HEAD is now at 4d622e5 Convert to %autorelease and %autochangelog