$ git clone -n https://gitee.com/src-anolis-os/rasdaemon /var/lib/mock/dist-an8.6-build-87756-43969/root/chroot_tmpdir/scmroot/rasdaemon Cloning into '/var/lib/mock/dist-an8.6-build-87756-43969/root/chroot_tmpdir/scmroot/rasdaemon'... $ git reset --hard origin/a8 HEAD is now at 385704a use extern in header files when declaring global variables $ wget -O rasdaemon-0.6.1.tar.bz2 http://build.openanolis.cn/kojifiles/upstream-source/rasdaemon-0.6.1.tar.bz2.dc388ad15889efe295184277ad7c2860 --2022-04-29 12:42:39-- http://build.openanolis.cn/kojifiles/upstream-source/rasdaemon-0.6.1.tar.bz2.dc388ad15889efe295184277ad7c2860 Resolving build.openanolis.cn (build.openanolis.cn)... 8.132.50.226, 8.132.50.221, 8.132.50.227, ... Connecting to build.openanolis.cn (build.openanolis.cn)|8.132.50.226|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 363201 (355K) [application/x-bzip2] Saving to: ‘rasdaemon-0.6.1.tar.bz2’ 0K .......... .......... .......... .......... .......... 14% 618K 0s 50K .......... .......... .......... .......... .......... 28% 1.78M 0s 100K .......... .......... .......... .......... .......... 42% 5.55M 0s 150K .......... .......... .......... .......... .......... 56% 192M 0s 200K .......... .......... .......... .......... .......... 70% 1.37M 0s 250K .......... .......... .......... .......... .......... 84% 376M 0s 300K .......... .......... .......... .......... .......... 98% 447M 0s 350K .... 100% 222M=0.2s 2022-04-29 12:42:40 (2.26 MB/s) - ‘rasdaemon-0.6.1.tar.bz2’ saved [363201/363201]