$ git clone -n https://gitee.com/huoyuanhao/ncurses.git /var/lib/mock/dist-an7_9-updates-build-120193-45851/root/chroot_tmpdir/scmroot/ncurses Cloning into '/var/lib/mock/dist-an7_9-updates-build-120193-45851/root/chroot_tmpdir/scmroot/ncurses'... $ git reset --hard 046af6174b8c5ecccce8849ef231880eea4da176 HEAD is now at 046af61 Revert GCC_PRINTF and GCC_SCANF to workaround some pkg build fail