petsc: when hdf5 depends on zlib - petsc+hdf5 should also be configur… (#6189)
petsc: when hdf5 depends on zlib - petsc+hdf5 should also be configur… (#6189)

* petsc: when hdf5 depends on zlib - petsc+hdf5 should also be configured with zlib

* petsc: fix dependency [of zlib to be on hdf5 - and not on petsc]

* petsc: use the fact that hdf5/package.py has a hard dependency on zlib [so no need to check for this dependency in code]

recommended-by: da39a3ee5e6b4b0d3255bfef95601890afd80709@davydden

* petsc: change hdf5 dependency to 'hdf5+hl' as petsc configure is looing for -lhdf5_hl

https://github.com/spack/spack/issues/5846

EmreAtes/spack,iulian787/spack,mfherbst/spack,krafczyk/spack,tmerrick1/spack,iulian787/spack,iulian787/spack,iulian787/spack,skosukhin/spack,LLNL/spack,matthiasdiener/spack,krafczyk/spack,tmerrick1/spack,skosukhin/spack,tmerrick1/spack,EmreAtes/spack,matthiasdiener/spack,skosukhin/spack,krafczyk/spack,krafczyk/spack,mfherbst/spack,tmerrick1/spack,matthiasdiener/spack,krafczyk/spack,tmerrick1/spack,iulian787/spack,LLNL/spack,LLNL/spack,mfherbst/spack,mfherbst/spack,matthiasdiener/spack,EmreAtes/spack,mfherbst/spack,EmreAtes/spack,EmreAtes/spack,skosukhin/spack,LLNL/spack,LLNL/spack,skosukhin/spack,matthiasdiener/spack