--- samba.spec.tmpl 2003-07-24 15:17:24.000000000 -0700 +++ samba.spec.tmpl-gjk 2003-07-24 15:19:21.000000000 -0700 @@ -7,7 +7,7 @@ Source: http://download.samba.org/samba/ftp/samba-%{version}.tar.bz2 Packager: Gerald Carter [Samba-Team] Requires: pam >= 0.72 kernel >= 2.2.1 glibc >= 2.1.2 -Prereq: chkconfig fileutils +Prereq: chkconfig fileutils /sbin/ldconfig Provides: samba = %{version} Obsoletes: samba-common, samba-client, samba-swat BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -293,6 +293,8 @@ ln -sf /lib/libnss_winbind.so /lib/libnss_winbind.so.2 fi +/sbin/ldconfig + %preun if [ $1 = 0 ] ; then /sbin/chkconfig --del smb @@ -364,6 +366,9 @@ if [ -f /etc/xinetd.d/swat ]; then rm -r /etc/xinetd.d/swat fi + +/sbin/ldconfig + fi %files