diff --git a/cifs-utils.changes b/cifs-utils.changes index 53253f3..94626e3 100644 --- a/cifs-utils.changes +++ b/cifs-utils.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- -Wed Feb 20 21:30:43 UTC 2013 - lmuelle@suse.com +Wed Feb 21 10:34:55 UTC 2013 - lmuelle@suse.com -- Restart or stop the cifs service only if it is installed; (bnc#804822). +- Remove superfluous restart or stop of the cifs service; (bnc#804822). ------------------------------------------------------------------- Wed Jan 23 11:06:31 UTC 2013 - lmuelle@suse.com diff --git a/cifs-utils.spec b/cifs-utils.spec index 44a2fd1..cae48f1 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -113,34 +113,11 @@ install -m 644 -p contrib/request-key.d/cifs.spnego.conf %{buildroot}%{_sysconfd %fdupes ${RPM_BUILD_ROOT} %endif -%preun -if [ -x %{initdir}/cifs ]; then -%if 0%{?suse_version} -%{stop_on_removal cifs} -%else -if [ $1 = 0 ] ; then - test -x /sbin/chkconfig && /sbin/chkconfig --del cifs -fi -%endif -fi - -exit 0 - %post [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup exit 0 %postun -if [ -x %{initdir}/cifs ]; then -%if 0%{?suse_version} -%{restart_on_update cifs} -%{insserv_cleanup} -%else -if [ "$1" -ge "1" ]; then - %{initdir}/cifs restart >/dev/null -fi -%endif -fi [ -x /sbin/mkinitrd_setup ] && mkinitrd_setup exit 0