$ git clone -n https://src.fedoraproject.org/rpms/ghc-setenv.git /var/lib/mock/f38-build-689634-82561/root/chroot_tmpdir/scmroot/ghc-setenv Cloning into '/var/lib/mock/f38-build-689634-82561/root/chroot_tmpdir/scmroot/ghc-setenv'... $ git reset --hard d9c42b464d4893b37f0931a3d8ebb3a29c7a2f6e HEAD is now at d9c42b4 Convert to %autorelease and %autochangelog