]> git.pld-linux.org Git - packages/samba.git/commitdiff
- handle libsmbconf.so.0 transition from library file to soname symlink auto/th/samba-4.15.9-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Sep 2022 17:59:57 +0000 (19:59 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 25 Sep 2022 17:59:57 +0000 (19:59 +0200)
samba.spec

index 520e5c70cd2bc0622bd8245ae4e88eea9bb105d3..c6641ac48329fdcb87a4bcee24e3dc72c55e96a8 100644 (file)
@@ -815,11 +815,14 @@ fi
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
 
-%triggerpostun libs -- samba-libs < 1:4.15.2-3
+%triggerpostun libs -- samba-libs < 1:4.15.9
+if [ ! -L %{_libdir}/libsmbconf.so.0 ]; then
+       %{__rm} -f %{_libdir}/libsmbconf.so.0
+fi
 if [ ! -L %{_libdir}/libsmbldap.so.2 ]; then
        %{__rm} -f %{_libdir}/libsmbldap.so.2
-       /sbin/ldconfig
 fi
+/sbin/ldconfig
 
 %post  -n libsmbclient -p /sbin/ldconfig
 %postun        -n libsmbclient -p /sbin/ldconfig
This page took 0.233991 seconds and 4 git commands to generate.