diff --git a/baselibs.conf b/baselibs.conf index ced536f..1ec7f51 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -16,7 +16,7 @@ libsamba-util0 libsamdb0 libsmbclient0 libsmbconf0 -libsmbldap0 +libsmbldap2 libtevent-util0 libwbclient0 samba-winbind diff --git a/samba.spec b/samba.spec index 561d4fa..e265183 100644 --- a/samba.spec +++ b/samba.spec @@ -820,12 +820,12 @@ Source Timestamp: %{SOURCE_TIMESTAMP} Branch: %{BRANCH} -%package -n libsmbldap0 +%package -n libsmbldap2 Summary: Samba LDAP protocol helper function library License: GPL-3.0+ Group: System/Libraries -%description -n libsmbldap0 +%description -n libsmbldap2 libsmbldap contains LDAP protocol helper functions for Samba. Source Timestamp: %{SOURCE_TIMESTAMP} @@ -836,7 +836,7 @@ Branch: %{BRANCH} Summary: Development files for the smbldap library License: GPL-3.0+ Group: Development/Libraries/C and C++ -Requires: libsmbldap0 = %{version} +Requires: libsmbldap2 = %{version} Requires: libtalloc-devel Requires: libtevent-devel Requires: openldap2-devel @@ -1535,8 +1535,8 @@ fi %postun -n libsamdb0 -p /sbin/ldconfig %post -n libsmbconf0 -p /sbin/ldconfig %postun -n libsmbconf0 -p /sbin/ldconfig -%post -n libsmbldap0 -p /sbin/ldconfig -%postun -n libsmbldap0 -p /sbin/ldconfig +%post -n libsmbldap2 -p /sbin/ldconfig +%postun -n libsmbldap2 -p /sbin/ldconfig %post -n libtevent-util0 -p /sbin/ldconfig %postun -n libtevent-util0 -p /sbin/ldconfig %post -n %{libwbclient_name} -p /sbin/ldconfig @@ -2390,7 +2390,7 @@ fi %_includedir/samba-4.0/smbconf.h %_libdir/libsmbconf.so -%files -n libsmbldap0 +%files -n libsmbldap2 %defattr(-,root,root) %_libdir/libsmbldap.so.2*