$ git clone -n https://src.fedoraproject.org/rpms/ghc-path-pieces.git /var/lib/mock/f38-build-689570-82546/root/chroot_tmpdir/scmroot/ghc-path-pieces Cloning into '/var/lib/mock/f38-build-689570-82546/root/chroot_tmpdir/scmroot/ghc-path-pieces'... $ git reset --hard 0295ccd271f62c114a921ea2287426b8ed079f34 HEAD is now at 0295ccd Convert to %autorelease and %autochangelog