$ git clone -n https://gitee.com/src-anolis-os/ypserv.git /var/lib/mock/dist-an8.7-build-138177-51624/root/chroot_tmpdir/scmroot/ypserv Cloning into '/var/lib/mock/dist-an8.7-build-138177-51624/root/chroot_tmpdir/scmroot/ypserv'... $ git reset --hard origin/a8 HEAD is now at d32a4bd spec: add doc sub package $ wget -O v4.1.tar.gz http://8.131.87.1/kojifiles/upstream-source/v4.1.tar.gz.258f46bd1a8e74d6f3c63f43ed0f8bfc --2022-10-19 04:54:15-- http://8.131.87.1/kojifiles/upstream-source/v4.1.tar.gz.258f46bd1a8e74d6f3c63f43ed0f8bfc Connecting to 8.131.87.1:80... connected. HTTP request sent, awaiting response... 200 OK Length: 158082 (154K) [application/x-gzip] Saving to: ‘v4.1.tar.gz’ 0K .......... .......... .......... .......... .......... 32% 2.59M 0s 50K .......... .......... .......... .......... .......... 64% 5.27M 0s 100K .......... .......... .......... .......... .......... 97% 509K 0s 150K .... 100% 176K=0.2s 2022-10-19 04:54:15 (1021 KB/s) - ‘v4.1.tar.gz’ saved [158082/158082]