The dependencies look like this on my machine:
> rpm -q --requires postgis34_16 | grep geos
geos311 >= 3.11.2
libgeos_c.so.1()(64bit)
> rpm -q --requires postgis34_16 | grep gdal
gdal36-libs >= 3.6.3
libgdal.so.32()(64bit)
> rpm -q --requires gdal36-libs | grep geos
geos312
libgeos_c.so.1()(64bit)
So postgis34_16 depends on both GEOS 3.11 and GEOS 3.12.
One dependency is direct, the other is via GDAL.
Yours,
Laurenz Albe