diff --git a/openldap2.changes b/openldap2.changes index 5cf51fd..ddafb96 100644 --- a/openldap2.changes +++ b/openldap2.changes @@ -37,6 +37,11 @@ Wed Jun 20 10:04:06 UTC 2018 - michael@stroeder.com used before constraint violation to the client 0001-ITS-8866-slapo-unique-to-return-filter-used-in-diagn.patch +------------------------------------------------------------------- +Tue Jun 5 13:24:09 UTC 2018 - varkoly@suse.com + +- bsc#1095816 libldap package does not contain and provide libldap anymore + ------------------------------------------------------------------- Thu May 24 11:59:02 CEST 2018 - kukuk@suse.de diff --git a/openldap2.spec b/openldap2.spec index 64b365b..08ec180 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -442,6 +442,8 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/lib*.la # libldap.so is only for `gcc/ld -lldap`. Make no libldap-2.4.so.2. rm -f "%{buildroot}/%{_libdir}"/libldap-2.4.so* ln -fs libldap_r.so "%{buildroot}/%{_libdir}/libldap.so" +gcc -shared -o "%{buildroot}/%{_libdir}/libldap-2.4.so.2" --no-as-needed \ + -Wl,-soname -Wl,libldap-2.4.so.2 -L "%{buildroot}/%{_libdir}" -lldap_r %pre getent group ldap >/dev/null || /usr/sbin/groupadd -g 70 -o -r ldap