From b119a99be17b3e2bea37d6327b1fc94dbf8a643c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Wed, 17 Nov 2021 23:28:13 +0100 Subject: [PATCH] - cleanup libsmbldap.so.2 leftover, rel 2 --- samba.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.43.0