$ git clone -n https://gitee.com/src-anolis-os/logrotate.git /var/lib/mock/dist-an8.7-build-269021-64025/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/dist-an8.7-build-269021-64025/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard aa44c8c921a643f336b90f8d1f716778d9526be6 HEAD is now at aa44c8c Fix gcc10 -fno-common compile issue until upstream fixes $ wget -O logrotate-3.14.0.tar.xz http://build.openanolis.cn/kojifiles/upstream-source/logrotate-3.14.0.tar.xz.1c0f6e6e490c4bcac0a1e77ad1310683 --2023-05-26 10:45:37-- http://build.openanolis.cn/kojifiles/upstream-source/logrotate-3.14.0.tar.xz.1c0f6e6e490c4bcac0a1e77ad1310683 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: 155988 (152K) [application/x-xz] Saving to: ‘logrotate-3.14.0.tar.xz’ 0K .......... .......... .......... .......... .......... 32% 6.70M 0s 50K .......... .......... .......... .......... .......... 65% 485M 0s 100K .......... .......... .......... .......... .......... 98% 543M 0s 150K .. 100% 4448G=0.007s 2023-05-26 10:45:37 (19.9 MB/s) - ‘logrotate-3.14.0.tar.xz’ saved [155988/155988]