$ git clone -n https://gitee.com/dengxiewei/libffi.git /var/lib/mock/dist-an8.6-build-102351-45598/root/chroot_tmpdir/scmroot/libffi Cloning into '/var/lib/mock/dist-an8.6-build-102351-45598/root/chroot_tmpdir/scmroot/libffi'... $ git reset --hard 771dcdc3fb47e46dda879bd0dce6158ae81aeb89 HEAD is now at 771dcdc Add doc sub package $ wget -O libffi-3.1.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/libffi-3.1.tar.gz.f5898b29bbfd70502831a212d9249d10 --2022-07-18 19:36:29-- http://build.openanolis.cn/kojifiles/upstream-source/libffi-3.1.tar.gz.f5898b29bbfd70502831a212d9249d10 Resolving build.openanolis.cn (build.openanolis.cn)... 220.181.135.225, 220.181.135.228, 220.181.135.231, ... Connecting to build.openanolis.cn (build.openanolis.cn)|220.181.135.225|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 937214 (915K) [application/x-gzip] Saving to: ‘libffi-3.1.tar.gz’ 0K .......... .......... .......... .......... .......... 5% 1.24M 1s 50K .......... .......... .......... .......... .......... 10% 2.44M 0s 100K .......... .......... .......... .......... .......... 16% 36.0M 0s 150K .......... .......... .......... .......... .......... 21% 397M 0s 200K .......... .......... .......... .......... .......... 27% 2.44M 0s 250K .......... .......... .......... .......... .......... 32% 60.0M 0s 300K .......... .......... .......... .......... .......... 38% 116M 0s 350K .......... .......... .......... .......... .......... 43% 48.5M 0s 400K .......... .......... .......... .......... .......... 49% 2.91M 0s 450K .......... .......... .......... .......... .......... 54% 15.6M 0s 500K .......... .......... .......... .......... .......... 60% 257M 0s 550K .......... .......... .......... .......... .......... 65% 48.7M 0s 600K .......... .......... .......... .......... .......... 71% 49.7M 0s 650K .......... .......... .......... .......... .......... 76% 26.0M 0s 700K .......... .......... .......... .......... .......... 81% 67.3M 0s 750K .......... .......... .......... .......... .......... 87% 40.4M 0s 800K .......... .......... .......... .......... .......... 92% 136M 0s 850K .......... .......... .......... .......... .......... 98% 4.73M 0s 900K .......... ..... 100% 2.66M=0.1s 2022-07-18 19:36:29 (7.14 MB/s) - ‘libffi-3.1.tar.gz’ saved [937214/937214]