- bsc#1095816 libldap package does not contain and provide libldap anymore

OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=232
This commit is contained in:
Peter Varkoly 2018-11-20 20:48:05 +00:00 committed by Git OBS Bridge
parent 96719ff7e6
commit 7fcf270ced
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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