$ git clone -n https://src.fedoraproject.org/rpms/ghc-regex-compat.git /var/lib/mock/f38-build-689601-82553/root/chroot_tmpdir/scmroot/ghc-regex-compat Cloning into '/var/lib/mock/f38-build-689601-82553/root/chroot_tmpdir/scmroot/ghc-regex-compat'... $ git reset --hard dfa8e74b775b1e0e33608bd1b4ce56304d1662bf HEAD is now at dfa8e74 Convert to %autorelease and %autochangelog