]> git.pld-linux.org Git - packages/samba.git/commitdiff
- cleanup libsmbldap.so.2 leftover, rel 2 auto/th/samba-4.15.2-2
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 17 Nov 2021 22:28:13 +0000 (23:28 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 17 Nov 2021 22:28:13 +0000 (23:28 +0100)
samba.spec

index 8092d36bc2b18221ddf03d480c784fbbff4c8d13..32770c8d5c5e81207938492f2e9698ca8ef08a2b 100644 (file)
@@ -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
 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
 Epoch:         1
 License:       GPL v3
 Group:         Networking/Daemons
@@ -811,6 +811,12 @@ fi
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
 
 %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
 
 %post  -n libsmbclient -p /sbin/ldconfig
 %postun        -n libsmbclient -p /sbin/ldconfig
 
This page took 0.147627 seconds and 4 git commands to generate.