[packages/samba] - cleanup libsmbldap.so.2 leftover, rel 2
baggins
baggins at pld-linux.org
Wed Nov 17 23:28:34 CET 2021
commit b119a99be17b3e2bea37d6327b1fc94dbf8a643c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Nov 17 23:28:13 2021 +0100
- 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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/samba.git/commitdiff/b119a99be17b3e2bea37d6327b1fc94dbf8a643c
More information about the pld-cvs-commit
mailing list