Can you share a build log of the build in question?
Can the issue be reproduced on Travisci?
Do you have a public CI that reproduces the issue?
Can you try building https://github.com/pgjdbc/pgjdbc/pull/435 in your
environment and check if that works?
Do you have a development guide on "writing Fedora-compatible build
scripts for java libraries"?
Vladimir