Your package fails to build with the newest openldap-2.6, which was part of a recent wide Fedora change. More information about Fedora OpenLDAP Change is available here: https://fedoraproject.org/wiki/Changes/Openldap_25#How_To_Test. Thank you for your cooperation! Additional Information: If you have an issue with libldap_r depreciation, you can use the following example for fixing your package: https://github.com/389ds/389-ds-base/commit/a3375a08a506c3b72a8a23df5238848017691350
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.