$ git clone -n https://src.fedoraproject.org/rpms/ghc-cipher-aes.git /var/lib/mock/f38-build-690187-82664/root/chroot_tmpdir/scmroot/ghc-cipher-aes Cloning into '/var/lib/mock/f38-build-690187-82664/root/chroot_tmpdir/scmroot/ghc-cipher-aes'... $ git reset --hard cd436a586ff1de9f85bfa15c5ffbad89bbcf599c HEAD is now at cd436a5 Convert to %autorelease and %autochangelog