From: Jan Rękorajski Date: Wed, 17 Nov 2021 22:28:13 +0000 (+0100) Subject: - cleanup libsmbldap.so.2 leftover, rel 2 X-Git-Tag: auto/th/samba-4.15.2-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fsamba.git;a=commitdiff_plain;h=b119a99 - cleanup libsmbldap.so.2 leftover, rel 2 --- diff --git a/samba.spec b/samba.spec index 8092d36..32770c8 100644 --- a/samba.spec +++ b/samba.spec @@ -44,7 +44,7 @@ Summary: Samba Active Directory and SMB server Summary(pl.UTF-8): Serwer Samba Active Directory i SMB Name: samba Version: 4.15.2 -Release: 1 +Release: 2 Epoch: 1 License: GPL v3 Group: Networking/Daemons @@ -811,6 +811,12 @@ fi %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig +%triggerpostun libs -- samba-libs < 1:4.15.2-2 +if [ ! -L %{_libdir}/libsmbldap.so.2 ]; + %{__rm} -f %{_libdir}/libsmbldap.so.2 + /sbin/ldconfig +fi + %post -n libsmbclient -p /sbin/ldconfig %postun -n libsmbclient -p /sbin/ldconfig