$ git clone -n https://src.fedoraproject.org/rpms/ghc-old-time.git /var/lib/mock/f38-build-689766-82602/root/chroot_tmpdir/scmroot/ghc-old-time Cloning into '/var/lib/mock/f38-build-689766-82602/root/chroot_tmpdir/scmroot/ghc-old-time'... $ git reset --hard 8ba3df7235b76e045ad2a6a00bf2a519280ea9ed HEAD is now at 8ba3df7 Convert to %autorelease and %autochangelog