$ git clone -n https://github.com/xcp-ng-rpms/xs-openssl.git /var/lib/mock/v8.3-u-dml1-5135-6998/root/chroot_tmpdir/scmroot/xs-openssl Cloning into '/var/lib/mock/v8.3-u-dml1-5135-6998/root/chroot_tmpdir/scmroot/xs-openssl'... $ git reset --hard 07bd3e76179f50fea14e6fd3dfeacbe8d0639cf2 Downloading SOURCES/openssl-1.1.1k-hobbled.tar.xz (7.2 MB) Downloading SOURCES/openssl-1.1.1u.tar.gz (9.9 MB) HEAD is now at 07bd3e7 dirty but easy way to fix patches for 1.1.1u