$ git clone -n https://src.fedoraproject.org/rpms/ghc-regex-posix.git /var/lib/mock/f38-build-689793-82602/root/chroot_tmpdir/scmroot/ghc-regex-posix Cloning into '/var/lib/mock/f38-build-689793-82602/root/chroot_tmpdir/scmroot/ghc-regex-posix'... $ git reset --hard 4e6cfe0bd5cd83c57e2f4f0d0f6b9e151cf3c8da HEAD is now at 4e6cfe0 Convert to %autorelease and %autochangelog