$ git clone -n https://src.fedoraproject.org/rpms/jhdf5.git /var/lib/mock/f31-build-116182-34535/root/chroot_tmpdir/scmroot/jhdf5 Cloning into '/var/lib/mock/f31-build-116182-34535/root/chroot_tmpdir/scmroot/jhdf5'... $ git reset --hard 29063a27cd714a06c2e022f775c29778181aa869 HEAD is now at 29063a2 Add various workarounds to fix build with new HDF5