$ git clone -n https://src.fedoraproject.org/rpms/sagemath.git /var/lib/mock/f33-build-385266-62171/root/chroot_tmpdir/scmroot/sagemath Cloning into '/var/lib/mock/f33-build-385266-62171/root/chroot_tmpdir/scmroot/sagemath'... $ git reset --hard ddc344c347fd21af24c6680cbd5ec48b59a45066 HEAD is now at ddc344c Wrap the %pretrans script in %if %{with docs} ... %{endif}.