Description of problem: h5cc includes "-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1" in its flags, which is provided by redhat-rpm-config, but isn't installed when install hdf5-devel. Version-Release number of selected component (if applicable): hdf5-1.10.5-3.fc32 How reproducible: Compile anything with h5cc without having redhat-rpm-config installed.
Actually, I think h5cc shouldn't be specifying any special Fedora build flags that are not absolutely needed. Taking a look...
Hopefully fixed in hdf5-1.10.5-5.fc32. Let me know if you have any issues with that.
Thanks, looks good to me. Just out of curiosity, why didn't you overwrite CPPFLAGS as well? (see https://src.fedoraproject.org/rpms/hdf5/blob/6a442e16217e3eee5ecd670a57297c73cd81cdc5/f/hdf5-wrappers.patch#_83)
It's not set to anything at the moment, and not sure it it might be needed in the future.
hdf5-1.10.5-5.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-1e7bcc29a8
hdf5-1.10.5-5.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.