$ git clone -n https://src.fedoraproject.org/rpms/ghc-haxr.git /var/lib/mock/f38-build-707633-91897/root/chroot_tmpdir/scmroot/ghc-haxr Cloning into '/var/lib/mock/f38-build-707633-91897/root/chroot_tmpdir/scmroot/ghc-haxr'... $ git reset --hard 156cb3306c0632d927bde2f4e19a64635e60345f HEAD is now at 156cb33 Convert to %autorelease and %autochangelog