While TDB can work fine with Fedora's own postgresql package, the current TDB rpm packages doesn't install on Fedora out of the box. With few changes, it'll become compatible:
The postinstall scriptlet should be extended to try using pg_ctl on system PATH if it cannot find /usr/pgsql-12/bin/pg_config
The RPM package can depend on postgresql and postrgresql-server >= 12 besides postgresql12 & postgresql12-server packages.
(Well, maybe RHEL 7 RPM doesn't support conditional dependencies (e.g. postgresql12 >= 12 || postgresql >= 12). In that case, a separate package/repo can be provided for Fedora.
Note that current TDB packages for RHEL 7 work fine on many recent Fedora versions (I've tried F32 & F33 and IIRC F31). And I'd guess it should work OK on RHEL 8 too. So an RHEL 8 repo should serve both RHEL 8 & recent Fedora versions. Hopefully, RHEL 8 should support conditional dependencies. (Not sure though).
The problem seems to be missing pg_config in the appstream package. Is there a way to get a pg_config version that is in sync with the installed appstream postgres package?
While TDB can work fine with Fedora's own postgresql package, the current TDB rpm packages doesn't install on Fedora out of the box. With few changes, it'll become compatible:
pg_ctl
on system PATH if it cannot find/usr/pgsql-12/bin/pg_config
(Well, maybe RHEL 7 RPM doesn't support conditional dependencies (e.g. postgresql12 >= 12 || postgresql >= 12). In that case, a separate package/repo can be provided for Fedora.
Note that current TDB packages for RHEL 7 work fine on many recent Fedora versions (I've tried F32 & F33 and IIRC F31). And I'd guess it should work OK on RHEL 8 too. So an RHEL 8 repo should serve both RHEL 8 & recent Fedora versions. Hopefully, RHEL 8 should support conditional dependencies. (Not sure though).