The .spec file uses --with-postgresql. It SHOULD read, "--with-pgsql".
*** This bug has been marked as a duplicate of 3369 ***