$ git clone -n https://src.fedoraproject.org/rpms/psi4.git /var/lib/mock/f33-build-603511-67254/root/chroot_tmpdir/scmroot/psi4 Cloning into '/var/lib/mock/f33-build-603511-67254/root/chroot_tmpdir/scmroot/psi4'... $ git reset --hard dfb70cdcbca44082fe9ffe0a5f68b246447e4e44 HEAD is now at dfb70cd Can now import psi4 in Python. Also removed rpath.