[packages/samba4] - samba-tool from common package requires python-samba4 - python-samba4 contains libs, run ldconfig

baggins baggins at pld-linux.org
Wed Oct 30 13:07:25 CET 2013


commit b8edf0fc942dcdd2bb876422cd7b23d90fb7d4cf
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Oct 30 13:06:40 2013 +0100

    - samba-tool from common package requires python-samba4
    - python-samba4 contains libs, run ldconfig in post

 samba4.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/samba4.spec b/samba4.spec
index 5661067..1f1a259 100644
--- a/samba4.spec
+++ b/samba4.spec
@@ -167,6 +167,7 @@ drukowanie w sieci SMB.
 Summary:	Files used by both Samba servers and clients
 Summary(pl.UTF-8):	Pliki używane przez serwer i klientów Samba
 Group:		Networking/Daemons
+Requires:	python-samba4 = %{epoch}:%{version}-%{release}
 %if %{with system_libs}
 Requires:	ldb >= %{ldb_ver}
 #Requires:	ntdb >= %{ntdb_ver}
@@ -893,6 +894,9 @@ fi
 %post common -p /sbin/ldconfig
 %postun common -p /sbin/ldconfig
 
+%post -n python-samba4 -p /sbin/ldconfig
+%postun -n python-samba4 -p /sbin/ldconfig
+
 %post -n samba3-server
 /sbin/chkconfig --add smb
 %service smb restart "Samba3 daemons"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/samba4.git/commitdiff/b8edf0fc942dcdd2bb876422cd7b23d90fb7d4cf



More information about the pld-cvs-commit mailing list