$ git clone -n https://gitee.com/ydjohn/kpatch.git /var/lib/mock/dist-an8.7-build-227036-62190/root/chroot_tmpdir/scmroot/kpatch Cloning into '/var/lib/mock/dist-an8.7-build-227036-62190/root/chroot_tmpdir/scmroot/kpatch'... $ git reset --hard 6656d4fed2262716436ca492963bedd409ecf218 HEAD is now at 6656d4f fix up the .spec describe $ wget -O kpatch-dnf-v0.4.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/kpatch-dnf-v0.4.tar.gz.21d48a6aa2ff4f3afd934f7fced99018 --2023-03-06 12:33:35-- http://build.openanolis.cn/kojifiles/upstream-source/kpatch-dnf-v0.4.tar.gz.21d48a6aa2ff4f3afd934f7fced99018 Resolving build.openanolis.cn (build.openanolis.cn)... 8.141.190.224, 8.141.190.227, 8.141.190.228, ... Connecting to build.openanolis.cn (build.openanolis.cn)|8.141.190.224|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 10327 (10K) [application/x-gzip] Saving to: ‘kpatch-dnf-v0.4.tar.gz’ 0K .......... 100% 125M=0s 2023-03-06 12:33:35 (125 MB/s) - ‘kpatch-dnf-v0.4.tar.gz’ saved [10327/10327] $ wget -O v0.9.4.tar.gz http://build.openanolis.cn/kojifiles/upstream-source/v0.9.4.tar.gz.f38426f46e798bcc8fccdb7ec1c5ae14 --2023-03-06 12:33:37-- http://build.openanolis.cn/kojifiles/upstream-source/v0.9.4.tar.gz.f38426f46e798bcc8fccdb7ec1c5ae14 Resolving build.openanolis.cn (build.openanolis.cn)... 8.141.190.228, 8.141.190.227, 8.141.190.229, ... Connecting to build.openanolis.cn (build.openanolis.cn)|8.141.190.228|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 257885 (252K) [application/x-gzip] Saving to: ‘v0.9.4.tar.gz’ 0K .......... .......... .......... .......... .......... 19% 2.11M 0s 50K .......... .......... .......... .......... .......... 39% 3.02M 0s 100K .......... .......... .......... .......... .......... 59% 1.63M 0s 150K .......... .......... .......... .......... .......... 79% 129M 0s 200K .......... .......... .......... .......... .......... 99% 225M 0s 250K . 100% 3511G=0.07s 2023-03-06 12:33:38 (3.52 MB/s) - ‘v0.9.4.tar.gz’ saved [257885/257885]