|
|
@ -176,6 +176,11 @@ if [ -d "/usr/include/openldap24" ]; then
|
|
|
|
RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}"
|
|
|
|
RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# heimdal pkgconfig (Fedora)
|
|
|
|
|
|
|
|
if [ -d "%{_libdir}/heimdal/lib/pkgconfig" ]; then
|
|
|
|
|
|
|
|
PKG_CONFIG_PATH="%{_libdir}/heimdal/lib/pkgconfig:${PKG_CONFIG_PATH}"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
if ! rpm -E %%cmake|grep -q "cd build"; then
|
|
|
|
if ! rpm -E %%cmake|grep -q "cd build"; then
|
|
|
|
%__mkdir_p build
|
|
|
|
%__mkdir_p build
|
|
|
|
cd build
|
|
|
|
cd build
|
|
|
|