$ git clone -n http://gitee.com/src-anolis-os/librhsm.git /var/lib/mock/dist-an8.7-build-266115-64025/root/chroot_tmpdir/scmroot/librhsm Cloning into '/var/lib/mock/dist-an8.7-build-266115-64025/root/chroot_tmpdir/scmroot/librhsm'... warning: redirecting to https://gitee.com/src-anolis-os/librhsm.git/ $ git reset --hard origin/a8 HEAD is now at 73944cb Add doc sub package $ wget -O librhsm-0.0.3.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/librhsm-0.0.3.tar.gz.021a587cee5dc04846e3293280292f78 --2023-05-23 10:52:47-- http://build.openanolis.cn/kojifiles/upstream-source/librhsm-0.0.3.tar.gz.021a587cee5dc04846e3293280292f78 Resolving build.openanolis.cn (build.openanolis.cn)... 172.16.0.137 Connecting to build.openanolis.cn (build.openanolis.cn)|172.16.0.137|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 21117 (21K) [application/x-gzip] Saving to: ‘librhsm-0.0.3.tar.gz’ 0K .......... .......... 100% 16.2M=0.001s 2023-05-23 10:52:47 (16.2 MB/s) - ‘librhsm-0.0.3.tar.gz’ saved [21117/21117]