$ git clone -n https://github.com/xcp-ng-rpms/xs-openssl.git /var/lib/mock/v8.3-u-dml1-5144-6998/root/chroot_tmpdir/scmroot/xs-openssl Cloning into '/var/lib/mock/v8.3-u-dml1-5144-6998/root/chroot_tmpdir/scmroot/xs-openssl'... $ git reset --hard 0744c635803582a7bf12ba68b8cb0ff645a4d586 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 0744c63 dirty but easy way to fix patches for 1.1.1u