$ git clone -n https://gitee.com/fundawang/libgcrypt.git /var/lib/mock/dist-an23-build-132847-47275/root/chroot_tmpdir/scmroot/libgcrypt Cloning into '/var/lib/mock/dist-an23-build-132847-47275/root/chroot_tmpdir/scmroot/libgcrypt'... $ git reset --hard a8c0d8040a8f3f675c6ac9a241f4904d5a28a0a2 HEAD is now at a8c0d80 Add patch from mageia for removal wrong libdir from libgcrypt-config