The spec file for openldap-2.3.27-4 contains: rmdir $RPM_BUILD_ROOT/var/openldap-slurp $RPM_BUILD_ROOT/var/openldap-data This will cause the build to fail unless _localstatedir is set to /var, which is not true on all systems. Although I believe this was the default on FC4, it seems that as of FC5 the default value for this variable is %{_prefix}/var This line should probably read something like: rmdir $RPM_BUILD_ROOT%{_localstatedir}/openldap-slurp $RPM_BUILD_ROOT%{_localstatedir}/openldap-data
openldap-2.3.30-2.fc6 has been pushed for fc6, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.