$ git clone -n https://src.fedoraproject.org/rpms/ghc-readline.git /var/lib/mock/f38-build-690618-82745/root/chroot_tmpdir/scmroot/ghc-readline Cloning into '/var/lib/mock/f38-build-690618-82745/root/chroot_tmpdir/scmroot/ghc-readline'... $ git reset --hard 30dbbb03d735f81ef94761c3ea6805c208460a13 HEAD is now at 30dbbb0 Convert to %autorelease and %autochangelog