$ git clone -n https://src.fedoraproject.org/rpms/ghc-asn1-parse.git /var/lib/mock/f38-build-688312-82306/root/chroot_tmpdir/scmroot/ghc-asn1-parse Cloning into '/var/lib/mock/f38-build-688312-82306/root/chroot_tmpdir/scmroot/ghc-asn1-parse'... $ git reset --hard 1c9fbc54a6be734de0cd9aef67d2752763568a6e HEAD is now at 1c9fbc5 Convert to %autorelease and %autochangelog