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

baggins baggins at pld-linux.org
Wed Jan 15 19:44:02 CET 2014


commit d39cef87509ca82ad27c256b6491dafded832f42
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 a8575f6..ab7cb50 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}
@@ -894,6 +895,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/samba.git/commitdiff/8f2607b83208e9672972be90df9adb474f035876



More information about the pld-cvs-commit mailing list