$ git clone -n https://src.fedoraproject.org/rpms/ghc-cryptohash-sha1.git /var/lib/mock/f38-build-700041-87899/root/chroot_tmpdir/scmroot/ghc-cryptohash-sha1 Cloning into '/var/lib/mock/f38-build-700041-87899/root/chroot_tmpdir/scmroot/ghc-cryptohash-sha1'... $ git reset --hard 127000eb6c8c6d3eeab9e2f06d57128896c97ec2 HEAD is now at 127000e Convert to %autorelease and %autochangelog