$ git clone -n https://git.cclinux.org/stage/rpms/opencv.git /var/lib/mock/dist-circle8-build-55368-17630/root/chroot_tmpdir/scmroot/opencv Cloning into '/var/lib/mock/dist-circle8-build-55368-17630/root/chroot_tmpdir/scmroot/opencv'... $ git reset --hard 2dd724d70861b478f98b0277ae3bfa65db359019 HEAD is now at 2dd724d import opencv-3.4.6-7.el8