$ git clone -n https://src.fedoraproject.org/rpms/openvswitch.git /var/lib/mock/f38-build-719947-97334/root/chroot_tmpdir/scmroot/openvswitch Cloning into '/var/lib/mock/f38-build-719947-97334/root/chroot_tmpdir/scmroot/openvswitch'... $ git reset --hard 89c329fd5906f2de9daff8eda16a45a8359ec8a9 HEAD is now at 89c329f Replace fgrep with grep -F Delete ovs-vswitchd, if it's not a link