$ git clone -n https://gitee.com/gaohongmei/socat.git /var/lib/mock/dist-an8.7-build-224040-62190/root/chroot_tmpdir/scmroot/socat Cloning into '/var/lib/mock/dist-an8.7-build-224040-62190/root/chroot_tmpdir/scmroot/socat'... $ git reset --hard 6efcf560dbb70863fa68413a5013c156f715619f HEAD is now at 6efcf56 Update to 1.7.4.4 1. add two upstream patches 2. replace tar file 3. add doc subpackage 4. add abi\api files